1 // Copyright (C) 2007-2012 CEA/DEN, EDF R&D, OPEN CASCADE
3 // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
6 // This library is free software; you can redistribute it and/or
7 // modify it under the terms of the GNU Lesser General Public
8 // License as published by the Free Software Foundation; either
9 // version 2.1 of the License.
11 // This library is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 // Lesser General Public License for more details.
16 // You should have received a copy of the GNU Lesser General Public
17 // License along with this library; if not, write to the Free Software
18 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
23 #ifndef VISU_Plot3D_i_HeaderFile
24 #define VISU_Plot3D_i_HeaderFile
26 #include "VISU_ScalarMap_i.hh"
32 //----------------------------------------------------------------------------
33 class VISU_I_EXPORT Plot3D_i : public virtual POA_VISU::Plot3D,
34 public virtual ScalarMap_i
36 static int myNbPresent;
37 Plot3D_i(const Plot3D_i&);
40 //----------------------------------------------------------------------------
41 typedef ScalarMap_i TSuperClass;
42 typedef VISU::Plot3D TInterface;
45 Plot3D_i(EPublishInStudyMode thePublishInStudyModep);
59 SetOrientation (VISU::Plot3D::Orientation theOrient,
60 CORBA::Double theXAngle,
61 CORBA::Double theYAngle);
64 VISU::Plot3D::Orientation
77 SetPlanePosition(CORBA::Double thePlanePosition,
78 CORBA::Boolean theIsRelative);
90 SetScaleFactor(CORBA::Double theScaleFactor);
98 SetContourPrs(CORBA::Boolean theIsContourPrs);
105 SetNbOfContours(CORBA::Long theNb);
112 GetSpecificPL() const
118 //! Redefines VISU_ColoredPrs3d_i::CreatePipeLine
121 CreatePipeLine(VISU_PipeLine* thePipeLine);
123 //! Redefines VISU_ColoredPrs3d_i::CheckIsPossible
128 VISU_Plot3DPL *myPlot3DPL;
133 IsPossible(Result_i* theResult,
134 const std::string& theMeshName,
135 VISU::Entity theEntity,
136 const std::string& theFieldName,
137 CORBA::Long theTimeStampNumber,
138 bool theIsMemoryCheck);
142 Create(const std::string& theMeshName,
143 VISU::Entity theEntity,
144 const std::string& theFieldName,
145 CORBA::Long theTimeStampNumber);
149 ToStream (std::ostringstream& theStr);
153 Restore(SALOMEDS::SObject_ptr theSObject,
154 const Storable::TRestoringMap& theMap);
160 static const std::string myComment;
175 SetMapScale(double theMapScale);