- int X,Y;
- wxVTKRenderWindowInteractor *wxVTKiren;
- wxVTKiren = _vtkInteractorStyleBaseView->GetWxVtk2DBaseView()->GetWxVTKRenderWindowInteractor();
- wxVTKiren->GetEventPosition(X, Y);
-
- //SetCompleteCreation( true );
- //SetKeyBoardMoving( false );
- //this->GetManualContourModel()->SetCloseContour(true);
- //MouseClickRight(X,Y);
- }
- return true;
-}
-//=========================================================================
-bool GObjectController::OnRightButtonUp()
-{
- return true;
-}
-//=========================================================================
+ return _model;
+ }
+
+ //=========================================================================
+
+ vtkGObjectView* GObjectController::getView()
+ {
+ return _view;
+ }
+
+ //=========================================================================
+
+ int GObjectController::getId()
+ {
+ return _model->getObjectId();
+ }
+
+ //=========================================================================
+
+ void GObjectController::setId(int id)
+ {
+ _model->setObjectId(id);
+ }
+
+ //=========================================================================
+
+ std::string GObjectController::getStatusText()
+ {
+ return _model->getStatusText();
+ }
+
+ //=========================================================================
+
+ void GObjectController::removeFromScene()
+ {
+ _view->removeFromScene();
+ }
+
+ //=========================================================================