UVCoordArray.h

Go to the documentation of this file.
00001 //***************************************************************************************
00002 // File supervisor: Crosswalk team
00012 //***************************************************************************************
00013 
00014 #ifndef _UVCOORDARRAY_H
00015 #define _UVCOORDARRAY_H
00016 
00017 #include "BaseShape.h"
00018 
00022 class XSIEXPORT CSLUVCoordArray
00023 {
00024 public:
00025     CSLUVCoordArray(CdotXSITemplate *in_pTemplate, SI_Int in_nFirstIndex, CSLBaseShape::EShapeType in_Type);
00026     virtual ~CSLUVCoordArray();
00027 
00031     SI_Int                                  GetUVCoordCount();
00032 
00036     CSLBaseShape::CSLVector2DArray*         GetUVCoordList();
00037 
00041     CSIBCVector2D*                          GetUVCoordListPtr();
00042 
00046     CSLBaseShape::CSLIndexedVector2DArray*  GetIndexedUVCoordList();
00047 
00051     SLIndexedVector2D*                      GetIndexedUVCoordListPtr();
00052 
00056     SI_Char*                                GetTextureProjection();
00057 
00061     SI_Void                                 SetTextureProjection(SI_Char* in_szValue);
00062 
00066     SI_Error                                Synchronize();
00067 
00068 private:
00069     CSLIntProxy                             m_NbUVCoords;
00070     CSLStringProxy                          m_TextureProjection;
00071     CSLBaseShape::CSLVector2DArray*         m_pUVCoords;
00072     CSLBaseShape::CSLIndexedVector2DArray*  m_pIndexedUVCoords;
00073 
00074     void *m_pReserved;  // reserved for future extension
00075     CSIBCVector2D*                                  GetUVCoords();
00076 };
00077 
00078 #endif