vtkInfoTextImageInteractor Class Reference

#include <vtkInfoTextImageInteractor.h>

Inheritance diagram for vtkInfoTextImageInteractor:

Inheritance graph
[legend]
Collaboration diagram for vtkInfoTextImageInteractor:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 vtkInfoTextImageInteractor ()
virtual ~vtkInfoTextImageInteractor ()
void SetModelVtkInfoTextImage (vtkInfoTextImage *vtkinfotextimage)
vtkInfoTextImageGetVtkInfoTextImage ()
virtual InteractorStyleMaracasClone ()
void CopyAttributesTo (InteractorStyleMaracas *cloneObject)
virtual bool OnChar ()
virtual bool OnLeftButtonDown ()
virtual bool OnLeftButtonUp ()
virtual bool OnMiddleButtonDown ()
virtual bool OnMiddleButtonUp ()
virtual bool OnRightButtonDown ()
virtual bool OnRightButtonUp ()
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 Member Functions

virtual bool OnMouseMove ()

Protected Attributes

vtkInteractorStyleBaseView_vtkInteractorStyleBaseView

Private Attributes

vtkInfoTextImage_vtkinfotextimage


Detailed Description

Definition at line 11 of file vtkInfoTextImageInteractor.h.


Constructor & Destructor Documentation

vtkInfoTextImageInteractor::vtkInfoTextImageInteractor (  ) 

Definition at line 9 of file vtkInfoTextImageInteractor.cxx.

00010 {
00011 }

vtkInfoTextImageInteractor::~vtkInfoTextImageInteractor (  )  [virtual]

Definition at line 14 of file vtkInfoTextImageInteractor.cxx.

00015 {
00016 }


Member Function Documentation

InteractorStyleMaracas * InteractorStyleMaracas::Clone (  )  [virtual, inherited]

void InteractorStyleMaracas::CopyAttributesTo ( InteractorStyleMaracas cloneObject  )  [inherited]

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:

vtkInfoTextImage * vtkInfoTextImageInteractor::GetVtkInfoTextImage (  ) 

Definition at line 56 of file vtkInfoTextImageInteractor.cxx.

References _vtkinfotextimage.

Referenced by vtkInfoTextImageInteractorPlane2D::OnMouseMove(), and OnMouseMove().

00057 {
00058         return _vtkinfotextimage;
00059 }

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 vtkInfoTextImageInteractor::OnMouseMove (  )  [protected, virtual]

Reimplemented from InteractorStyleMaracas.

Reimplemented in vtkInfoTextImageInteractorPlane2D.

Definition at line 26 of file vtkInfoTextImageInteractor.cxx.

References InteractorStyleMaracas::_vtkInteractorStyleBaseView, GetVtkInfoTextImage(), vtkInteractorStyleBaseView::GetWxVtk2DBaseView(), wxVtkBaseView::GetWxVTKRenderWindowInteractor(), vtkInfoTextImage::PutColorLevel(), vtkInfoTextImage::PutPixelIntensity(), vtkInfoTextImage::PutPosition(), vtkInfoTextImage::PutWindowLevel(), vtkInteractorStyleBaseView::SetRefresh_waiting(), and wxVtkBaseView::TransFromCoordScreenToWorld().

00027 {
00028         int X,Y;
00029         wxVTKRenderWindowInteractor *wxVTKiren;
00030         wxVTKiren = _vtkInteractorStyleBaseView->GetWxVtk2DBaseView()->GetWxVTKRenderWindowInteractor();
00031         wxVTKiren->GetEventPosition(X,Y);
00032 
00033         /*JCP 14/05/2009
00034          * int z = (int)(_vtkInteractorStyleBaseView->GetWxVtk2DBaseView()->GetVtkBaseData()->GetZ());*/
00035         
00036         double xx,yy,zz;
00037 
00038                 int z = (int)((wxVtk2DBaseView*)_vtkInteractorStyleBaseView->GetWxVtk2DBaseView())->GetVtkBaseData()->GetZ();
00039                 xx=X;
00040                 yy=Y;
00041                 zz=z;
00042         
00043         _vtkInteractorStyleBaseView->GetWxVtk2DBaseView()->TransFromCoordScreenToWorld(xx,yy,zz,true);
00044 
00045         
00046         GetVtkInfoTextImage()->PutWindowLevel();
00047         GetVtkInfoTextImage()->PutColorLevel();
00048         GetVtkInfoTextImage()->PutPosition( (int)xx , (int)yy , (int)zz );
00049         GetVtkInfoTextImage()->PutPixelIntensity( (int)xx , (int)yy , (int)zz );
00050 
00051         this->_vtkInteractorStyleBaseView->SetRefresh_waiting();
00052         return true;
00053 }

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 InteractorStyleMaracas::OnRightButtonDown (  )  [virtual, inherited]

Reimplemented in manualContourBaseControler, vtkInteractorScrollZ, and vtkInteractorStyleSphere.

Definition at line 77 of file InteractorStyleMaracas.cxx.

Referenced by vtkInteractorStyleBaseView::CallLstInteractorStyleMaracas().

00078 {
00079         return true;
00080 }

Here is the caller graph for this function:

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

Reimplemented in manualContourBaseControler, vtkInteractorScrollZ, vtkInteractorStylePlane2D, and vtkInteractorStyleSphere.

Definition at line 82 of file InteractorStyleMaracas.cxx.

Referenced by vtkInteractorStyleBaseView::CallLstInteractorStyleMaracas().

00083 {
00084         return true;
00085 }

Here is the caller graph for this function:

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 vtkInfoTextImageInteractor::SetModelVtkInfoTextImage ( vtkInfoTextImage vtkinfotextimage  ) 

Definition at line 20 of file vtkInfoTextImageInteractor.cxx.

References _vtkinfotextimage.

Referenced by wxVtk2DBaseView::Configure(), and vtkPlane2DView::Configure().

00021 {
00022         _vtkinfotextimage       = vtkinfotextimage;
00023 }

Here is the caller graph for this function:

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 23 of file vtkInfoTextImageInteractor.h.

Referenced by GetVtkInfoTextImage(), and SetModelVtkInfoTextImage().

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(), vtkInteractorScrollZ::OnMouseMove(), vtkInfoTextImageInteractorPlane2D::OnMouseMove(), OnMouseMove(), manualInteractorWindowLevel::OnMouseMove(), manualContourBaseControler::OnMouseMove(), vtkInteractorStyleSphere::OnRightButtonDown(), vtkInteractorScrollZ::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 Fri Jun 12 00:08:49 2009 for creaMaracasVisu by  doxygen 1.5.7.1