00001 /* 00002 * PROPRIETARY INFORMATION. This software is proprietary to 00003 * Side Effects Software Inc., and is not to be reproduced, 00004 * transmitted, or disclosed in any way without written permission. 00005 * 00006 * Produced by: 00007 * Side Effects Software Inc. 00008 * 477 Richmond Street West, Suite 1001 00009 * Toronto, Ontario 00010 * Canada M5V 3E7 00011 * 416-504-9876 00012 */ 00013 00014 #ifndef __SIM_GuideStatic_h__ 00015 #define __SIM_GuideStatic_h__ 00016 00017 #include "SIM_API.h" 00018 #include <UT/UT_SymbolTable.h> 00019 #include "SIM_RootDataId.h" 00020 #include "SIM_Guide.h" 00021 00022 /// This SIM_Guide subclass has one piece of geometry for all data of 00023 /// a given type. The geometry is built in the normal way the first time 00024 /// we are asked for geometry for each data type. The transform is 00025 /// recalculated for each request. 00026 class SIM_API SIM_GuideStatic : public SIM_Guide 00027 { 00028 public: 00029 /// Constructor which takes a const SIM_Data as our owner. 00030 explicit SIM_GuideStatic(const SIM_Data *owner, 00031 bool displayonly); 00032 /// Destructor for this class. 00033 virtual ~SIM_GuideStatic(); 00034 00035 protected: 00036 virtual GU_ConstDetailHandle getGuideGeometrySubclass( 00037 const SIM_RootData &root, 00038 UT_DMatrix4 &xform, 00039 const SIM_Time &t); 00040 virtual void clearSubclass(); 00041 00042 private: 00043 SIM_RootDataId myCachedObjectId; 00044 bool myDisplayOnce; 00045 static UT_SymbolTable theDetails; 00046 }; 00047 00048 #endif 00049
1.5.9