bbSetOutputwxVtkBaseView2( wvbv2 );
bbSetOutputwxVtkBaseView3( wvbv3 );
bbSetOutputwxVtkBaseView4( wvbv4 );
- printf("EED ViewerNV::Process export renderer\n");
if (wvbv1!=NULL) { bbSetOutputRenderer1( wvbv1->GetRenderer() ); }
if (wvbv2!=NULL) { bbSetOutputRenderer2( wvbv2->GetRenderer() ); }
if (wvbv3!=NULL) { bbSetOutputRenderer3( wvbv3->GetRenderer() ); }
//-------------------------------------------------------------------------
wxVtkBaseView *wxMaracas_N_ViewersWidget::GetwxVtkBaseView(int iWin)
{
- wxVtkBaseView *wxvtkbaseview=NULL;
- wxMaracas_ViewerWidget *tmpWin=GetWindow(iWin);
+ wxVtkBaseView *wxvtkbaseview = NULL;
+ wxMaracas_ViewerWidget *tmpWin = GetWindow(iWin);
if (tmpWin!=NULL){ wxvtkbaseview = tmpWin->GetwxVtkBaseView(); }
return wxvtkbaseview;
}
{
wxWindow *wxwindow = NULL;
wxSizer *sizer = this->GetSizer();
-
if (mvtkmprbasedata!=NULL)
{
delete mvtkmprbasedata;
}
-
marImageData *marimagedata = new marImageData( imagedata );
mvtkmprbasedata = new vtkMPRBaseData();
mvtkmprbasedata->SetMarImageData(marimagedata);
-
if(_currentwxw != NULL){
_currentwxw->Show(false);
delete _currentwxw;
//sizer->Remove(currentwxwindow);
//delete currentwxwindow;
}
-
//std::cout<<"size "<<nTypeView->size()<<std::endl;
if (nTypeView->size()==1)
{
spliterB-> SplitHorizontally( wxwindow2 , wxwindow1 );
wxwindow = spliter;
}
-
//panel->SetDimension()
sizer->Add( wxwindow , 1, wxGROW);
-
//EED 2024-11-13
// sizer->Layout();
if (wxwindow1!=NULL) {wxwindow1->ConfigureVTK(); }
}
-
//-----------------------------------------------------------------------------------
void wxMaracas_N_ViewersWidget::SetType(std::vector<int>* type)
{