]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsKernelEditorGraphic/GObjectModel.h
The buttons and the objects to create input and output complex box ports were added...
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsKernelEditorGraphic / GObjectModel.h
index b610386018001a98279f611c60d20d0e0fb226a2..39648f9fc3dd712ea5c20dec019e400ec93c0bee 100644 (file)
@@ -71,18 +71,28 @@ 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);
+
+               int getObjectId();
+               void setObjectId(int id);
+
+               virtual std::string getStatusText();
+               virtual void save(std::string &content);
                
        private:
 
@@ -101,8 +111,11 @@ namespace bbtk
                double _yFin;
                double _zFin;
 
-               int  _state;
                int  _gObjectType;
+               int _objectId;
+
+               std::string _bbtkType;
+               std::string _bbtkName;
 
                //Protected methods