1 // Copyright (C) 2007-2012 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_OptionalDeformation_i_HeaderFile
25 #define VISU_OptionalDeformation_i_HeaderFile
28 #include "VISU_Deformation_i.hh"
29 #include "VISU_OptionalDeformationPL.hxx"
32 class VISU_I_EXPORT OptionalDeformation_i : public virtual POA_VISU::OptionalDeformation,
33 public virtual Deformation_i
35 OptionalDeformation_i(const OptionalDeformation_i&);
37 typedef VISU::OptionalDeformation TInterface;
38 typedef Deformation_i TSuperClass;
40 OptionalDeformation_i(VISU::ColoredPrs3d_i* theModifiedEngine);
41 virtual ~OptionalDeformation_i();
43 virtual void UseDeformation(CORBA::Boolean theFlag);
44 virtual CORBA::Boolean IsDeformed();
49 DeformationToStream(std::ostringstream& theStr);
53 RestoreDeformation(SALOMEDS::SObject_ptr theSObject,
54 const Storable::TRestoringMap& theMap);
58 SameAsDeformation(const Deformation_i *aDeformedPrs);
62 void InitDeformedPipeLine(VISU_DeformationPL* theDeformedPipeLine);
64 VISU_OptionalDeformationPL*
65 GetSpecificDeformedPL() const
67 return myOptionalDeformationPL;
71 VISU_OptionalDeformationPL* myOptionalDeformationPL;