From 8f99b1046b36311dd818560668e4aa62e1803251 Mon Sep 17 00:00:00 2001 From: eap Date: Mon, 14 Nov 2005 10:06:34 +0000 Subject: [PATCH] PAL10250. Dump Plot3D --- src/VISU_I/VISU_DumpPython.cc | 30 +++++++++--------------------- 1 file changed, 9 insertions(+), 21 deletions(-) diff --git a/src/VISU_I/VISU_DumpPython.cc b/src/VISU_I/VISU_DumpPython.cc index 02ae8b78..91b8ef80 100644 --- a/src/VISU_I/VISU_DumpPython.cc +++ b/src/VISU_I/VISU_DumpPython.cc @@ -839,34 +839,22 @@ namespace VISU{ return; case VISU::TPLOT3D: if (Plot3D_i* aServant = dynamic_cast(GetServant(anObj).in())) { - // jfa: TODO - /*thePrefix = ScalarMapToPython(theSObject, aServant, theStr, aName, + thePrefix = ScalarMapToPython(theSObject, aServant, theStr, aName, "Plot3DOnField", theArgumentName, thePrefix); std::string aParam; switch(aServant->GetOrientationType()){ - case CutPlanes::XY: - aParam = "VISU.CutPlanes.XY"; - break; - case CutPlanes::YZ: - aParam = "VISU.CutPlanes.YZ"; - break; - case CutPlanes::ZX: - aParam = "VISU.CutPlanes.ZX"; - break; + case CutPlanes::XY: aParam = "VISU.Plot3D.XY"; break; + case CutPlanes::YZ: aParam = "VISU.Plot3D.YZ"; break; + case CutPlanes::ZX: aParam = "VISU.Plot3D.ZX"; break; } theStr<GetRotateX()<<","<GetRotateY()<<")"<GetDisplacement()<<")"<GetNbPlanes(); - theStr<IsDefault(anId)) - theStr<GetPlanePosition(anId)<<")"<GetPlanePosition()<<","<IsPositionRelative()<<")"<GetScaleFactor()<<")"<GetIsContourPrs()<<")"<GetNbOfContours()<<")"<