//Public methods
void setModelAndView(GObjectModel* model, vtkGObjectView* view);
+ int getGObjectType();
+ GObjectModel* getModel();
+ vtkGObjectView* getView();
+
+ int getId();
+ void setId(int id);
private:
//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 bool OnRightButtonDown();
virtual void moveObject(int X,int Y);