From 8a439806d734fc07b675648fc64b8d7b5f9754e5 Mon Sep 17 00:00:00 2001 From: eap Date: Tue, 3 May 2005 12:59:46 +0000 Subject: [PATCH] PostPro 2005, T1.5: 2D fields displayed in 3D. Add methods about presentation type --- src/VISU_I/VISU_Plot3D_i.cc | 10 ++++++++++ src/VISU_I/VISU_Plot3D_i.hh | 3 +++ 2 files changed, 13 insertions(+) diff --git a/src/VISU_I/VISU_Plot3D_i.cc b/src/VISU_I/VISU_Plot3D_i.cc index 6755db81..9528e62a 100644 --- a/src/VISU_I/VISU_Plot3D_i.cc +++ b/src/VISU_I/VISU_Plot3D_i.cc @@ -137,6 +137,16 @@ CORBA::Long VISU::Plot3D_i::GetNbOfContours() return myPlot3DPL->GetNumberOfContours(); } +void VISU::Plot3D_i::SetContourPrs (CORBA::Boolean theIsContourPrs ) +{ + myPlot3DPL->SetContourPrs( theIsContourPrs ); +} + +CORBA::Boolean VISU::Plot3D_i::GetIsContourPrs() +{ + return myPlot3DPL->GetIsContourPrs(); +} + void VISU::Plot3D_i::DoHook() { if (!myPipeLine) myPipeLine = VISU_Plot3DPL::New(); diff --git a/src/VISU_I/VISU_Plot3D_i.hh b/src/VISU_I/VISU_Plot3D_i.hh index 02ca0f28..48930196 100644 --- a/src/VISU_I/VISU_Plot3D_i.hh +++ b/src/VISU_I/VISU_Plot3D_i.hh @@ -38,6 +38,9 @@ namespace VISU { virtual void SetScaleFactor (CORBA::Double theScaleFactor); virtual CORBA::Double GetScaleFactor(); + virtual void SetContourPrs (CORBA::Boolean theIsContourPrs ); + CORBA::Boolean GetIsContourPrs(); + virtual void SetNbOfContours (CORBA::Long theNb); virtual CORBA::Long GetNbOfContours(); -- 2.39.2