]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsKernelEditorGraphic/GObjectModel.cxx
v1.1.0 Feature 1407
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsKernelEditorGraphic / GObjectModel.cxx
index b33bb80e65f94a3350c81ca0cec9b027f57f2838..1ab4ad3a1d70a3f9b3ca84b884e4f772ff2d3576 100644 (file)
@@ -46,10 +46,10 @@ namespace bbtk
 
                _xInic = 0;
                _yInic = 0;
-               _zInic = 900;
+               _zInic = GPOSITION_Z;
                _xFin = 0;
                _yFin = 0;
-               _zFin = 900;
+               _zFin = GPOSITION_Z;
        }
 
        //=========================================================================
@@ -127,12 +127,6 @@ namespace bbtk
 
        //=========================================================================
 
-       void GObjectModel::updateBlackBox(BlackBoxDescriptor::Pointer descriptor)//virtual
-       {
-       }
-
-       //=========================================================================
-
        void GObjectModel::move(double xx,double yy,double zz)//virtual
        {
                setInicPoint(xx,yy,zz);
@@ -166,8 +160,50 @@ namespace bbtk
                _bbtkName = obname;
        }
 
+       //=========================================================================
+       
+       std::string GObjectModel::getBBTKDescription()
+       {
+               return _bbtkDescription;
+       }
+       
+       //=========================================================================
+       
+       void GObjectModel::setBBTKDescription(std::string obdescription)
+       {
+               _bbtkDescription = obdescription;
+       }
+       
+       //=========================================================================
+
+       std::string GObjectModel::getStatusText()//virtual
+       {
+               std::string virt = "";
+               return virt;
+       }
+
+       //=========================================================================
+
+       int GObjectModel::getObjectId()
+       {
+               return _objectId;
+       }
+
+       //=========================================================================
+       
+       void GObjectModel::setObjectId(int id)
+       {
+               _objectId=id;
+       }
+
        //=========================================================================
 
+       void GObjectModel::save(std::string &content)
+       {
+               //virtual
+       }
+       
+       //=========================================================================
 
 }  // EO namespace bbtk