ImageClip.h

00001 /******************************************************************************\
00002 *
00003 * File:          ImageClip.h
00004 * Creation date: January 15, 2002 17:31
00005 * Author:        ClassBuilder
00006 *                XXXX
00007 * Purpose:       Declaration of class 'ImageClip'
00008 *
00009 * Modifications: @INSERT_MODIFICATIONS(* )
00010 * January 23, 2002 10:59 Frederic O'Reilly
00011 *     Added method 'StartTime'
00012 *     Added method 'RepeatType'
00013 *     Added method 'RemoveImage'
00014 *     Added method 'Reference'
00015 *     Added method 'Rate'
00016 *     Added method 'NbImages'
00017 *     Added method 'Images'
00018 *     Added method 'EndTime'
00019 *     Added method 'AddImage'
00020 *     Added method 'CSLImageClip'
00021 *     Added member 'm_pImages'
00022 *     Added member 'm_pRepeatType'
00023 *     Added member 'm_pRate'
00024 *     Added member 'm_pEndTime'
00025 *     Added member 'm_pStartTime'
00026 *     Added member 'm_pReference'
00027 *     Updated inheritance 'CSLTemplate'
00028 *
00029 * Copyright 2002, XXXXX
00030 * All rights are reserved. Reproduction in whole or part is prohibited
00031 * without the written consent of the copyright owner.
00032 *
00033 \******************************************************************************/
00034 #ifndef _IMAGECLIP_H
00035 #define _IMAGECLIP_H
00036 
00037 #include "Template.h"
00038 
00039 // Forward declaration
00040 class CSLTexture2D;
00041 
00043 class CSLImageClip
00044     : public CSLTemplate
00045 {
00046 
00047 //@START_USER2
00048 //@END_USER2
00049 
00050 // Members
00051 private:
00052     CSLTexture2D* m_pReference;
00053     CSLFloatProxy* m_pStartTime;
00054     CSLFloatProxy* m_pEndTime;
00055     CSLFloatProxy* m_pRate;
00056     CSLIntProxy* m_pRepeatType;
00057     CSIBCArray<CSLStringProxy *> m_pImages;
00058 
00059 protected:
00060 
00061 public:
00062 
00063 // Methods
00064 private:
00065 
00066 protected:
00067 
00068 public:
00069     CSLImageClip(CSLScene* in_pScene, CSLModel *in_pModel, CdotXSITemplate* in_pTemplate);
00070     virtual ~CSLImageClip();
00071     CSLStringProxy* AddImage();
00072     CSLFloatProxy* EndTime() const;
00073     CSLStringProxy** Images() const;
00074     SI_Int* NbImages() const;
00075     CSLFloatProxy* Rate() const;
00076     CSLTexture2D* Reference() const;
00077     SI_Error RemoveImage();
00078     CSLIntProxy* RepeatType() const;
00079     CSLFloatProxy* StartTime() const;
00080 };
00081 
00082 #endif
00083 
00084 
00085 #ifdef CB_INLINES
00086 #ifndef _IMAGECLIP_H_INLINES
00087 #define _IMAGECLIP_H_INLINES
00088 
00089 //@START_USER3
00090 //@END_USER3
00091 
00092 #endif
00093 #endif