}
//=========================================================================
-
- bool GBlackBoxController::OnLeftDClick()
- {
- int X,Y;
- wxVTKRenderWindowInteractor *wxVTKiren;
- wxVTKiren = _vtkInteractorStyleBaseView->GetWxVtk3DBaseView()->GetWxVTKRenderWindowInteractor();
- wxVTKiren->GetEventPosition(X,Y);
-
- int state = _view->getState();
- //Evaluate new state
- if(_view->isPointInside(X,Y))
- {
- _model->notifyObservers(getId(),EDIT_BLACKBOX);
- }
- return true;
- }
-
- //=========================================================================
-
bool GBlackBoxController::OnRightButtonUp()
{
GBlackBoxModel *bbmodel = (GBlackBoxModel*)_model;