vtkInteractorStyleBaseView2D Class Reference

#include <vtkInteractorStyleBaseView2D.h>

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

List of all members.

Public Member Functions

 vtkInteractorStyleBaseView2D ()
 ~vtkInteractorStyleBaseView2D ()
void SetInteractorScrollZ (vtkInteractorScrollZ *interactorScroll)
void SetInteractorWindowLevel (manualInteractorWindowLevel *interactorWindowLevel)
virtual void OnMouseMove ()
virtual void OnLeftButtonDown ()
virtual void OnLeftButtonUp ()
virtual void OnMiddleButtonDown ()
virtual void OnMiddleButtonUp ()
virtual void OnRightButtonDown ()
virtual void OnRightButtonUp ()
virtual void OnChar ()
virtual void OnLeftDClick ()
virtual void OnRightDClick ()
virtual void OnMiddleDClick ()
virtual void OnMouseWheel ()
virtual void TransformCoordinate (double &X, double &Y, double &Z)
void AddInteractorStyleMaracas (InteractorStyleMaracas *interactorStyleMaracas)
void RemoveInteractorStyleMaracas (InteractorStyleMaracas *interactorStyleMaracas)
void InsertInteractorStyleMaracas (int pos, InteractorStyleMaracas *interactorStyleMaracas)
void CallLstInteractorStyleMaracas (int type)
wxVtkBaseViewGetWxVtk2DBaseView ()
wxVtkBaseViewGetWxVtk3DBaseView ()
void SetwxVtkBaseView (wxVtkBaseView *wxvtkbaseview)
void SetActiveAllInteractors (bool ok)
void SetRefresh_waiting ()
void SetParent_refresh_waiting ()
void AddParentToReport (wxEvtHandler *parentToReport)
bool GetRefresh_waiting ()
bool GetParent_refresh_waiting ()
wxEvtHandler * GetParentToReport (int i)
void EvaluateToRefresh ()
void BlockRefresh ()
void UnBlockRefresh ()

Static Public Member Functions

static
vtkInteractorStyleBaseView2D
New ()

Protected Attributes

std::vector
< InteractorStyleMaracas * > 
_lstInteractorStyleMaracas

Private Attributes

manualInteractorWindowLevel_manualinteractorwindowlevel
vtkInteractorScrollZ_vtkInteractorScrollZ

Detailed Description

Definition at line 11 of file vtkInteractorStyleBaseView2D.h.


Constructor & Destructor Documentation

vtkInteractorStyleBaseView2D::vtkInteractorStyleBaseView2D (  ) 

Definition at line 9 of file vtkInteractorStyleBaseView2D.cxx.

00010 {
00012         // RaC 04-2010 This mechanism of adding new functionalities has to be made externally in order 
00013         // to maintain a plugin architecture. 
00014         // Remember: The manualInteractorWindowLevel changes the window level over the image
00015         //           The vtkInteractorScrollZ changes the slice with right click interaction
00016         //                       This vtkInteractorStyleBaseView2D gives the minimal interaction with a 2D scene
00017         //
00018         // _manualinteractorwindowlevel= new manualInteractorWindowLevel();
00019         // AddInteractorStyleMaracas( _manualinteractorwindowlevel );
00020         //
00021         // _vtkInteractorScrollZ = new vtkInteractorScrollZ();
00022         // AddInteractorStyleMaracas(_vtkInteractorScrollZ);
00024 }

vtkInteractorStyleBaseView2D::~vtkInteractorStyleBaseView2D (  ) 

Definition at line 26 of file vtkInteractorStyleBaseView2D.cxx.

00027 {
00028 }


Member Function Documentation

void vtkInteractorStyleBaseView::AddInteractorStyleMaracas ( InteractorStyleMaracas interactorStyleMaracas  )  [inherited]

Definition at line 84 of file vtkInteractorStyleBaseView.cxx.

References vtkInteractorStyleBaseView::_lstInteractorStyleMaracas, and InteractorStyleMaracas::SetVtkInteractorStyleBaseView().

Referenced by ManualPaintControler::Config(), SetInteractorScrollZ(), and SetInteractorWindowLevel().

00085 {
00086         interactorStyleMaracas->SetVtkInteractorStyleBaseView(this);
00087         _lstInteractorStyleMaracas.push_back(interactorStyleMaracas);
00088 }

Here is the call graph for this function:

Here is the caller graph for this function:

void vtkInteractorStyleBaseView::AddParentToReport ( wxEvtHandler *  parentToReport  )  [inherited]

Definition at line 366 of file vtkInteractorStyleBaseView.cxx.

References vtkInteractorStyleBaseView::_lstParentToReport.

Referenced by wxMaracasRenderTabbedPanel::addMPROptions().

00367 {
00368         _lstParentToReport.push_back(parentToReport);
00369 }

Here is the caller graph for this function:

void vtkInteractorStyleBaseView::BlockRefresh (  )  [inherited]

Definition at line 345 of file vtkInteractorStyleBaseView.cxx.

References vtkInteractorStyleBaseView::_blockRefresh.

Referenced by vtkmyPWCallback_3DPointWidget::Execute().

00346 {
00347         _blockRefresh=true;
00348 }

Here is the caller graph for this function:

void vtkInteractorStyleBaseView::CallLstInteractorStyleMaracas ( int  type  )  [inherited]

Definition at line 114 of file vtkInteractorStyleBaseView.cxx.

References vtkInteractorStyleBaseView::_lstInteractorStyleMaracas, vtkInteractorStyleBaseView::EvaluateToRefresh(), InteractorStyleMaracas::GetActive(), InteractorStyleMaracas::OnChar(), InteractorStyleMaracas::OnLeftButtonDown(), InteractorStyleMaracas::OnLeftButtonUp(), InteractorStyleMaracas::OnLeftDClick(), InteractorStyleMaracas::OnMiddleButtonDown(), InteractorStyleMaracas::OnMiddleButtonUp(), vtkInteractorStyleBaseView::OnMiddleDClick(), InteractorStyleMaracas::OnMouseMove(), InteractorStyleMaracas::OnMouseWheel(), InteractorStyleMaracas::OnRightButtonDown(), InteractorStyleMaracas::OnRightButtonUp(), and InteractorStyleMaracas::OnRightDClick().

Referenced by vtkInteractorStyleBaseView::OnChar(), vtkInteractorStyleBaseView::OnLeftButtonDown(), vtkInteractorStyleBaseView::OnLeftButtonUp(), vtkInteractorStyleBaseView::OnLeftDClick(), vtkInteractorStyleBaseView::OnMiddleButtonDown(), vtkInteractorStyleBaseView::OnMiddleButtonUp(), vtkInteractorStyleBaseView::OnMiddleDClick(), vtkInteractorStyleBaseView::OnMouseMove(), vtkInteractorStyleBaseView::OnMouseWheel(), vtkInteractorStyleBaseView::OnRightButtonDown(), vtkInteractorStyleBaseView::OnRightButtonUp(), and vtkInteractorStyleBaseView::OnRightDClick().

00115 {
00116 
00117         InteractorStyleMaracas *intStyMar;
00118 
00119         int i,size=_lstInteractorStyleMaracas.size();
00120 
00121 //EED Borrame
00122 //FILE *ff = fopen("c:/temp/wxVtkBaseView_SceneManagerStadistics.txt","a+");
00123 //fprintf(ff,"EED vtkInteractorStyleBaseView::CallLstInteractorStyleMaracas \n" );
00124 //for (i=0;i<size;i++)
00125 //{
00126 //fprintf(ff,"    %p\n" , _lstInteractorStyleMaracas[i] );
00127 //}
00128 //fclose(ff);
00129 
00130 
00131 
00132         for (i=0;i<size;i++)
00133         {
00134                 if (i < (int)_lstInteractorStyleMaracas.size() )
00135                 {
00136                         intStyMar = _lstInteractorStyleMaracas[i];
00137                 } else {
00138                         intStyMar=NULL;
00139                 }
00140                 if (intStyMar!=NULL && intStyMar->GetActive()==true){
00141                         if (type ==1)
00142                         {  // OnRightButtonDown
00143                                 if (intStyMar->OnRightButtonDown()==false)
00144                                 {
00145                                         i=size;
00146                                 }
00147                         }
00148                         if (type ==2)
00149                         {  // OnRightButtonUp
00150                                 if (intStyMar->OnRightButtonUp()==false)
00151                                 {
00152                                         i=size;
00153                                 }
00154                         }
00155                         if (type==3)
00156                         {  // OnMouseMouve
00157                                 if (intStyMar->OnMouseMove()==false)
00158                                 {
00159                                         i=size;
00160                                 }
00161                         }
00162                         if (type==4)
00163                         {  // OnLeftButtonDown
00164                                 if (intStyMar->OnLeftButtonDown()==false)
00165                                 {
00166                                         i=size;
00167                                 }
00168                         }
00169                         if (type==5)
00170                         {  // OnLeftButtonUp
00171                                 if (intStyMar->OnLeftButtonUp()==false)
00172                                 {
00173                                         i=size;
00174                                 }
00175                         }
00176                         if (type==6)
00177                         {  // OnMiddleButtonDown
00178                                 if (intStyMar->OnMiddleButtonDown()==false)
00179                                 {
00180                                         i=size;
00181                                 }
00182                         }
00183                         if (type==7)
00184                         {  // OnMiddleButtonUp
00185                                 if (intStyMar->OnMiddleButtonUp()==false)
00186                                 {
00187                                         i=size;
00188                                 }
00189                         }
00190                         if (type==10)
00191                         {  // OnMiddleButtonUp
00192                                 if (intStyMar->OnChar()==false)
00193                                 {
00194                                         i=size;
00195                                 }
00196                         }
00197                         if (type==11)
00198                         {  // OnLeftDClick
00199                                 if (intStyMar->OnLeftDClick()==false)
00200                                 {
00201                                         i=size;
00202                                 }
00203                         }
00204                         if (type==12)
00205                         {  // OnRightDClick
00206                                 if (intStyMar->OnRightDClick()==false)
00207                                 {
00208                                         i=size;
00209                                 }
00210                         }
00211                         if (type==13)
00212                         {  // OnMiddleDClick
00213                                 if (intStyMar-> OnMiddleDClick()==false)
00214                                 {
00215                                         i=size;
00216                                 }
00217                         }
00218                         if (type==14)
00219                         {  // OnMouseWheel
00220                                 if (intStyMar->OnMouseWheel()==false)
00221                                 {
00222                                         i=size;
00223                                 }
00224                         }
00225                 } // if active
00226         } // for
00227 
00228         EvaluateToRefresh();
00229 }

Here is the call graph for this function:

Here is the caller graph for this function:

void vtkInteractorStyleBaseView::EvaluateToRefresh (  )  [inherited]

Definition at line 319 of file vtkInteractorStyleBaseView.cxx.

References vtkInteractorStyleBaseView::_blockRefresh, vtkInteractorStyleBaseView::_lstParentToReport, vtkInteractorStyleBaseView::_parent_refresh_waiting, vtkInteractorStyleBaseView::_refresh_waiting, vtkInteractorStyleBaseView::_wxvtkbaseview, wxVtkBaseView::GetWxVTKRenderWindowInteractor(), and wxVtkBaseView::Refresh().

Referenced by vtkInteractorStyleBaseView::CallLstInteractorStyleMaracas(), and vtkmyPWCallback_3DPointWidget::Execute().

00320 {
00321 
00322         if  ( _blockRefresh==false )
00323         {
00324                 if ( (_refresh_waiting==true) && (_parent_refresh_waiting==false))
00325                 {
00326                         _refresh_waiting                = false;
00327                         this->_wxvtkbaseview->Refresh();
00328                 }
00329                 if (_parent_refresh_waiting==true)
00330                 {
00331                         _parent_refresh_waiting = false;
00332                         wxCommandEvent newevent1(wxEVT_COMMAND_MENU_SELECTED,12121);  // Refresh
00333 //CPR 13/01/2010
00334                         this->_wxvtkbaseview->GetWxVTKRenderWindowInteractor()->GetParent()->ProcessEvent(newevent1);
00335                         int i;
00336                         int size = _lstParentToReport.size();
00337                         for(i = 0; i<size; i++)
00338                         {       
00339                                 _lstParentToReport[i]->ProcessEvent(newevent1);
00340                         }//for
00341                 }//if
00342         }//if _blockRefresh
00343 }

Here is the call graph for this function:

Here is the caller graph for this function:

bool vtkInteractorStyleBaseView::GetParent_refresh_waiting (  )  [inherited]

Definition at line 314 of file vtkInteractorStyleBaseView.cxx.

References vtkInteractorStyleBaseView::_parent_refresh_waiting.

00315 {
00316         return _parent_refresh_waiting;
00317 }

wxEvtHandler * vtkInteractorStyleBaseView::GetParentToReport ( int  i  )  [inherited]

Definition at line 355 of file vtkInteractorStyleBaseView.cxx.

References vtkInteractorStyleBaseView::_lstParentToReport.

00356 {
00357         wxEvtHandler* parentToReport = NULL;
00358         if(i>=0 && i<_lstParentToReport.size())
00359         {       
00360                 parentToReport = _lstParentToReport[i];
00361         }
00362         return parentToReport;
00363 
00364 }

bool vtkInteractorStyleBaseView::GetRefresh_waiting (  )  [inherited]

Definition at line 304 of file vtkInteractorStyleBaseView.cxx.

References vtkInteractorStyleBaseView::_refresh_waiting.

00305 {
00306         return _refresh_waiting;
00307 }

wxVtkBaseView * vtkInteractorStyleBaseView::GetWxVtk2DBaseView (  )  [inherited]
wxVtkBaseView * vtkInteractorStyleBaseView::GetWxVtk3DBaseView (  )  [inherited]

Definition at line 282 of file vtkInteractorStyleBaseView.cxx.

References vtkInteractorStyleBaseView::_wxvtkbaseview.

Referenced by manualContour3DControler::OnLeftButtonDown(), and vtkInteractorStyle3DView::SelectMarchibCubePoint().

00283 {
00284         return _wxvtkbaseview;
00285 }

Here is the caller graph for this function:

void vtkInteractorStyleBaseView::InsertInteractorStyleMaracas ( int  pos,
InteractorStyleMaracas interactorStyleMaracas 
) [inherited]

Definition at line 108 of file vtkInteractorStyleBaseView.cxx.

References vtkInteractorStyleBaseView::_lstInteractorStyleMaracas, and InteractorStyleMaracas::SetVtkInteractorStyleBaseView().

00109 {
00110         interactorStyleMaracas->SetVtkInteractorStyleBaseView(this);
00111         _lstInteractorStyleMaracas.insert(_lstInteractorStyleMaracas.begin()+pos,interactorStyleMaracas);
00112 }

Here is the call graph for this function:

static vtkInteractorStyleBaseView2D* vtkInteractorStyleBaseView2D::New (  )  [static]

Reimplemented from vtkInteractorStyleBaseView.

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

Here is the caller graph for this function:

void vtkInteractorStyleBaseView::OnChar (  )  [virtual, inherited]

Definition at line 231 of file vtkInteractorStyleBaseView.cxx.

References vtkInteractorStyleBaseView::CallLstInteractorStyleMaracas().

00232 {    
00233 //      char a=GetInteractor()->GetKeyCode();
00234         CallLstInteractorStyleMaracas(10);
00235 }

Here is the call graph for this function:

void vtkInteractorStyleBaseView2D::OnLeftButtonDown (  )  [virtual]

Reimplemented from vtkInteractorStyleBaseView.

Definition at line 67 of file vtkInteractorStyleBaseView2D.cxx.

Referenced by OnMiddleButtonDown().

00068 {
00069         vtkInteractorStyleBaseView::OnLeftButtonDown();
00070 
00071         if ((GetInteractor()->GetControlKey()==0) && (GetInteractor()->GetShiftKey()==1) )
00072         {
00073                 this->vtkInteractorStyleImage::OnLeftButtonDown();
00074         }
00075 }

Here is the caller graph for this function:

void vtkInteractorStyleBaseView2D::OnLeftButtonUp (  )  [virtual]

Reimplemented from vtkInteractorStyleBaseView.

Definition at line 77 of file vtkInteractorStyleBaseView2D.cxx.

Referenced by OnMiddleButtonUp().

Here is the caller graph for this function:

void vtkInteractorStyleBaseView::OnLeftDClick (  )  [virtual, inherited]

Definition at line 42 of file vtkInteractorStyleBaseView.cxx.

References vtkInteractorStyleBaseView::CallLstInteractorStyleMaracas().

00043 {
00044         CallLstInteractorStyleMaracas( 11 );
00045 }

Here is the call graph for this function:

void vtkInteractorStyleBaseView2D::OnMiddleButtonDown (  )  [virtual]

Reimplemented from vtkInteractorStyleBaseView.

Definition at line 84 of file vtkInteractorStyleBaseView2D.cxx.

References OnLeftButtonDown().

00085 {
00086         vtkInteractorStyleBaseView::OnMiddleButtonDown();
00087 
00088         if ((GetInteractor()->GetControlKey()==1) || (GetInteractor()->GetShiftKey()==1) )
00089         {
00090                 this->vtkInteractorStyleImage::OnLeftButtonDown();
00091         }
00092 }

Here is the call graph for this function:

void vtkInteractorStyleBaseView2D::OnMiddleButtonUp (  )  [virtual]

Reimplemented from vtkInteractorStyleBaseView.

Definition at line 94 of file vtkInteractorStyleBaseView2D.cxx.

References OnLeftButtonUp().

00095 {
00096         vtkInteractorStyleBaseView::OnMiddleButtonUp();
00097 
00098         if ((GetInteractor()->GetControlKey()==1) || (GetInteractor()->GetShiftKey()==1) )
00099         {
00100                 this->vtkInteractorStyleImage::OnLeftButtonUp();
00101         }
00102 }

Here is the call graph for this function:

void vtkInteractorStyleBaseView::OnMiddleDClick (  )  [virtual, inherited]

Definition at line 58 of file vtkInteractorStyleBaseView.cxx.

References vtkInteractorStyleBaseView::CallLstInteractorStyleMaracas().

Referenced by vtkInteractorStyleBaseView::CallLstInteractorStyleMaracas().

00059 {
00060         CallLstInteractorStyleMaracas( 13 );
00061 }

Here is the call graph for this function:

Here is the caller graph for this function:

void vtkInteractorStyleBaseView2D::OnMouseMove (  )  [virtual]

Reimplemented from vtkInteractorStyleBaseView.

Definition at line 61 of file vtkInteractorStyleBaseView2D.cxx.

void vtkInteractorStyleBaseView::OnMouseWheel (  )  [virtual, inherited]

Definition at line 79 of file vtkInteractorStyleBaseView.cxx.

References vtkInteractorStyleBaseView::CallLstInteractorStyleMaracas().

00080 {
00081         CallLstInteractorStyleMaracas( 14 );
00082 }

Here is the call graph for this function:

void vtkInteractorStyleBaseView2D::OnRightButtonDown (  )  [virtual]

Reimplemented from vtkInteractorStyleBaseView.

Definition at line 45 of file vtkInteractorStyleBaseView2D.cxx.

00046 {    
00047         vtkInteractorStyleBaseView::OnRightButtonDown();
00048 
00049         if ((GetInteractor()->GetControlKey()==1) && (GetInteractor()->GetShiftKey()==0) ){
00050                 this->vtkInteractorStyleImage::OnRightButtonDown();
00051         }
00052 }

void vtkInteractorStyleBaseView2D::OnRightButtonUp (  )  [virtual]
void vtkInteractorStyleBaseView::OnRightDClick (  )  [virtual, inherited]

Definition at line 74 of file vtkInteractorStyleBaseView.cxx.

References vtkInteractorStyleBaseView::CallLstInteractorStyleMaracas().

00075 {
00076         CallLstInteractorStyleMaracas( 12 );
00077 }

Here is the call graph for this function:

void vtkInteractorStyleBaseView::RemoveInteractorStyleMaracas ( InteractorStyleMaracas interactorStyleMaracas  )  [inherited]

Definition at line 90 of file vtkInteractorStyleBaseView.cxx.

References vtkInteractorStyleBaseView::_lstInteractorStyleMaracas, and InteractorStyleMaracas::RemoveVtkInteractorStyleBaseView().

00091 {
00092         interactorStyleMaracas->RemoveVtkInteractorStyleBaseView();
00093         int i, size = _lstInteractorStyleMaracas.size();
00094         std::vector< InteractorStyleMaracas* >::iterator iter = _lstInteractorStyleMaracas.begin();
00095         bool removed = false;
00096         for (i=0; !removed && i<size; i++)
00097         {
00098                 if ( _lstInteractorStyleMaracas[i] == interactorStyleMaracas )
00099                 {
00100                         _lstInteractorStyleMaracas.erase(iter);
00101                         removed = true;
00102                 } else {
00103                   iter++;
00104                 }
00105         }               
00106 }

Here is the call graph for this function:

void vtkInteractorStyleBaseView::SetActiveAllInteractors ( bool  ok  )  [inherited]

Definition at line 287 of file vtkInteractorStyleBaseView.cxx.

References vtkInteractorStyleBaseView::_lstInteractorStyleMaracas, and InteractorStyleMaracas::SetActive().

00288 {
00289         InteractorStyleMaracas *intStyMar;
00290         int i,size=_lstInteractorStyleMaracas.size();
00291         for (i=0;i<size;i++)
00292         {
00293                 intStyMar = _lstInteractorStyleMaracas[i];
00294                 intStyMar->SetActive(ok);
00295         }
00296 
00297 }

Here is the call graph for this function:

void vtkInteractorStyleBaseView2D::SetInteractorScrollZ ( vtkInteractorScrollZ interactorScroll  ) 

Definition at line 31 of file vtkInteractorStyleBaseView2D.cxx.

References _vtkInteractorScrollZ, and vtkInteractorStyleBaseView::AddInteractorStyleMaracas().

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

00032 {    
00033         _vtkInteractorScrollZ = interactorScroll;
00034         AddInteractorStyleMaracas(_vtkInteractorScrollZ);
00035 }

Here is the call graph for this function:

Here is the caller graph for this function:

void vtkInteractorStyleBaseView2D::SetInteractorWindowLevel ( manualInteractorWindowLevel interactorWindowLevel  ) 

Definition at line 38 of file vtkInteractorStyleBaseView2D.cxx.

References _manualinteractorwindowlevel, and vtkInteractorStyleBaseView::AddInteractorStyleMaracas().

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

00039 {    
00040         _manualinteractorwindowlevel = interactorWindowLevel;
00041         AddInteractorStyleMaracas(_manualinteractorwindowlevel);
00042 }

Here is the call graph for this function:

Here is the caller graph for this function:

void vtkInteractorStyleBaseView::SetParent_refresh_waiting (  )  [inherited]
void vtkInteractorStyleBaseView::SetRefresh_waiting (  )  [inherited]
void vtkInteractorStyleBaseView::SetwxVtkBaseView ( wxVtkBaseView wxvtkbaseview  )  [inherited]

Definition at line 262 of file vtkInteractorStyleBaseView.cxx.

References vtkInteractorStyleBaseView::_wxvtkbaseview.

Referenced by wxVtk3DBaseView::Configure(), wxVtk2DView_TMP::Configure(), and wxVtk2DBaseView::SetInteractorStyleImage().

00263 {
00264         _wxvtkbaseview = wxvtkbaseview;
00265 }

Here is the caller graph for this function:

void vtkInteractorStyleBaseView::TransformCoordinate ( double &  X,
double &  Y,
double &  Z 
) [virtual, inherited]

Definition at line 237 of file vtkInteractorStyleBaseView.cxx.

References vtkInteractorStyleBaseView::GetWxVtk2DBaseView().

Referenced by vtkInteractorStyleMPRView::OnLeftButtonDown(), vtkInteractorStyleSphere::OnLeftButtonUp(), vtkInteractorStyleMPRView::OnLeftDClick(), and vtkInteractorStyleMPRView::OnMouseMove().

00238 {
00239         if(((wxVtk2DBaseView*)GetWxVtk2DBaseView())->_imageViewer2XYZ){
00240                 vtkImageViewer2 *imageViewer = ((wxVtk2DBaseView*)GetWxVtk2DBaseView())->_imageViewer2XYZ->GetVtkImageViewer2();
00241 
00242                 imageViewer->GetRenderer()->SetDisplayPoint((int)X, (int)Y, (int)Z);
00243                 imageViewer->GetRenderer()->DisplayToWorld();
00244                 double fP[4];
00245                 imageViewer->GetRenderer()->GetWorldPoint( fP );
00246 
00247                 if ( fP[3] ){
00248                         fP[0] /= fP[3];
00249                         fP[1] /= fP[3];
00250                         fP[2] /= fP[3];
00251                 }
00252 
00253         // EEDx5
00254                 ((wxVtk2DBaseView*)GetWxVtk2DBaseView())->TransformCoordinate_spacing_ViewToModel(fP[0],fP[1],fP[2]);
00255 
00256                 X=fP[0];
00257                 Y=fP[1];
00258                 Z=fP[2];
00259         }
00260 }

Here is the call graph for this function:

Here is the caller graph for this function:

void vtkInteractorStyleBaseView::UnBlockRefresh (  )  [inherited]

Definition at line 350 of file vtkInteractorStyleBaseView.cxx.

References vtkInteractorStyleBaseView::_blockRefresh.

Referenced by vtkmyPWCallback_3DPointWidget::Execute().

00351 {
00352         _blockRefresh=false;
00353 }

Here is the caller graph for this function:


Member Data Documentation

Definition at line 32 of file vtkInteractorStyleBaseView2D.h.

Referenced by SetInteractorWindowLevel().

Definition at line 33 of file vtkInteractorStyleBaseView2D.h.

Referenced by SetInteractorScrollZ().


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

Generated on 20 Oct 2010 for creaMaracasVisu_lib by  doxygen 1.6.1