]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsKernelEditorGraphic/GObjectModel.h
Updated Version with the moving of the objects updated and the background doesn't...
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsKernelEditorGraphic / GObjectModel.h
index b610386018001a98279f611c60d20d0e0fb226a2..5c3deea3dd6361793a1af444f758c4920d3522a5 100644 (file)
@@ -71,10 +71,10 @@ namespace bbtk
                
                void getInicPoint(double& x, double& y, double& z);
                void getFinalPoint(double& x, double& y, double& z);
+               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);
-               void setState(int state);
-               int getState();
+               
                virtual void move(double xx,double yy,double zz);
 
                virtual bool isPointInside(double x,double y, double z);
@@ -82,7 +82,12 @@ namespace bbtk
 
                int getGObjectType();
                void setGObjectType(int obtype);
+
+               std::string getBBTKType();
+               void setBBTKType(std::string obtype);
                
+               std::string getBBTKName();
+               void setBBTKName(std::string obname);
                
        private:
 
@@ -101,9 +106,11 @@ namespace bbtk
                double _yFin;
                double _zFin;
 
-               int  _state;
                int  _gObjectType;
 
+               std::string _bbtkType;
+               std::string _bbtkName;
+
                //Protected methods
                
        };