1 // Copyright (C) 2007-2008 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
22 #ifndef VISU_Plot3D_i_HeaderFile
23 #define VISU_Plot3D_i_HeaderFile
25 #include "VISU_ScalarMap_i.hh"
31 //----------------------------------------------------------------------------
32 class VISU_I_EXPORT Plot3D_i : public virtual POA_VISU::Plot3D,
33 public virtual ScalarMap_i
35 static int myNbPresent;
36 Plot3D_i(const Plot3D_i&);
39 //----------------------------------------------------------------------------
40 typedef ScalarMap_i TSuperClass;
41 typedef VISU::Plot3D TInterface;
44 Plot3D_i(EPublishInStudyMode thePublishInStudyModep);
58 SetOrientation (VISU::Plot3D::Orientation theOrient,
59 CORBA::Double theXAngle,
60 CORBA::Double theYAngle);
63 VISU::Plot3D::Orientation
76 SetPlanePosition(CORBA::Double thePlanePosition,
77 CORBA::Boolean theIsRelative);
89 SetScaleFactor(CORBA::Double theScaleFactor);
97 SetContourPrs(CORBA::Boolean theIsContourPrs);
104 SetNbOfContours(CORBA::Long theNb);
111 GetSpecificPL() const
117 //! Redefines VISU_ColoredPrs3d_i::CreatePipeLine
120 CreatePipeLine(VISU_PipeLine* thePipeLine);
122 //! Redefines VISU_ColoredPrs3d_i::CheckIsPossible
127 VISU_Plot3DPL *myPlot3DPL;
132 IsPossible(Result_i* theResult,
133 const std::string& theMeshName,
134 VISU::Entity theEntity,
135 const std::string& theFieldName,
136 CORBA::Long theTimeStampNumber,
137 bool theIsMemoryCheck);
141 Create(const std::string& theMeshName,
142 VISU::Entity theEntity,
143 const std::string& theFieldName,
144 CORBA::Long theTimeStampNumber);
148 ToStream (std::ostringstream& theStr);
152 Restore(SALOMEDS::SObject_ptr theSObject,
153 const Storable::TRestoringMap& theMap);
159 static const std::string myComment;
174 SetMapScale(double theMapScale);