]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsKernelEditorGraphic/GObjectModel.cxx
v1.1.0 Feature 1407
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsKernelEditorGraphic / GObjectModel.cxx
index e4710a2e30ad3efc0e97aa424172c8916c873b19..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,6 +160,20 @@ namespace bbtk
                _bbtkName = obname;
        }
 
+       //=========================================================================
+       
+       std::string GObjectModel::getBBTKDescription()
+       {
+               return _bbtkDescription;
+       }
+       
+       //=========================================================================
+       
+       void GObjectModel::setBBTKDescription(std::string obdescription)
+       {
+               _bbtkDescription = obdescription;
+       }
+       
        //=========================================================================
 
        std::string GObjectModel::getStatusText()//virtual
@@ -188,6 +196,14 @@ namespace bbtk
                _objectId=id;
        }
 
+       //=========================================================================
+
+       void GObjectModel::save(std::string &content)
+       {
+               //virtual
+       }
+       
+       //=========================================================================
 
 }  // EO namespace bbtk