Ignore:
Timestamp:
04/06/06 20:48:19 (19 years ago)
Author:
igarcia
Message:
 
Location:
GTP/trunk/Lib/Illum/IBRBillboardCloudTrees/OGRE/include/IMG
Files:
2 added
10 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Illum/IBRBillboardCloudTrees/OGRE/include/IMG/IMG.h

    r721 r731  
    22#define _IMG_H 
    33 
     4#include <IMGTexture.h> 
     5#include <IMGTextureAtlas.h> 
     6 
    47#endif 
  • GTP/trunk/Lib/Illum/IBRBillboardCloudTrees/OGRE/include/IMG/IMGBBox.h

    r721 r731  
    2525//      this class encaplusalte the ogre::AxisAlignedBox 
    2626//* 
    27 class BBox: public Ogre::AxisAlignedBox { 
     27class _IMGExport BBox: public Ogre::AxisAlignedBox { 
    2828  public: 
    2929    BBox(); 
     
    3131        ~BBox(); 
    3232 
    33     void StartBoundingBox(); 
     33    void initialize(); 
    3434 
    35         Ogre::Vector3 GetMinimum(); 
     35        Ogre::Vector3 getMinimum(); 
    3636 
    37         Ogre::Vector3 GetMaximum(); 
     37        Ogre::Vector3 getMaximum(); 
    3838 
    39     void AddBoundingVector3(float x, float y, float z); 
     39    void addBoundingVector3(float x, float y, float z); 
    4040 
    41     void Print(); 
     41    void print(); 
    4242 
    43         Ogre::Vector3 GetCorner(int corner) const; 
     43        Ogre::Vector3 getCorner(int corner) const; 
    4444 
    4545    bool intersects(Ogre::Vector3 v); 
  • GTP/trunk/Lib/Illum/IBRBillboardCloudTrees/OGRE/include/IMG/IMGBox2d.h

    r721 r731  
    77 
    88//* this class represents a 2d bound box for a texture  
    9 class Box2d  
     9class _IMGExport Box2d  
    1010{ 
    1111        public: 
     
    2222                } 
    2323 
    24                 Ogre::Vector2 GetMinimum(); 
     24                Ogre::Vector2 getMinimum(); 
    2525 
    26                 Ogre::Vector2 GetMaximum();  
     26                Ogre::Vector2 getMaximum();  
    2727 
    28                 void SetBoundBox(float x, float y, float X, float Y);  
     28                void setBoundBox(float x, float y, float X, float Y);  
    2929 
    30                 void AddBoundingVector3(float x, float y); 
     30                void addBoundingVector3(float x, float y); 
    3131 
    32                 void Print();  
     32                void print();  
    3333 
    34                 Ogre::Vector2 GetCorner(int corner) const; 
     34                Ogre::Vector2 getCorner(int corner) const; 
    3535 
    36                 bool In(int w, int h);  
     36                bool in(int w, int h);  
    3737 
    38                 bool FitPerfect(int w, int h); 
     38                bool fitPerfect(int w, int h); 
    3939 
    4040        protected: 
  • GTP/trunk/Lib/Illum/IBRBillboardCloudTrees/OGRE/include/IMG/IMGBsp.h

    r721 r731  
    77namespace IMG { 
    88 
    9 class Bsp { 
     9class _IMGExport Bsp { 
    1010  public: 
    1111    Bsp(); 
     
    1313    virtual ~Bsp(); 
    1414 
    15     void SetRoot(NodeBspPtr node); 
     15    void setRoot(NodeBspPtr node); 
    1616 
    17     void Print(); 
     17    void print(); 
    1818 
    19     void PrintLeaf();  
     19    void printLeaf();  
    2020 
    21     NodeBspPtr Insert(int w, int h, int idcluster); 
     21    NodeBspPtr insert(int w, int h, int idcluster); 
    2222 
    23     NodeBspPtr Get(int i); 
     23    NodeBspPtr get(int i); 
    2424 
    2525  protected: 
     
    3030    int counttotal; 
    3131 
    32     void Print(NodeBspPtr node); 
     32    void print(NodeBspPtr node); 
    3333 
    34     void PrintLeaf(NodeBspPtr node); 
     34    void printLeaf(NodeBspPtr node); 
    3535 
    3636}; 
  • GTP/trunk/Lib/Illum/IBRBillboardCloudTrees/OGRE/include/IMG/IMGCluster.h

    r721 r731  
    1111{ 
    1212 
    13 class Cluster  
     13class _IMGExport Cluster  
    1414{ 
    1515  public: 
    1616    Cluster(); 
     17 
     18    virtual ~Cluster(); 
    1719 
    1820    Cluster & operator =(const Cluster & p); 
     
    2022    Cluster(const Cluster & p); 
    2123 
    22         void SetNormal(Ogre::Vector3* n); 
     24        void setNormal(Ogre::Vector3* n); 
    2325 
    24         Ogre::Vector3* GetNormal(); 
     26        Ogre::Vector3* getNormal(); 
    2527 
    26     BBox* GetBound(); 
     28    BBox* getBound(); 
    2729 
    28     Box2d* GetBspNodeBound(); 
     30    Box2d* getBspNodeBound(); 
    2931 
    30     void SetBspNodeBound(Box2d* box); 
     32    void setBspNodeBound(Box2d* box); 
    3133 
    32     void Print(); 
     34    void print(); 
    3335 
    3436    //* return the dominant normal axis, for calculate the 2d projection 
    35     int AxisProjected(); 
     37    int axisProjected(); 
    3638 
    37     int GetId() const; 
     39    int getId() const; 
    3840 
    39     void SetId(int id_); 
     41    void setId(int id_); 
    4042 
    41         std::vector<Ogre::Vector3>* GetVector3sVector(); 
     43        std::vector<Ogre::Vector3>* getVector3sVector(); 
    4244 
    43         Ogre::Vector3* GetVector3sTex() const; 
     45        Ogre::Vector3* getVector3sTex() const; 
    4446 
    45     void Finish(); 
     47    void finish(); 
    4648 
    47         void SetPlane(Ogre::Vector3* normal, Ogre::Vector3 * point); 
     49        void setPlane(Ogre::Vector3* normal, Ogre::Vector3 * point); 
    4850 
    49     Plane3 * GetPlane(); 
     51    Plane3 * getPlane(); 
    5052 
    5153    //* Return the increment in U (lumel increment in x). For patchs calculation  
    52         Ogre::Vector3 GetIncU(); 
     54        Ogre::Vector3 getIncU(); 
    5355 
    5456    //* Return the increment in V (lumel increment in x). For patchs calculation  
    55         Ogre::Vector3 GetIncV(); 
     57        Ogre::Vector3 getIncV(); 
    5658 
    5759    //* Return the origin. For patchs calculation  
    58         Ogre::Vector3 GetOrigin(); 
     60        Ogre::Vector3 getOrigin(); 
    5961 
    60         bool PointIn(Ogre::Vector3 & point); 
     62        bool pointIn(Ogre::Vector3 & point); 
    6163 
    6264        Ogre::Real *pointeru[4];  
     
    9395    Plane3 plane; 
    9496 
    95   public: 
    96     virtual ~Cluster(); 
    97  
    9897}; 
    9998 
  • GTP/trunk/Lib/Illum/IBRBillboardCloudTrees/OGRE/include/IMG/IMGCluster2d.h

    r721 r731  
    88class Cluster; 
    99 
    10 class Cluster2d { 
     10class _IMGExport Cluster2d { 
    1111  public: 
    1212    Cluster2d(); 
     
    1717    //                   
    1818    //    
    19     int Create2d(Cluster * cluster, int type, int type_vertexs); 
     19    int create2d(Cluster * cluster, int type, int type_vertexs); 
    2020 
    21     void Print(); 
     21    void print(); 
    2222 
    23         Ogre::Vector2 * GetVector3s(); 
     23        Ogre::Vector2 * getVector3s(); 
    2424 
    25         std::vector<Ogre::Vector2> * GetVector3sVector(); 
     25        std::vector<Ogre::Vector2> * getVector3sVector(); 
    2626 
    27         Ogre::Vector3 * GetNormal(); 
     27        Ogre::Vector3 * getNormal(); 
    2828 
    2929  protected: 
  • GTP/trunk/Lib/Illum/IBRBillboardCloudTrees/OGRE/include/IMG/IMGClusterList.h

    r721 r731  
    77namespace IMG { 
    88 
    9 class ClusterList  
     9class _IMGExport ClusterList  
    1010{ 
    1111  public: 
     
    1414    virtual ~ClusterList(); 
    1515     
    16     std::vector<Cluster> * GetList(); 
     16    std::vector<Cluster> * getList(); 
    1717 
    1818    //return the pointer to the list of voxels 
    19     unsigned int GetSize() const; 
     19    unsigned int getSize() const; 
    2020 
    2121    //return the number of elements of list 
    22     Cluster * Get(unsigned int i); 
     22    Cluster * get(unsigned int i); 
    2323 
    24     bool Insert(Cluster * p); 
     24    bool insert(Cluster * p); 
    2525 
    26     void Print(); 
     26    void print(); 
    2727 
    2828 
  • GTP/trunk/Lib/Illum/IBRBillboardCloudTrees/OGRE/include/IMG/IMGNodeBsp.h

    r721 r731  
    88 
    99// Fordward declaration... 
    10 class NodeBsp; 
     10class _IMGExport NodeBsp; 
    1111 
    1212typedef ::boost::intrusive_ptr<NodeBsp> NodeBspPtr; 
     
    2525    virtual ~NodeBsp(); 
    2626 
    27     Box2d* GetBound(); 
     27    Box2d* getBound(); 
    2828 
    29     void SetBound(Box2d *box); 
     29    void setBound(Box2d *box); 
    3030 
    31     NodeBspPtr GetChild(int i); 
     31    NodeBspPtr getChild(int i); 
    3232 
    33     void SetId(int id_); 
     33    void setId(int id_); 
    3434 
    35     unsigned int GetId() const; 
     35    unsigned int getId() const; 
    3636 
    37     void SetChild(NodeBspPtr node, int i); 
     37    void setChild(NodeBspPtr node, int i); 
    3838 
    39     void Print(); 
     39    void print(); 
    4040 
    41     NodeBspPtr Insert(int w, int h); 
     41    NodeBspPtr insert(int w, int h); 
    4242 
    43     NodeBspPtr Get(NodeBspPtr node, int i); 
     43    NodeBspPtr get(NodeBspPtr node, int i); 
    4444 
    4545  protected: 
  • GTP/trunk/Lib/Illum/IBRBillboardCloudTrees/OGRE/include/IMG/IMGPlane3.h

    r721 r731  
    66namespace IMG { 
    77 
    8 class Plane3: public Ogre::Plane { 
     8class _IMGExport Plane3: public Ogre::Plane { 
    99  public: 
    1010    //a plane's interface 
     
    1515    Plane3 & operator =(const Plane3 & p); 
    1616 
    17         Ogre::Vector3 * GetNormal(); 
     17        Ogre::Vector3 * getNormal(); 
    1818 
    19     void SetNormal(float x, float y, float z); 
     19    void setNormal(float x, float y, float z); 
    2020 
    21     void SetDistance(float dist); 
     21    void setDistance(float dist); 
    2222 
    23     float GetDistance() const; 
     23    float getDistance() const; 
    2424 
    25     void Print(); 
     25    void print(); 
    2626 
    2727}; 
  • GTP/trunk/Lib/Illum/IBRBillboardCloudTrees/OGRE/include/IMG/IMGPrerequisites.h

    r721 r731  
    88#include <OgrePlane.h> 
    99#include <OgreAxisAlignedBox.h>  
     10#include <OgreHardwarePixelBuffer.h> 
     11#include <OgreImageCodec.h> 
     12 
     13#include <imdebug.h> 
    1014 
    1115#include <boost/smart_ptr.hpp> 
    1216 
     17#       if defined( IMG_LIB_BUILD ) 
     18#               define _IMGExport __declspec( dllexport )                        
     19#       else 
     20#               define _IMGExport 
     21#       endif 
     22 
    1323#endif 
Note: See TracChangeset for help on using the changeset viewer.