00001 //============================================================================= 00002 // 00003 // Types 00004 // 00005 //============================================================================= 00006 00013 #ifndef PLANEOBJECT_HH 00014 #define PLANEOBJECT_HH 00015 00016 00017 00018 //== INCLUDES ================================================================= 00019 00020 #include <OpenFlipper/common/BaseObjectData.hh> 00021 00022 #include <OpenFlipper/common/GlobalDefines.hh> 00023 00024 #include "PlaneTypes.hh" 00025 00026 //== TYPEDEFS ================================================================= 00027 00028 // //== CLASS DEFINITION ========================================================= 00029 00030 class DLLEXPORT PlaneObject : public BaseObjectData { 00031 00032 public: 00034 PlaneObject(SeparatorNode* _rootNode); 00035 00040 PlaneObject(const PlaneObject& _object); 00041 00043 virtual ~PlaneObject(); 00044 00046 virtual void cleanup(); 00047 00051 BaseObject* copy(); 00052 00053 00054 protected: 00056 virtual void init(PlaneNode* _plane = 0); 00057 00058 //=========================================================================== 00061 //=========================================================================== 00062 public: 00063 00065 void setName( QString _name ); 00066 00067 //=========================================================================== 00070 //=========================================================================== 00071 00072 public: 00074 PlaneNode* planeNode(); 00075 00076 private: 00077 PlaneNode* planeNode_; 00078 00081 //=========================================================================== 00084 //=========================================================================== 00085 public: 00087 QString getObjectinfo(); 00088 00092 //=========================================================================== 00095 //=========================================================================== 00096 public: 00098 bool picked( uint _node_idx ); 00099 00101 void enablePicking( bool _enable ); 00102 00104 bool pickingEnabled(); 00105 00108 }; 00109 00110 //============================================================================= 00111 #endif // PLANEOBJECT_HH defined 00112 //=============================================================================