1 // Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
2 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
4 // This library is free software; you can redistribute it and/or
5 // modify it under the terms of the GNU Lesser General Public
6 // License as published by the Free Software Foundation; either
7 // version 2.1 of the License.
9 // This library is distributed in the hope that it will be useful
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 // Lesser General Public License for more details.
14 // You should have received a copy of the GNU Lesser General Public
15 // License along with this library; if not, write to the Free Software
16 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 #ifndef VISU_Plot3D_i_HeaderFile
22 #define VISU_Plot3D_i_HeaderFile
24 #include "VISU_ScalarMap_i.hh"
30 //----------------------------------------------------------------------------
31 class VISU_I_EXPORT Plot3D_i : public virtual POA_VISU::Plot3D,
32 public virtual ScalarMap_i
34 static int myNbPresent;
35 Plot3D_i(const Plot3D_i&);
38 //----------------------------------------------------------------------------
39 typedef ScalarMap_i TSuperClass;
40 typedef VISU::Plot3D TInterface;
43 Plot3D_i(EPublishInStudyMode thePublishInStudyModep);
57 SetOrientation (VISU::Plot3D::Orientation theOrient,
58 CORBA::Double theXAngle,
59 CORBA::Double theYAngle);
62 VISU::Plot3D::Orientation
75 SetPlanePosition(CORBA::Double thePlanePosition,
76 CORBA::Boolean theIsRelative);
88 SetScaleFactor(CORBA::Double theScaleFactor);
96 SetContourPrs(CORBA::Boolean theIsContourPrs);
103 SetNbOfContours(CORBA::Long theNb);
110 GetSpecificPL() const
116 //! Redefines VISU_ColoredPrs3d_i::CreatePipeLine
119 CreatePipeLine(VISU_PipeLine* thePipeLine);
121 //! Redefines VISU_ColoredPrs3d_i::CheckIsPossible
126 VISU_Plot3DPL *myPlot3DPL;
131 IsPossible(Result_i* theResult,
132 const std::string& theMeshName,
133 VISU::Entity theEntity,
134 const std::string& theFieldName,
135 CORBA::Long theTimeStampNumber,
136 bool theIsMemoryCheck);
140 Create(const std::string& theMeshName,
141 VISU::Entity theEntity,
142 const std::string& theFieldName,
143 CORBA::Long theTimeStampNumber);
147 ToStream (std::ostringstream& theStr);
151 Restore(SALOMEDS::SObject_ptr theSObject,
152 const Storable::TRestoringMap& theMap);
158 static const std::string myComment;
173 SetMapScale(double theMapScale);