vtkInteractorStyle2DMaracas Class Reference

#include <wxVTKRenderWindowInteractorEditContour.h>

List of all members.

Public Member Functions

 vtkInteractorStyle2DMaracas ()
 ~vtkInteractorStyle2DMaracas ()
virtual char const * GetClassName () const
virtual void OnMouseMove ()
virtual void OnLeftButtonDown ()
virtual void OnLeftButtonUp ()
virtual void OnMiddleButtonDown ()
virtual void OnMiddleButtonUp ()
virtual void OnRightButtonDown ()
virtual void OnRightButtonUp ()
void SetObserver (vtkCommand *obs)

Static Public Member Functions

static
vtkInteractorStyle2DMaracas
New ()

Private Attributes

vtkCommand * _obs

Detailed Description

Definition at line 169 of file wxVTKRenderWindowInteractorEditContour.h.


Constructor & Destructor Documentation

vtkInteractorStyle2DMaracas::vtkInteractorStyle2DMaracas (  ) 

Definition at line 180 of file wxVTKRenderWindowInteractorEditContour.cxx.

References _obs.

Referenced by New().

00180                                                         {
00181         _obs=NULL;
00182 }

Here is the caller graph for this function:

vtkInteractorStyle2DMaracas::~vtkInteractorStyle2DMaracas (  ) 

Definition at line 184 of file wxVTKRenderWindowInteractorEditContour.cxx.

00184                                                          {
00185 }


Member Function Documentation

virtual char const* vtkInteractorStyle2DMaracas::GetClassName (  )  const [inline, virtual]

Definition at line 174 of file wxVTKRenderWindowInteractorEditContour.h.

00174 { return "vtkInteractorStyle2DMaracas";}

static vtkInteractorStyle2DMaracas* vtkInteractorStyle2DMaracas::New (  )  [inline, static]

Definition at line 175 of file wxVTKRenderWindowInteractorEditContour.h.

References vtkInteractorStyle2DMaracas().

Referenced by wxImageViewerWidget::ConstructVTK().

00175                                                  {
00176                                         return new vtkInteractorStyle2DMaracas();
00177                                 }

Here is the call graph for this function:

Here is the caller graph for this function:

void vtkInteractorStyle2DMaracas::OnLeftButtonDown (  )  [virtual]

Definition at line 203 of file wxVTKRenderWindowInteractorEditContour.cxx.

References _obs, and OnMiddleButtonDown().

00203                                                     {
00204         if ((GetInteractor()->GetControlKey()==1) && (GetInteractor()->GetShiftKey()==0) ){
00205                 this->vtkInteractorStyleImage::OnMiddleButtonDown();
00206         } else if ((GetInteractor()->GetControlKey()==0) && (GetInteractor()->GetShiftKey()==1) ){
00207                 if (_obs){
00208                         _obs->Execute( NULL , vtkCommand::LeftButtonPressEvent  , NULL ) ;
00209                 }
00210         } else {
00211                 this->vtkInteractorStyleImage::OnLeftButtonDown();
00212         }
00213 }

Here is the call graph for this function:

void vtkInteractorStyle2DMaracas::OnLeftButtonUp (  )  [virtual]

Definition at line 216 of file wxVTKRenderWindowInteractorEditContour.cxx.

References _obs, and OnMiddleButtonUp().

00216                                                    {
00217         if ((GetInteractor()->GetControlKey()==1) && (GetInteractor()->GetShiftKey()==0) ){
00218                 this->vtkInteractorStyleImage::OnMiddleButtonUp();
00219         } else if ((GetInteractor()->GetControlKey()==0) && (GetInteractor()->GetShiftKey()==1) ){
00220                 if (_obs) {
00221                         _obs->Execute( NULL , vtkCommand::LeftButtonReleaseEvent  , NULL );
00222                 }
00223         } else {
00224                 this->vtkInteractorStyleImage::OnLeftButtonUp();
00225         }
00226 }

Here is the call graph for this function:

void vtkInteractorStyle2DMaracas::OnMiddleButtonDown (  )  [virtual]

Definition at line 228 of file wxVTKRenderWindowInteractorEditContour.cxx.

Referenced by OnLeftButtonDown().

00228                                                        {
00229 }

Here is the caller graph for this function:

void vtkInteractorStyle2DMaracas::OnMiddleButtonUp (  )  [virtual]

Definition at line 231 of file wxVTKRenderWindowInteractorEditContour.cxx.

Referenced by OnLeftButtonUp().

00231                                                      {
00232 }

Here is the caller graph for this function:

void vtkInteractorStyle2DMaracas::OnMouseMove (  )  [virtual]

Definition at line 199 of file wxVTKRenderWindowInteractorEditContour.cxx.

00199                                                 {
00200         this->vtkInteractorStyleImage::OnMouseMove();
00201 }

void vtkInteractorStyle2DMaracas::OnRightButtonDown (  )  [virtual]

Definition at line 187 of file wxVTKRenderWindowInteractorEditContour.cxx.

00187                                                      {    
00188         if (GetInteractor()->GetControlKey()==1 ){
00189                 this->vtkInteractorStyleImage::OnRightButtonDown();
00190         }
00191 }

void vtkInteractorStyle2DMaracas::OnRightButtonUp (  )  [virtual]

Definition at line 193 of file wxVTKRenderWindowInteractorEditContour.cxx.

00193                                                     {
00194         if (GetInteractor()->GetControlKey()==1 ){
00195                 this->vtkInteractorStyleImage::OnRightButtonUp();
00196         }
00197 }

void vtkInteractorStyle2DMaracas::SetObserver ( vtkCommand *  obs  ) 

Definition at line 235 of file wxVTKRenderWindowInteractorEditContour.cxx.

References _obs.

Referenced by wxImageViewerWidgetRoi::ConstructVTK().

00235                                                             {
00236         this->_obs=obs;
00237 }

Here is the caller graph for this function:


Member Data Documentation

vtkCommand* vtkInteractorStyle2DMaracas::_obs [private]

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

Generated on 18 Mar 2010 for creaMaracasVisu_lib by  doxygen 1.6.1