XSICameraFocalLength.h

Go to the documentation of this file.
00001 //***************************************************************************************
00002 // File supervisor: Crosswalk team
00012 //***************************************************************************************
00013 
00014 #ifndef _XSICAMERAFOCALLENGTH_H
00015 #define _XSICAMERAFOCALLENGTH_H
00016 
00017 #include "Template.h"
00018 
00024 class XSIEXPORT CSLXSICameraFocalLength
00025     : public CSLTemplate
00026 {
00027 public:
00028 
00035     CSLXSICameraFocalLength(CSLScene* in_pScene, CSLModel *in_pModel, CdotXSITemplate* in_pTemplate);
00036 
00039     virtual ~CSLXSICameraFocalLength();
00040 
00044     SI_Float GetFocalLength();
00045 
00049     SI_Void SetFocalLength(SI_Float in_lValue);
00050 
00051 
00055     virtual ETemplateType           Type() { return XSI_CAMERA_FOCALLENGTH; }
00056 
00060     virtual SI_Error Synchronize();
00061 
00066     virtual CSLAnimatableType* ParameterFromName(SI_Char *in_szName);
00067 
00073     virtual CSLAnimatableType* ParameterFromType(EFCurveType in_Type, SI_Char *in_szName);
00074 
00079     virtual const SI_Char* GetParameterName(CSLAnimatableType* in_pParameter);
00080 
00081     CSLFloatProxy*  GetFocalLengthProxy() { return &m_FocalLength; };
00082 
00083 private:
00084 
00085     CSLFloatProxy   m_FocalLength;
00086 
00087     void *m_pReserved;  // reserved for future extension
00088 };
00089 
00090 #endif