From: eap Date: Mon, 14 Nov 2005 10:06:34 +0000 (+0000) Subject: PAL10250. Dump Plot3D X-Git-Tag: V3_1_0a3~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8f99b1046b36311dd818560668e4aa62e1803251;p=modules%2Fvisu.git PAL10250. Dump Plot3D --- 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()<<")"<