]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsKernelEditorGraphic/GObjectModel.cxx
v1.1.0 BUG 1400
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsKernelEditorGraphic / GObjectModel.cxx
index b33bb80e65f94a3350c81ca0cec9b027f57f2838..386663f75b2f3b04e3e3ad05f3f03e9b5c958111 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);
@@ -168,6 +162,34 @@ namespace bbtk
 
        //=========================================================================
 
+       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