00001 //*************************************************************************************** 00002 // File supervisor: Crosswalk team 00012 //*************************************************************************************** 00013 00014 #ifndef _IMAGECLIP_H 00015 #define _IMAGECLIP_H 00016 00017 #include "Template.h" 00018 00019 // Forward declaration 00020 class CSLTexture2D; 00021 00027 class CSLImageClip 00028 : public CSLTemplate 00029 { 00030 00031 //@START_USER2 00032 //@END_USER2 00033 00034 // Members 00035 private: 00036 CSLTexture2D* m_pReference; 00037 CSLFloatProxy* m_pStartTime; 00038 CSLFloatProxy* m_pEndTime; 00039 CSLFloatProxy* m_pRate; 00040 CSLIntProxy* m_pRepeatType; 00041 CSIBCArray<CSLStringProxy *> m_pImages; 00042 00043 protected: 00044 00045 public: 00046 00047 // Methods 00048 private: 00049 00050 protected: 00051 00052 public: 00053 CSLImageClip(CSLScene* in_pScene, CSLModel *in_pModel, CdotXSITemplate* in_pTemplate); 00054 virtual ~CSLImageClip(); 00055 CSLStringProxy* AddImage(); 00056 CSLFloatProxy* EndTime() const; 00057 CSLStringProxy** Images() const; 00058 SI_Int* NbImages() const; 00059 CSLFloatProxy* Rate() const; 00060 CSLTexture2D* Reference() const; 00061 SI_Error RemoveImage(); 00062 CSLIntProxy* RepeatType() const; 00063 CSLFloatProxy* StartTime() const; 00064 }; 00065 00066 #endif 00067 00068 00069 #ifdef CB_INLINES 00070 #ifndef _IMAGECLIP_H_INLINES 00071 #define _IMAGECLIP_H_INLINES 00072 00073 //@START_USER3 00074 //@END_USER3 00075 00076 #endif 00077 #endif