+ int x = this->Interactor->GetEventPosition( )[ 0 ];
+ int y = this->Interactor->GetEventPosition( )[ 1 ];
+
+ this->FindPokedRenderer( x, y );
+ if( this->CurrentRenderer == NULL )
+ return;
+
+ // Redefine this button to handle window/level
+ this->GrabFocus( this->EventCallbackCommand );
+
+ if( this->Interactor->GetControlKey( ) )
+ this->StartCursorMoving( );
+
+ /* TODO
+ if (!this->Interactor->GetShiftKey() && !this->Interactor->GetControlKey())
+ {
+ this->WindowLevelStartPosition[0] = x;
+ this->WindowLevelStartPosition[1] = y;
+ this->StartWindowLevel();
+ }
+
+ // If shift is held down, do a rotation
+ else if (this->InteractionMode == VTKIS_IMAGE3D &&
+ this->Interactor->GetShiftKey())
+ {
+ this->StartRotate();
+ }
+
+ // If ctrl is held down in slicing mode, slice the image
+ else if (this->InteractionMode == VTKIS_IMAGE_SLICING &&
+ this->Interactor->GetControlKey())
+ {
+ this->StartSlice();
+ }
+
+ // The rest of the button + key combinations remain the same
+
+ else
+ {
+ this->Superclass::OnLeftButtonDown();
+ }
+ */