]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/GObjectController.h
Documentation of the vtkLibrary
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsVtkGUIEditorGraphic / GObjectController.h
index 915ffc8cd2215636465397459c148a8265040cef..519248c57b26288721802c8288fb1aed6757a4d1 100644 (file)
@@ -35,10 +35,11 @@ Version:   $Revision$
 *  \brief Class bbtk::GObjectController : 
 */
 
-/**
-* \class bbtk::GObjectController
-* \brief 
-*/
+/****
+* Design and Developpement of BBTK GEditor
+* Ricardo A Corredor J <ra.corredor67@uniandes.edu.co>
+* RaC - 2010
+****/
 
 #ifndef __GObjectController_h__
 #define __GObjectController_h__
@@ -69,11 +70,16 @@ namespace bbtk
                //Public methods
 
                void setModelAndView(GObjectModel* model, vtkGObjectView* view);
+
+               // Same type of the saved in the model of the graphical objects
                int getGObjectType();
+
                GObjectModel* getModel();
                vtkGObjectView* getView();
+
                std::string getStatusText();
 
+               // Same ObjectID from the model
                int getId();
                void setId(int id);
                
@@ -90,11 +96,15 @@ namespace bbtk
        protected:
 
                //Protected Attributes 
+
                GObjectModel* _model;
                vtkGObjectView* _view;
+
                bool _isLeftClickDown;
 
                //Protected Methods
+
+               // Methods from InteractorStyleMaracas
                virtual bool  OnMouseMove();
                virtual bool  OnLeftButtonDown(); 
                virtual bool  OnLeftButtonUp();
@@ -103,8 +113,6 @@ namespace bbtk
 
                virtual void moveObject(int X,int Y);
 
-
-
        };