]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsKernelEditorGraphic/GObjectModel.h
Implemented deleting of boxes from the scene....
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsKernelEditorGraphic / GObjectModel.h
index 1145843392254225e8ce7e75db96b086f076d852..a6300386d4986ac813f46198ed41624775a82abb 100644 (file)
@@ -71,16 +71,28 @@ namespace bbtk
                
                void getInicPoint(double& x, double& y, double& z);
                void getFinalPoint(double& x, double& y, double& z);
-               void setInicPoint(double& x, double& y, double& z);
-               void setFinalPoint(double& x, double& y, double& z);
-               void setState(int state);
-               int getState();
+               void getCenter(double& x, double& y, double& z);
+               virtual void setInicPoint(double& x, double& y, double& z);
+               virtual void setFinalPoint(double& x, double& y, double& z);
+               
+               virtual void move(double xx,double yy,double zz);
 
                virtual bool isPointInside(double x,double y, double z);
                virtual void updateBlackBox(BlackBoxDescriptor::Pointer descriptor);
 
                int getGObjectType();
                void setGObjectType(int obtype);
+
+               std::string getBBTKType();
+               void setBBTKType(std::string obtype);
+               
+               std::string getBBTKName();
+               void setBBTKName(std::string obname);
+
+               int getObjectId();
+               void setObjectId(int id);
+
+               virtual std::string getStatusText();
                
        private:
 
@@ -99,8 +111,11 @@ namespace bbtk
                double _yFin;
                double _zFin;
 
-               int  _state;
                int  _gObjectType;
+               int _objectId;
+
+               std::string _bbtkType;
+               std::string _bbtkName;
 
                //Protected methods