Program: wxMaracas
Module: $RCSfile: wxMaracas_N_ViewersWidget.cxx,v $
Language: C++
- Date: $Date: 2009/09/15 11:25:07 $
- Version: $Revision: 1.12 $
+ Date: $Date: 2009/11/30 20:52:51 $
+ Version: $Revision: 1.13 $
Copyright: (c) 2002, 2003
License:
//-----------------------------------------------------------------------------------
void wxMaracas_N_ViewersWidget::SetImage( vtkImageData *image )
{
- if (wxwindow1!=NULL) {
-
- wxwindow1->SetImage(image);
- }
+ if (wxwindow1!=NULL) { wxwindow1->SetImage(image); }
if (wxwindow2!=NULL) { wxwindow2->SetImage(image); }
if (wxwindow3!=NULL) { wxwindow3->SetImage(image); }
if (wxwindow4!=NULL) { wxwindow4->SetImage(image); }
+ }
-
+//-----------------------------------------------------------------------------------
+ void wxMaracas_N_ViewersWidget::ConfigureVTK()
+ {
+ if (wxwindow1!=NULL) { wxwindow1->ConfigureVTK(); }
+ if (wxwindow2!=NULL) { wxwindow2->ConfigureVTK(); }
+ if (wxwindow3!=NULL) { wxwindow3->ConfigureVTK(); }
+ if (wxwindow4!=NULL) { wxwindow4->ConfigureVTK(); }
}
//-----------------------------------------------------------------------------------