]> 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 4dfc47791b056f24e89dd10f7a979b6506d86302..5c3deea3dd6361793a1af444f758c4920d3522a5 100644 (file)
@@ -71,16 +71,23 @@ 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);
                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);
                
        private:
 
@@ -99,9 +106,11 @@ namespace bbtk
                double _yFin;
                double _zFin;
 
-               int  _state;
                int  _gObjectType;
 
+               std::string _bbtkType;
+               std::string _bbtkName;
+
                //Protected methods
                
        };