bool GObjectController::OnMouseMove()
{
+ /********************** VIRTUAL *************************/
+
if ( _vtkInteractorStyleBaseView!=NULL)
{
int X,Y;
_model->notifyObservers();
}
+
+ /**/
+
return true;
}
//=========================================================================
bool GObjectController::OnLeftButtonDown()
{
+ /********************** VIRTUAL *************************
if ( _vtkInteractorStyleBaseView!=NULL )
{
//Evaluate new state
if(!_model->hasChanged() && state==HIGHLIGHTED)
{
- _view->isFirstDragging(true);
+ _view->isStartDragging(true);
_model->setState(DRAG);
_model->setChanged();
}
{
if(_view->isPointInside(X,Y))
{
- _view->isFirstDragging(true);
+ _view->isStartDragging(true);
_model->setState(DRAG);
_model->setChanged();
}
_model->notifyObservers();
}
+
+ */
+
return true;
}
//=========================================================================
bool GObjectController::OnLeftButtonUp()
{
+
+ /********************** VIRTUAL *************************
+
if ( _vtkInteractorStyleBaseView!=NULL )
{
int X,Y;
_model->notifyObservers();
}
+
+ */
return true;
}
//=========================================================================
bool GObjectController::OnLeftDClick()
{
+ /********************** VIRTUAL *************************
+
if ( _vtkInteractorStyleBaseView!=NULL )
{
int X,Y;
_model->notifyObservers();
}
+
+ */
return true;
}
//=========================================================================
bool GObjectController::OnRightButtonDown()
{
+ /********************** VIRTUAL *************************/
+
if( _vtkInteractorStyleBaseView!= NULL )
{
int X,Y;
_model->notifyObservers();
}
+
+ /**/
+
return true;
+
}
//=========================================================================