1 // Copyright (C) 2007-2010 CEA/DEN, EDF R&D, OPEN CASCADE
3 // This library is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU Lesser General Public
5 // License as published by the Free Software Foundation; either
6 // version 2.1 of the License.
8 // This library is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 // Lesser General Public License for more details.
13 // You should have received a copy of the GNU Lesser General Public
14 // License along with this library; if not, write to the Free Software
15 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
20 // File : VISU_Deformation_i.hxx
24 #ifndef VISU_Deformation_i_HeaderFile
25 #define VISU_Deformation_i_HeaderFile
28 #include "VISU_ColoredPrs3d_i.hh"
29 #include "VISU_DeformationPL.hxx"
35 class VISU_I_EXPORT Deformation_i : public virtual POA_VISU::Deformation
37 Deformation_i(const Deformation_i&);
39 typedef VISU::Deformation TInterface;
41 Deformation_i(VISU::ColoredPrs3d_i* theColoredPrs3d);
42 virtual ~Deformation_i();
46 SetScale(CORBA::Double theScale);
54 DeformationToStream(std::ostringstream& theStr);
58 RestoreDeformation(SALOMEDS::SObject_ptr theSObject,
59 const Storable::TRestoringMap& theMap);
63 SameAsDeformation(const Deformation_i *aDeformedPrs);
67 GetVectorialFieldEntity();
71 GetVectorialFieldName();
73 virtual void SetVectorialField(Entity theEntity, const char* theFieldName);
78 InitDeformedPipeLine(VISU_DeformationPL* theDeformedPipeLine);
81 GetSpecificDeformedPL() const
83 return myDeformationPL;
86 ColoredPrs3d_i* GetColoredPrs3d(){
87 return myColoredPrs3d;
92 VISU_DeformationPL *myDeformationPL;
94 PField myVectorialField;
95 VISU::Entity myVectorialEntity;
96 std::string myVectorialFieldName;
97 ColoredPrs3d_i *myColoredPrs3d;