00001 #ifndef X3DTK_X3DACTOR_H 00002 #define X3DTK_X3DACTOR_H 00003 00004 #include "X3DTypes.h" 00005 00006 namespace X3DTK { 00007 00013 class X3DActor 00014 { 00015 public: 00017 X3DActor(); 00019 virtual ~X3DActor() = 0; 00020 // Deletes the components when the actor is deleted. 00021 void setAutoDeleteComponents(bool value); 00024 virtual void reset() = 0; 00025 00026 protected: 00029 bool autoDelete; 00030 }; 00031 00032 } 00033 00034 #endif