vtkInteractorScrollZ Class Reference

#include <vtkInteractorScrollZ.h>

Inheritance diagram for vtkInteractorScrollZ:
Inheritance graph
[legend]
Collaboration diagram for vtkInteractorScrollZ:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 vtkInteractorScrollZ ()
virtual ~vtkInteractorScrollZ ()
virtual bool OnMouseMove ()
virtual bool OnRightButtonDown ()
virtual bool OnRightButtonUp ()
virtual InteractorStyleMaracasClone ()
void CopyAttributesTo (InteractorStyleMaracas *cloneObject)
virtual bool OnChar ()
virtual bool OnLeftButtonDown ()
virtual bool OnLeftButtonUp ()
virtual bool OnMiddleButtonDown ()
virtual bool OnMiddleButtonUp ()
virtual bool OnLeftDClick ()
virtual bool OnRightDClick ()
virtual bool OnMiddleDClick ()
virtual bool OnMouseWheel ()
void SetVtkInteractorStyleBaseView (vtkInteractorStyleBaseView *_vtkInteractorStyleBaseView)
void RemoveVtkInteractorStyleBaseView ()
void SetActive (bool active)
bool GetActive ()

Protected Attributes

bool _stateFordware
int _fordwareX
int _fordwareY
int _sliceZ
vtkInteractorStyleBaseView_vtkInteractorStyleBaseView

Detailed Description

Definition at line 6 of file vtkInteractorScrollZ.h.


Constructor & Destructor Documentation

vtkInteractorScrollZ::vtkInteractorScrollZ (  ) 

Definition at line 8 of file vtkInteractorScrollZ.cxx.

References _stateFordware.

00009 {
00010         _stateFordware=false;
00011 }

vtkInteractorScrollZ::~vtkInteractorScrollZ (  )  [virtual]

Definition at line 13 of file vtkInteractorScrollZ.cxx.

00014 {
00015 }


Member Function Documentation

InteractorStyleMaracas * InteractorStyleMaracas::Clone (  )  [virtual, inherited]
void InteractorStyleMaracas::CopyAttributesTo ( InteractorStyleMaracas cloneObject  )  [inherited]

Reimplemented in manualCircleControler, manualContour3DControler, manualContour3V3DControler, manualContour3VControler, manualContourBaseControler, manualContourControler, manualContourPerpPlaneControler, manualLineControler, manualRoiControler, and manualRotationToolControler.

Definition at line 27 of file InteractorStyleMaracas.cxx.

References InteractorStyleMaracas::GetActive(), and InteractorStyleMaracas::SetActive().

Referenced by InteractorStyleMaracas::Clone().

00028 {
00029         // Fathers object
00030         //<FATHERCLASS>::CopyAttributesTo(cloneObject);
00031 
00032         cloneObject->SetActive(  this->GetActive() );
00033 }

Here is the call graph for this function:

Here is the caller graph for this function:

bool InteractorStyleMaracas::GetActive (  )  [inherited]

Definition at line 116 of file InteractorStyleMaracas.cxx.

References InteractorStyleMaracas::_active.

Referenced by vtkInteractorStyleBaseView::CallLstInteractorStyleMaracas(), and InteractorStyleMaracas::CopyAttributesTo().

00117 {
00118         return _active;
00119 }

Here is the caller graph for this function:

bool InteractorStyleMaracas::OnChar (  )  [virtual, inherited]

Reimplemented in manualContour3DControler, manualContour3V3DControler, manualContour3VControler, manualContourBaseControler, and manualContourPerpPlaneControler.

Definition at line 37 of file InteractorStyleMaracas.cxx.

Referenced by vtkInteractorStyleBaseView::CallLstInteractorStyleMaracas().

00038 {
00039         return true;
00040 }

Here is the caller graph for this function:

bool InteractorStyleMaracas::OnLeftButtonDown (  )  [virtual, inherited]

Reimplemented in manualContour3DControler, manualContourBaseControler, vtkInteractorStyleMPRView, vtkInteractorStylePlane2D, and vtkInteractorStyleSphere.

Definition at line 47 of file InteractorStyleMaracas.cxx.

Referenced by vtkInteractorStyleBaseView::CallLstInteractorStyleMaracas().

00048 {
00049         return true;
00050 }

Here is the caller graph for this function:

bool InteractorStyleMaracas::OnLeftButtonUp (  )  [virtual, inherited]

Reimplemented in manualContourBaseControler, vtkInteractorStyleMPRView, vtkInteractorStylePlane2D, and vtkInteractorStyleSphere.

Definition at line 52 of file InteractorStyleMaracas.cxx.

Referenced by vtkInteractorStyleBaseView::CallLstInteractorStyleMaracas().

00053 {
00054         return true;
00055 }

Here is the caller graph for this function:

bool InteractorStyleMaracas::OnLeftDClick (  )  [virtual, inherited]
bool InteractorStyleMaracas::OnMiddleButtonDown (  )  [virtual, inherited]

Reimplemented in manualContourBaseControler, and manualInteractorWindowLevel.

Definition at line 62 of file InteractorStyleMaracas.cxx.

Referenced by vtkInteractorStyleBaseView::CallLstInteractorStyleMaracas().

00063 {
00064         return true;
00065 }

Here is the caller graph for this function:

bool InteractorStyleMaracas::OnMiddleButtonUp (  )  [virtual, inherited]

Reimplemented in manualContourBaseControler, and manualInteractorWindowLevel.

Definition at line 67 of file InteractorStyleMaracas.cxx.

Referenced by vtkInteractorStyleBaseView::CallLstInteractorStyleMaracas().

00068 {
00069         return true;
00070 }

Here is the caller graph for this function:

bool InteractorStyleMaracas::OnMiddleDClick (  )  [virtual, inherited]

Definition at line 72 of file InteractorStyleMaracas.cxx.

00073 {
00074         return true;
00075 }

bool vtkInteractorScrollZ::OnMouseMove (  )  [virtual]

Reimplemented from InteractorStyleMaracas.

Definition at line 38 of file vtkInteractorScrollZ.cxx.

References _fordwareY, _sliceZ, _stateFordware, InteractorStyleMaracas::_vtkInteractorStyleBaseView, vtkInteractorStyleBaseView::GetWxVtk2DBaseView(), and vtkInteractorStyleBaseView::SetParent_refresh_waiting().

00039 {
00040         if (_stateFordware==true){
00041             //int fx = _vtkInteractorStyleBaseView->GetInteractor()->GetEventPosition()[0];  // JPRx
00042         int fy = _vtkInteractorStyleBaseView->GetInteractor()->GetEventPosition()[1];
00043                 int delta = (_fordwareY - fy)/3;
00044                 /*JCP 14/05/2009
00045                 _vtkInteractorStyleBaseView->GetWxVtk2DBaseView()->SetActualSlice( _sliceZ + delta);
00046                 */
00047                 ((wxVtk2DBaseView*)_vtkInteractorStyleBaseView->GetWxVtk2DBaseView())->SetActualSlice( _sliceZ + delta);
00048 
00049                 this->_vtkInteractorStyleBaseView->SetParent_refresh_waiting();
00050 
00051         //      wxCommandEvent newevent(wxEVT_COMMAND_MENU_SELECTED,12121);
00052         //      _vtkInteractorStyleBaseView->GetWxVtk2DBaseView()->GetWxVTKRenderWindowInteractor()->GetParent()->ProcessEvent(newevent);
00053 
00054                 //_wxvtk2Dbaseview->Refresh();
00055         } 
00056         return true;
00057 }

Here is the call graph for this function:

bool InteractorStyleMaracas::OnMouseWheel (  )  [virtual, inherited]

Definition at line 92 of file InteractorStyleMaracas.cxx.

Referenced by vtkInteractorStyleBaseView::CallLstInteractorStyleMaracas().

00093 {
00094         return true;
00095 }

Here is the caller graph for this function:

bool vtkInteractorScrollZ::OnRightButtonDown (  )  [virtual]

Reimplemented from InteractorStyleMaracas.

Definition at line 17 of file vtkInteractorScrollZ.cxx.

References _fordwareX, _fordwareY, _sliceZ, _stateFordware, InteractorStyleMaracas::_vtkInteractorStyleBaseView, and vtkInteractorStyleBaseView::GetWxVtk2DBaseView().

00018 {    
00019         vtkRenderWindowInteractor *interactor = _vtkInteractorStyleBaseView->GetInteractor();
00020         if ((interactor->GetControlKey()==0) && (interactor->GetShiftKey()==0) ){
00021                 _stateFordware  = true;
00022                 _fordwareX      = interactor->GetEventPosition()[0];
00023                 _fordwareY      = interactor->GetEventPosition()[1];
00024                 /*JCP 14/05/2009
00025                 _sliceZ         = _vtkInteractorStyleBaseView->GetWxVtk2DBaseView()->GetActualSlice();
00026                 */
00027                 _sliceZ         = ((wxVtk2DBaseView*)_vtkInteractorStyleBaseView->GetWxVtk2DBaseView())->GetActualSlice();
00028         }
00029         return true;
00030 }

Here is the call graph for this function:

bool vtkInteractorScrollZ::OnRightButtonUp (  )  [virtual]

Reimplemented from InteractorStyleMaracas.

Definition at line 32 of file vtkInteractorScrollZ.cxx.

References _stateFordware.

00033 {
00034         _stateFordware=false;
00035         return true;
00036 }

bool InteractorStyleMaracas::OnRightDClick (  )  [virtual, inherited]

Definition at line 87 of file InteractorStyleMaracas.cxx.

Referenced by vtkInteractorStyleBaseView::CallLstInteractorStyleMaracas().

00088 {
00089         return true;
00090 }

Here is the caller graph for this function:

void InteractorStyleMaracas::RemoveVtkInteractorStyleBaseView (  )  [inherited]

Definition at line 106 of file InteractorStyleMaracas.cxx.

References InteractorStyleMaracas::_vtkInteractorStyleBaseView.

Referenced by vtkInteractorStyleBaseView::RemoveInteractorStyleMaracas().

00107 {
00108         _vtkInteractorStyleBaseView = NULL;
00109 }

Here is the caller graph for this function:

void InteractorStyleMaracas::SetActive ( bool  active  )  [inherited]
void InteractorStyleMaracas::SetVtkInteractorStyleBaseView ( vtkInteractorStyleBaseView _vtkInteractorStyleBaseView  )  [inherited]

Definition at line 99 of file InteractorStyleMaracas.cxx.

References InteractorStyleMaracas::_vtkInteractorStyleBaseView.

Referenced by vtkInteractorStyleBaseView::AddInteractorStyleMaracas(), and vtkInteractorStyleBaseView::InsertInteractorStyleMaracas().

00100 {
00101         _vtkInteractorStyleBaseView = vtkInteractorStyleBaseView;
00102 }

Here is the caller graph for this function:


Member Data Documentation

Definition at line 19 of file vtkInteractorScrollZ.h.

Referenced by OnRightButtonDown().

Definition at line 20 of file vtkInteractorScrollZ.h.

Referenced by OnMouseMove(), and OnRightButtonDown().

Definition at line 21 of file vtkInteractorScrollZ.h.

Referenced by OnMouseMove(), and OnRightButtonDown().

Definition at line 45 of file InteractorStyleMaracas.h.

Referenced by manualContour3VControler::AddPoint_Others(), manualContour3VControler::DeleteActualMousePoint_Others(), manualContour3VControler::InsertPoint_Others(), InteractorStyleMaracas::InteractorStyleMaracas(), manualContourControler::MouseClickLeft(), manualContour3DControler::MouseClickLeft(), manualContourPerpPlaneControler::MouseDLeft(), manualContourControler::MouseDLeft(), manualContourPerpPlaneControler::MouseMove(), manualContourControler::MouseMove(), manualContour3V3DControler::MouseMove(), manualContour3VControler::MouseMove_Others(), manualContourBaseControler::OnChar(), manualContour3DControler::OnChar(), manualContour3VControler::OnChar_Others(), vtkInteractorStyleSphere::OnLeftButtonDown(), vtkInteractorStylePlane2D::OnLeftButtonDown(), vtkInteractorStyleMPRView::OnLeftButtonDown(), manualContourBaseControler::OnLeftButtonDown(), manualContour3DControler::OnLeftButtonDown(), vtkInteractorStyleSphere::OnLeftButtonUp(), vtkInteractorStylePlane2D::OnLeftButtonUp(), manualContourBaseControler::OnLeftButtonUp(), vtkInteractorStylePlane2D::OnLeftDClick(), vtkInteractorStyleMPRView::OnLeftDClick(), manualContourBaseControler::OnLeftDClick(), manualInteractorWindowLevel::OnMiddleButtonDown(), manualContourBaseControler::OnMiddleButtonDown(), vtkInteractorStyleSphere::OnMouseMove(), vtkInteractorStylePlane2D::OnMouseMove(), vtkInteractorStyleMPRView::OnMouseMove(), OnMouseMove(), vtkInfoTextImageInteractorPlane2D::OnMouseMove(), vtkInfoTextImageInteractor::OnMouseMove(), manualInteractorWindowLevel::OnMouseMove(), manualContourBaseControler::OnMouseMove(), vtkInteractorStyleSphere::OnRightButtonDown(), OnRightButtonDown(), manualContourBaseControler::OnRightButtonDown(), vtkInteractorStyleSphere::OnRightButtonUp(), InteractorStyleMaracas::RemoveVtkInteractorStyleBaseView(), vtkInteractorStyle3DView::SelectMarchibCubePoint(), and InteractorStyleMaracas::SetVtkInteractorStyleBaseView().


The documentation for this class was generated from the following files:

Generated on 18 Mar 2010 for creaMaracasVisu_lib by  doxygen 1.6.1