//Public methods
void setModelAndView(GObjectModel* model, vtkGObjectView* view);
+ int getGObjectType();
+ GObjectModel* getModel();
+ vtkGObjectView* getView();
+ std::string getStatusText();
+
+ int getId();
+ void setId(int id);
private:
//Attributes
- GObjectModel* _model;
- vtkGObjectView* _view;
+
//Private Methods
protected:
+ //Protected Attributes
+ GObjectModel* _model;
+ vtkGObjectView* _view;
+ int _id;
+ bool _isLeftClickDown;
+
+ //Protected Methods
+ virtual bool OnMouseMove();
+ virtual bool OnLeftButtonDown();
+ virtual bool OnLeftButtonUp();
+ virtual bool OnLeftDClick();
+
+ virtual void moveObject(int X,int Y);
+
+
+
};