xsi_imageclip2.h

Go to the documentation of this file.
00001 //*****************************************************************************
00011 //*****************************************************************************
00012 
00013 #if (_MSC_VER > 1000) || defined(SGI_COMPILER)
00014 #pragma once
00015 #endif
00016 
00017 #ifndef __XSIIMAGECLIP2_H__
00018 #define __XSIIMAGECLIP2_H__
00019 
00020 #include <xsi_clip.h>
00021 
00022 namespace XSI {
00023 
00024 class Image ;
00025 
00026 //*****************************************************************************
00070 //*****************************************************************************
00071 class SICPPSDKDECL ImageClip2 : public Clip
00072 {
00073 public:
00075     ImageClip2();
00076 
00078     ~ImageClip2();
00079 
00083     ImageClip2(const CRef& in_ref);
00084 
00088     ImageClip2(const ImageClip2& in_obj);
00089 
00094     bool IsA( siClassID in_ClassID) const;
00095 
00099     siClassID GetClassID() const;
00100 
00106     ImageClip2& operator=(const ImageClip2& in_obj);
00107 
00113     ImageClip2& operator=(const CRef& in_ref);
00114 
00126     Image GetImage( double in_dblFrame = DBL_MAX ) ;
00127 
00142     Image GetScaledDownImage( LONG in_Ratio, double in_dblFrame = DBL_MAX ) ;
00143 
00148     CString GetFileName() ;
00149 
00154     CRefArray GetShaderParameterTargets() const;
00155 
00156     private:
00157     ImageClip2 * operator&() const;
00158     ImageClip2 * operator&();
00159 };
00160 
00161 };
00162 
00163 #endif // __XSIIMAGECLIP2_H__