00001 //*************************************************************************************** 00002 // 00003 // File supervisor: Crosswalk team 00004 // 00005 // Copyright 2008 Autodesk, Inc. All rights reserved. 00006 // Use of this software is subject to the terms of the Autodesk license agreement 00007 // provided at the time of installation or download, or which otherwise accompanies 00008 // this software in either electronic or hard copy form. 00009 // 00010 //*************************************************************************************** 00011 00012 #ifndef _IMAGECLIP_H 00013 #define _IMAGECLIP_H 00014 00015 #include "Template.h" 00016 00017 // Forward declaration 00018 class CSLTexture2D; 00019 00023 class CSLImageClip 00024 : public CSLTemplate 00025 { 00026 00027 //@START_USER2 00028 //@END_USER2 00029 00030 // Members 00031 private: 00032 CSLTexture2D* m_pReference; 00033 CSLFloatProxy* m_pStartTime; 00034 CSLFloatProxy* m_pEndTime; 00035 CSLFloatProxy* m_pRate; 00036 CSLIntProxy* m_pRepeatType; 00037 CSIBCArray<CSLStringProxy *> m_pImages; 00038 00039 protected: 00040 00041 public: 00042 00043 // Methods 00044 private: 00045 00046 protected: 00047 00048 public: 00049 CSLImageClip(CSLScene* in_pScene, CSLModel *in_pModel, CdotXSITemplate* in_pTemplate); 00050 virtual ~CSLImageClip(); 00051 CSLStringProxy* AddImage(); 00052 CSLFloatProxy* EndTime() const; 00053 CSLStringProxy** Images() const; 00054 SI_Int* NbImages() const; 00055 CSLFloatProxy* Rate() const; 00056 CSLTexture2D* Reference() const; 00057 SI_Error RemoveImage(); 00058 CSLIntProxy* RepeatType() const; 00059 CSLFloatProxy* StartTime() const; 00060 }; 00061 00062 #endif 00063 00064 00065 #ifdef CB_INLINES 00066 #ifndef _IMAGECLIP_H_INLINES 00067 #define _IMAGECLIP_H_INLINES 00068 00069 //@START_USER3 00070 //@END_USER3 00071 00072 #endif 00073 #endif