]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsKernelEditorGraphic/GObjectModel.h
Basic functionnality adition showing the black box input ports
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsKernelEditorGraphic / GObjectModel.h
index c80da3579933afd396c5a3475a56348022934bc6..889cb7580a544f6e19e24f2972bb8cfe77170503 100644 (file)
@@ -45,6 +45,7 @@ Version:   $Revision$
 
 //Includes same project
 #include "GlobalConstants.h"
+#include "Observable.h"
 
 //Includes creaMaracasVisu
 
@@ -57,7 +58,7 @@ Version:   $Revision$
 namespace bbtk
 {
 
-       class GObjectModel 
+       class GObjectModel //: public Observable
        {
 
        public: 
@@ -74,9 +75,13 @@ namespace bbtk
                void setFinalPoint(double& x, double& y, double& z);
                void setState(int state);
                int getState();
+
                virtual bool isPointInside(double x,double y, double z);
                virtual void updateBlackBox(BlackBoxDescriptor::Pointer descriptor);
 
+               int getGObjectType();
+               void setGObjectType(int obtype);
+               
        private:
 
                //Private Attributes
@@ -95,6 +100,7 @@ namespace bbtk
                double _zFin;
 
                int  _state;
+               int  _gObjectType;
 
                //Protected methods