VISU::Prs3d_i* aPrsObject = dynamic_cast<VISU::Prs3d_i*>(VISU::GetServant(anObject).in());
if(aPrsObject){
if(MYDEBUG) MESSAGE("VisuGUI::OnDisplayPrs : Prs3d object");
- UpdateViewer( this, aPrsObject );
+ //UpdateViewer( this, aPrsObject );
+ displayer()->Display( anIO->getEntry() );
+
SVTK_ViewWindow* vw = GetViewWindow( this, /*create=*/true );
if ( vw ) {
vw->highlight(anIO, 1);
VISU::Curve_i* aCurve = dynamic_cast<VISU::Curve_i*>(VISU::GetServant(anObject).in());
if(aCurve){
if(MYDEBUG) MESSAGE("VisuGUI::OnDisplayPrs : Curve object");
- PlotCurve( this, aCurve, VISU::eDisplay );
+ //PlotCurve( this, aCurve, VISU::eDisplay );
+ displayer()->Display( anIO->getEntry() );
continue;
}
// is it Container ?
VISU::Container_i* aContainer = dynamic_cast<VISU::Container_i*>(VISU::GetServant(anObject).in());
if(aContainer){
if(MYDEBUG) MESSAGE("VisuGUI::DisplayPrs : Container object");
- PlotContainer( this, aContainer, VISU::eDisplay );
+ //PlotContainer( this, aContainer, VISU::eDisplay );
+ displayer()->Display( anIO->getEntry() );
continue;
}
// is it Table ?
VISU::Table_i* aTable = dynamic_cast<VISU::Table_i*>(VISU::GetServant(anObject).in());
if(aTable){
if(MYDEBUG) MESSAGE("VisuGUI::DisplayPrs : Table object");
- PlotTable( this, aTable, VISU::eDisplay );
+ //PlotTable( this, aTable, VISU::eDisplay );
+ displayer()->Display( anIO->getEntry() );
continue;
}
}