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 ()
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 ()
bool GetRefresh_waiting ()
bool GetParent_refresh_waiting ()
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.

References _manualinteractorwindowlevel, _vtkInteractorScrollZ, and vtkInteractorStyleBaseView::AddInteractorStyleMaracas().

Here is the call graph for this function:

vtkInteractorStyleBaseView2D::~vtkInteractorStyleBaseView2D (  ) 

Definition at line 19 of file vtkInteractorStyleBaseView2D.cxx.

00020 {
00021 }


Member Function Documentation

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 vtkInteractorStyleBaseView2D::OnMouseMove (  )  [virtual]

Reimplemented from vtkInteractorStyleBaseView.

Definition at line 41 of file vtkInteractorStyleBaseView2D.cxx.

References vtkInteractorStyleBaseView::OnMouseMove().

00042 {
00043         vtkInteractorStyleBaseView::OnMouseMove();
00044         this->vtkInteractorStyleImage::OnMouseMove();
00045 }

Here is the call graph for this function:

void vtkInteractorStyleBaseView2D::OnLeftButtonDown (  )  [virtual]

Reimplemented from vtkInteractorStyleBaseView.

Definition at line 47 of file vtkInteractorStyleBaseView2D.cxx.

References vtkInteractorStyleBaseView::OnLeftButtonDown().

00048 {
00049         vtkInteractorStyleBaseView::OnLeftButtonDown();
00050 
00051         if ((GetInteractor()->GetControlKey()==0) && (GetInteractor()->GetShiftKey()==1) )
00052         {
00053                 this->vtkInteractorStyleImage::OnLeftButtonDown();
00054         }
00055 }

Here is the call graph for this function:

void vtkInteractorStyleBaseView2D::OnLeftButtonUp (  )  [virtual]

Reimplemented from vtkInteractorStyleBaseView.

Definition at line 57 of file vtkInteractorStyleBaseView2D.cxx.

References vtkInteractorStyleBaseView::OnLeftButtonUp().

00058 {
00059         vtkInteractorStyleBaseView::OnLeftButtonUp();
00060 
00061         this->vtkInteractorStyleImage::OnLeftButtonUp();
00062 }

Here is the call graph for this function:

void vtkInteractorStyleBaseView2D::OnMiddleButtonDown (  )  [virtual]

Reimplemented from vtkInteractorStyleBaseView.

Definition at line 64 of file vtkInteractorStyleBaseView2D.cxx.

References vtkInteractorStyleBaseView::OnMiddleButtonDown().

00065 {
00066         vtkInteractorStyleBaseView::OnMiddleButtonDown();
00067 
00068         if ((GetInteractor()->GetControlKey()==1) || (GetInteractor()->GetShiftKey()==1) )
00069         {
00070                 this->vtkInteractorStyleImage::OnLeftButtonDown();
00071         }
00072 }

Here is the call graph for this function:

void vtkInteractorStyleBaseView2D::OnMiddleButtonUp (  )  [virtual]

Reimplemented from vtkInteractorStyleBaseView.

Definition at line 74 of file vtkInteractorStyleBaseView2D.cxx.

References vtkInteractorStyleBaseView::OnMiddleButtonUp().

00075 {
00076         vtkInteractorStyleBaseView::OnMiddleButtonUp();
00077 
00078         if ((GetInteractor()->GetControlKey()==1) || (GetInteractor()->GetShiftKey()==1) )
00079         {
00080                 this->vtkInteractorStyleImage::OnLeftButtonUp();
00081         }
00082 }

Here is the call graph for this function:

void vtkInteractorStyleBaseView2D::OnRightButtonDown (  )  [virtual]

Reimplemented from vtkInteractorStyleBaseView.

Definition at line 24 of file vtkInteractorStyleBaseView2D.cxx.

References vtkInteractorStyleBaseView::OnRightButtonDown().

00025 {    
00026         vtkInteractorStyleBaseView::OnRightButtonDown();
00027 
00028         if ((GetInteractor()->GetControlKey()==1) && (GetInteractor()->GetShiftKey()==0) ){
00029                 this->vtkInteractorStyleImage::OnRightButtonDown();
00030         }
00031 
00032 }

Here is the call graph for this function:

void vtkInteractorStyleBaseView2D::OnRightButtonUp (  )  [virtual]

Reimplemented from vtkInteractorStyleBaseView.

Definition at line 35 of file vtkInteractorStyleBaseView2D.cxx.

References vtkInteractorStyleBaseView::OnRightButtonUp().

00036 {
00037         vtkInteractorStyleBaseView::OnRightButtonUp();
00038         this->vtkInteractorStyleImage::OnRightButtonUp();
00039 }

Here is the call graph for this function:

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

Definition at line 225 of file vtkInteractorStyleBaseView.cxx.

References vtkInteractorStyleBaseView::CallLstInteractorStyleMaracas().

00226 {    
00227 //      char a=GetInteractor()->GetKeyCode();
00228         CallLstInteractorStyleMaracas(10);
00229 }

Here is the call 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 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::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 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 vtkInteractorStyleBaseView::TransformCoordinate ( double &  X,
double &  Y,
double &  Z 
) [virtual, inherited]

Definition at line 231 of file vtkInteractorStyleBaseView.cxx.

References vtkInteractorStyleBaseView::GetWxVtk2DBaseView().

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

00232 {
00233     vtkImageViewer2 *imageViewer = ((wxVtk2DBaseView*)GetWxVtk2DBaseView())->_imageViewer2XYZ->GetVtkImageViewer2();
00234 
00235         imageViewer->GetRenderer()->SetDisplayPoint((int)X, (int)Y, (int)Z);
00236         imageViewer->GetRenderer()->DisplayToWorld();
00237         double fP[4];
00238         imageViewer->GetRenderer()->GetWorldPoint( fP );
00239 
00240         if ( fP[3] ){
00241                 fP[0] /= fP[3];
00242                 fP[1] /= fP[3];
00243                 fP[2] /= fP[3];
00244         }
00245 
00246 // EEDx5
00247         ((wxVtk2DBaseView*)GetWxVtk2DBaseView())->TransformCoordinate_spacing_ViewToModel(fP[0],fP[1],fP[2]);
00248 
00249         X=fP[0];
00250         Y=fP[1];
00251         Z=fP[2];
00252 }

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 84 of file vtkInteractorStyleBaseView.cxx.

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

Referenced by vtkInteractorStyleBaseView2D().

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::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                 }
00103                 iter++;
00104         }               
00105 }

Here is the call graph for this function:

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

Definition at line 107 of file vtkInteractorStyleBaseView.cxx.

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

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

Here is the call graph for this function:

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

Definition at line 113 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().

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

Here is the call graph for this function:

Here is the caller graph for this function:

wxVtkBaseView * vtkInteractorStyleBaseView::GetWxVtk2DBaseView (  )  [inherited]

Definition at line 269 of file vtkInteractorStyleBaseView.cxx.

References vtkInteractorStyleBaseView::_wxvtkbaseview.

Referenced by manualContourBaseControler::OnChar(), vtkInteractorStylePlane2D::OnLeftButtonDown(), vtkInteractorStyleMPRView::OnLeftButtonDown(), manualContourBaseControler::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(), vtkInfoTextImageInteractor::OnMouseMove(), manualInteractorWindowLevel::OnMouseMove(), manualContourBaseControler::OnMouseMove(), vtkInteractorStyleSphere::OnRightButtonDown(), vtkInteractorScrollZ::OnRightButtonDown(), manualContourBaseControler::OnRightButtonDown(), vtkInteractorStyleSphere::OnRightButtonUp(), vtkInteractorStyleBaseView::TransformCoordinate(), and wxVtkBaseView::TransFromCoordScreenToWorld().

00270 {
00271         return _wxvtkbaseview;
00272 }

Here is the caller graph for this function:

wxVtkBaseView * vtkInteractorStyleBaseView::GetWxVtk3DBaseView (  )  [inherited]

Definition at line 274 of file vtkInteractorStyleBaseView.cxx.

References vtkInteractorStyleBaseView::_wxvtkbaseview.

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

00275 {
00276         return _wxvtkbaseview;
00277 }

Here is the caller graph for this function:

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

Definition at line 254 of file vtkInteractorStyleBaseView.cxx.

References vtkInteractorStyleBaseView::_wxvtkbaseview.

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

00255 {
00256         _wxvtkbaseview = wxvtkbaseview;
00257 }

Here is the caller graph for this function:

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

Definition at line 279 of file vtkInteractorStyleBaseView.cxx.

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

00280 {
00281         InteractorStyleMaracas *intStyMar;
00282         int i,size=_lstInteractorStyleMaracas.size();
00283         for (i=0;i<size;i++)
00284         {
00285                 intStyMar = _lstInteractorStyleMaracas[i];
00286                 intStyMar->SetActive(ok);
00287         }
00288 
00289 }

Here is the call graph for this function:

void vtkInteractorStyleBaseView::SetRefresh_waiting (  )  [inherited]

Definition at line 291 of file vtkInteractorStyleBaseView.cxx.

References vtkInteractorStyleBaseView::_refresh_waiting.

Referenced by manualContourControler::MouseDLeft(), manualContourControler::MouseMove(), manualContourBaseControler::OnChar(), manualContour3DControler::OnChar(), vtkInfoTextImageInteractorPlane2D::OnMouseMove(), and vtkInfoTextImageInteractor::OnMouseMove().

00292 {
00293         _refresh_waiting=true;
00294 }

Here is the caller graph for this function:

void vtkInteractorStyleBaseView::SetParent_refresh_waiting (  )  [inherited]

Definition at line 301 of file vtkInteractorStyleBaseView.cxx.

References vtkInteractorStyleBaseView::_parent_refresh_waiting.

Referenced by manualContour3VControler::AddPoint_Others(), manualContour3VControler::DeleteActualMousePoint_Others(), vtkmyPWCallback_3DPointWidget::Execute(), manualContour3VControler::InsertPoint_Others(), manualContour3DControler::MouseClickLeft(), manualContourPerpPlaneControler::MouseDLeft(), manualContour3VControler::MouseMove_Others(), manualContour3VControler::OnChar_Others(), vtkInteractorStylePlane2D::OnLeftDClick(), vtkInteractorStylePlane2D::OnMouseMove(), vtkInteractorStyleMPRView::OnMouseMove(), and vtkInteractorScrollZ::OnMouseMove().

00302 {
00303         _parent_refresh_waiting=true;
00304 }

Here is the caller graph for this function:

bool vtkInteractorStyleBaseView::GetRefresh_waiting (  )  [inherited]

Definition at line 296 of file vtkInteractorStyleBaseView.cxx.

References vtkInteractorStyleBaseView::_refresh_waiting.

00297 {
00298         return _refresh_waiting;
00299 }

bool vtkInteractorStyleBaseView::GetParent_refresh_waiting (  )  [inherited]

Definition at line 306 of file vtkInteractorStyleBaseView.cxx.

References vtkInteractorStyleBaseView::_parent_refresh_waiting.

00307 {
00308         return _parent_refresh_waiting;
00309 }

void vtkInteractorStyleBaseView::EvaluateToRefresh (  )  [inherited]

Definition at line 311 of file vtkInteractorStyleBaseView.cxx.

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

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

00312 {
00313 
00314         if  ( _blockRefresh==false )
00315         {
00316                 if ( (_refresh_waiting==true) && (_parent_refresh_waiting==false))
00317                 {
00318                         _refresh_waiting                = false;
00319                         this->_wxvtkbaseview->Refresh();
00320                 }
00321                 if (_parent_refresh_waiting==true)
00322                 {
00323                         _parent_refresh_waiting = false;
00324                         wxCommandEvent newevent1(wxEVT_COMMAND_MENU_SELECTED,12121);  // Refresh
00325                         this->_wxvtkbaseview->GetWxVTKRenderWindowInteractor()->GetParent()->ProcessEvent(newevent1);
00326                 }
00327         }
00328 }

Here is the call graph for this function:

Here is the caller graph for this function:

void vtkInteractorStyleBaseView::BlockRefresh (  )  [inherited]

Definition at line 330 of file vtkInteractorStyleBaseView.cxx.

References vtkInteractorStyleBaseView::_blockRefresh.

Referenced by vtkmyPWCallback_3DPointWidget::Execute().

00331 {
00332         _blockRefresh=true;
00333 }

Here is the caller graph for this function:

void vtkInteractorStyleBaseView::UnBlockRefresh (  )  [inherited]

Definition at line 335 of file vtkInteractorStyleBaseView.cxx.

References vtkInteractorStyleBaseView::_blockRefresh.

Referenced by vtkmyPWCallback_3DPointWidget::Execute().

00336 {
00337         _blockRefresh=false;
00338 }

Here is the caller graph for this function:


Member Data Documentation

manualInteractorWindowLevel* vtkInteractorStyleBaseView2D::_manualinteractorwindowlevel [private]

Definition at line 28 of file vtkInteractorStyleBaseView2D.h.

Referenced by vtkInteractorStyleBaseView2D().

vtkInteractorScrollZ* vtkInteractorStyleBaseView2D::_vtkInteractorScrollZ [private]

Definition at line 29 of file vtkInteractorStyleBaseView2D.h.

Referenced by vtkInteractorStyleBaseView2D().

std::vector< InteractorStyleMaracas* > vtkInteractorStyleBaseView::_lstInteractorStyleMaracas [protected, inherited]

Definition at line 60 of file vtkInteractorStyleBaseView.h.

Referenced by vtkInteractorStyleBaseView::AddInteractorStyleMaracas(), vtkInteractorStyleBaseView::CallLstInteractorStyleMaracas(), vtkInteractorStyleBaseView::InsertInteractorStyleMaracas(), vtkInteractorStyleBaseView::RemoveInteractorStyleMaracas(), and vtkInteractorStyleBaseView::SetActiveAllInteractors().


The documentation for this class was generated from the following files:
Generated on Wed Jul 29 16:36:14 2009 for creaMaracasVisu_lib by  doxygen 1.5.3