XSIImageLibrary.h

Go to the documentation of this file.
00001 //***************************************************************************************
00002 // File supervisor: Crosswalk team
00012 //***************************************************************************************
00013 
00014 #ifndef _XSIIMAGELIBRARY_H
00015 #define _XSIIMAGELIBRARY_H
00016 
00017 #include "Template.h"
00018 
00019 class CSLImage;
00020 
00027 class XSIEXPORT CSLImageLibrary
00028     : public CSLTemplate
00029 {
00030 public:
00036     CSLImageLibrary(CSLScene* in_pScene, CSLModel *in_pModel, CdotXSITemplate* in_pTemplate);
00037 
00039     virtual ~CSLImageLibrary();
00040 
00044     ETemplateType Type(){ return XSI_IMAGE_LIBRARY; }
00045 
00049     SI_Error Synchronize();
00050 
00051     virtual CSLAnimatableType*      ParameterFromName(SI_Char *in_szName);
00052 
00054     // Image Functionality /////////////////////////////////////////////////
00056 
00060     CSLImage* AddImage();
00061 
00066     SI_Error RemoveImage( SI_Int in_nIndex );
00067 
00072     SI_Error RemoveImage( CSLImage* in_pToRemove );
00073 
00077     SI_Error ClearImages();
00078 
00083     CSLImage* ConnectImage( CSLImage* in_pToConnect );
00084 
00088     CSLImage** GetImageList();
00089 
00093     SI_Int GetImageCount();
00094 
00099     CSLImage* FindImage( SI_Char* in_szImageName );
00100 
00101 private:
00102     CSIBCArray<CSLImage*> m_Images;
00103 
00104     SI_Void *m_pReserved;
00105 };
00106 
00107 #endif