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 // File : VISU_Deformation_i.hxx
26 #ifndef VISU_Deformation_i_HeaderFile
27 #define VISU_Deformation_i_HeaderFile
30 #include "VISU_ColoredPrs3d_i.hh"
31 #include "VISU_DeformationPL.hxx"
37 class VISU_I_EXPORT Deformation_i : public virtual POA_VISU::Deformation
39 Deformation_i(const Deformation_i&);
41 typedef VISU::Deformation TInterface;
43 Deformation_i(VISU::ColoredPrs3d_i* theColoredPrs3d);
44 virtual ~Deformation_i();
48 SetScale(CORBA::Double theScale);
56 DeformationToStream(std::ostringstream& theStr);
60 RestoreDeformation(SALOMEDS::SObject_ptr theSObject,
61 const Storable::TRestoringMap& theMap);
65 SameAsDeformation(const Deformation_i *aDeformedPrs);
69 GetVectorialFieldEntity();
73 GetVectorialFieldName();
75 virtual void SetVectorialField(Entity theEntity, const char* theFieldName);
80 InitDeformedPipeLine(VISU_DeformationPL* theDeformedPipeLine);
83 GetSpecificDeformedPL() const
85 return myDeformationPL;
88 ColoredPrs3d_i* GetColoredPrs3d(){
89 return myColoredPrs3d;
94 VISU_DeformationPL *myDeformationPL;
96 PField myVectorialField;
97 VISU::Entity myVectorialEntity;
98 std::string myVectorialFieldName;
99 ColoredPrs3d_i *myColoredPrs3d;