]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsKernelEditorGraphic/GObjectModel.cxx
v1.1.0 BUG 1400
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsKernelEditorGraphic / GObjectModel.cxx
index 46e77d4888d10e560e581121e139d7f24f11dc25..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);
@@ -176,6 +170,26 @@ namespace bbtk
 
        //=========================================================================
 
+       int GObjectModel::getObjectId()
+       {
+               return _objectId;
+       }
+
+       //=========================================================================
+       
+       void GObjectModel::setObjectId(int id)
+       {
+               _objectId=id;
+       }
+
+       //=========================================================================
+
+       void GObjectModel::save(std::string &content)
+       {
+               //virtual
+       }
+       
+       //=========================================================================
 
 }  // EO namespace bbtk