Visibility.h

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 _VISIBILITY_H
00013 #define _VISIBILITY_H
00014 
00015 #include "Template.h"
00016 
00020 class XSIEXPORT CSLVisibility
00021     : public CSLTemplate
00022 {
00023 public:
00024     CSLVisibility(CSLScene* in_pScene, CSLModel *in_pModel, CdotXSITemplate* in_pTemplate);
00025     virtual ~CSLVisibility();
00026 
00030     SI_Bool GetVisibility();
00031 
00036     SI_Void SetVisibility(SI_Bool in_rValue);
00037 
00038     CSLBoolProxy*   GetVisibilityProxy() { return &m_Visiblility;};
00039 
00040     virtual CSLAnimatableType* ParameterFromName(SI_Char *in_szName);
00041     virtual CSLAnimatableType* ParameterFromType(EFCurveType in_Type, SI_Char *in_szParameterName);
00042     virtual ETemplateType Type();
00043 
00044 private:
00045     CSLBoolProxy m_Visiblility;
00046 
00047     void *m_pReserved;  // reserved for future extension
00048 };
00049 
00050 #endif