//---------------------------------------------------------------------------
void vtkInteractorStyleBaseView::CallLstInteractorStyleMaracas(int type)
{
+printf("EED vtkInteractorStyleBaseView::CallLstInteractorStyleMaracas Start \n ");
InteractorStyleMaracas *intStyMar;
int i,size=_lstInteractorStyleMaracas.size();
} // for
EvaluateToRefresh();
+printf("EED vtkInteractorStyleBaseView::CallLstInteractorStyleMaracas End \n ");
+
}
//---------------------------------------------------------------------------
void vtkInteractorStyleBaseView::OnChar() // virtual
//---------------------------------------------------------------------------
void vtkInteractorStyleBaseView::EvaluateToRefresh()
{
+printf("EED vtkInteractorStyleBaseView::EvaluateToRefresh Start \n ");
if ( _blockRefresh==false )
{
if ( (_refresh_waiting==true) && (_parent_refresh_waiting==false))
{
_refresh_waiting = false;
+ printf("EED vtkInteractorStyleBaseView::EvaluateToRefresh 1.0 \n ");
this->_wxvtkbaseview->Refresh();
+ printf("EED vtkInteractorStyleBaseView::EvaluateToRefresh 1.1 \n ");
}
if (_parent_refresh_waiting==true)
{
#if wxMAJOR_VERSION <= 2
this->_wxvtkbaseview->GetWxVTKRenderWindowInteractor()->GetParent()->ProcessEvent(newevent1);
#else
+ printf("EED vtkInteractorStyleBaseView::EvaluateToRefresh 2.0 \n ");
this->_wxvtkbaseview->GetWxVTKRenderWindowInteractor()->GetParent()->ProcessWindowEvent(newevent1);
+ printf("EED vtkInteractorStyleBaseView::EvaluateToRefresh 2.1 \n ");
#endif
int i;
int size = _lstParentToReport.size();
for(i = 0; i<size; i++)
{
+ printf("EED vtkInteractorStyleBaseView::EvaluateToRefresh 3.0 \n ");
_lstParentToReport[i]->ProcessEvent(newevent1);
+ printf("EED vtkInteractorStyleBaseView::EvaluateToRefresh 3.1 \n ");
}//for
}//if
}//if _blockRefresh
+printf("EED vtkInteractorStyleBaseView::EvaluateToRefresh End\n");
}
//---------------------------------------------------------------------------
void vtkInteractorStyleBaseView::BlockRefresh()
//-------------------------------------------------------------------
void wxVtk2DBaseView::ResetView()
{
- printf("EED wxVtk2DBaseView::ResetView");
+ printf("EED wxVtk2DBaseView::ResetView Start\n");
double spx = 0,spy = 0,spz = 0;
int x1 = 1,x2 = 1,y1 = 1,y2 = 1,z1 = 1,z2 = 1;
wxVtkBaseView::Configure();
// RaC
//////////////
+ printf("EED wxVtk2DBaseView::ResetView End\n");
}
//-------------------------------------------------------------------
void wxVtk2DBaseView::Refresh()
{
+printf("EED wxVtk2DBaseView::Refresh Start\n");
int z = (int)(GetVtkBaseData()->GetZ());
_imageViewer2XYZ->SetZSlice( z );
//EED 2016/02/19
UpdateColorWindowLevel();
UpdateCameraParallelScale();
wxVtkBaseView::Refresh();
+printf("EED wxVtk2DBaseView::Refresh End\n");
}
//-------------------------------------------------------------------
//-------------------------------------------------------------------
void wxVtk3DBaseView::Refresh()
{
+printf("EED wxVtk3DBaseView::Refresh Start\n");
// _renWin->Render();
vtkRenderWindowInteractor *vri = GetWxVTKRenderWindowInteractor();
vri->vtkRenderWindowInteractor::Render();
+printf("EED wxVtk3DBaseView::Refresh End\n");
}
//-------------------------------------------------------------------
//-------------------------------------------------------------------
void wxVtkBaseView::Refresh() // virtual
{
+printf("EED wxVtkBaseView::Refresh Start \n ");
+
// EED 10 Oct 2007
#if defined(WIN32)
_iren->Refresh(true);
vri->vtkRenderWindowInteractor::Render();
//_iren->Refresh();
#endif
+printf("EED wxVtkBaseView::Refresh End\n");
}
//-------------------------------------------------------------------
void wxVtkBaseView::RefreshView() // virtual
{
+printf("EED wxVtkBaseView::RefreshView Start\n");
// EED 10 Oct 2007
#if defined(WIN32)
GetRenWin()->Render();
#else
//GetRenWin()->Render();
#endif
+printf("EED wxVtkBaseView::RefreshView End\n");
}
//---------------------------------------------------------------------------
vtkRenderer* wxVtkBaseView::GetRenderer() // virtual