MeVisLabToolboxReference
|
00001 // **InsertLicense** code 00002 //---------------------------------------------------------------------------------- 00004 00009 //---------------------------------------------------------------------------------- 00010 00011 #ifndef _SO_CSOTRANSFORMELEMENT_ 00012 #define _SO_CSOTRANSFORMELEMENT_ 00013 00014 #include "SoCSOSystem.h" 00015 #include <Inventor/elements/SoReplacedElement.h> 00016 00017 class SoCSOTransform; 00018 00019 class SOCSO_EXPORT SoCSOTransformElement : public SoReplacedElement 00020 { 00021 SO_ELEMENT_HEADER(SoCSOTransformElement); 00022 00023 public: 00025 virtual void init(SoState *state); 00026 00028 static void set(SoState *state, SoNode *node, SoCSOTransform *csoTransform); 00029 00032 static SoCSOTransform* get(SoState *state); 00033 00035 static const SoCSOTransformElement * getInstance(SoState *state); 00036 00038 virtual SbBool matches(const SoElement *elt) const; 00039 00042 virtual SoElement *copyMatchInfo() const; 00043 00044 SoINTERNAL public: 00046 static void initClass(); 00047 00048 protected: 00050 SoCSOTransform* _pTransform; 00051 00053 virtual ~SoCSOTransformElement() {} 00054 00055 }; 00056 00057 #endif // _SO_CSOTRANSFORMELEMENT_