Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028 #ifndef VISU_DeformedShape_i_HeaderFile
00029 #define VISU_DeformedShape_i_HeaderFile
00030
00031 #include "VISU_I.hxx"
00032 #include "VISU_MonoColorPrs_i.hh"
00033
00034 class VISU_DeformedShapePL;
00035
00036 namespace VISU
00037 {
00038
00039 class VISU_I_EXPORT DeformedShape_i : public virtual POA_VISU::DeformedShape,
00040 public virtual MonoColorPrs_i
00041 {
00042 static int myNbPresent;
00043 DeformedShape_i(const DeformedShape_i&);
00044
00045 public:
00046
00047 typedef MonoColorPrs_i TSuperClass;
00048 typedef VISU::DeformedShape TInterface;
00049
00050 explicit
00051 DeformedShape_i(EPublishInStudyMode thePublishInStudyModep);
00052
00053 virtual
00054 void
00055 SameAs(const Prs3d_i* theOrigin);
00056
00057 virtual
00058 ~DeformedShape_i();
00059
00060 virtual
00061 VISU::VISUType
00062 GetType()
00063 {
00064 return VISU::TDEFORMEDSHAPE;
00065 }
00066
00067 virtual
00068 void
00069 SetScale(CORBA::Double theScale);
00070
00071 virtual
00072 CORBA::Double
00073 GetScale();
00074
00075 VISU_DeformedShapePL*
00076 GetSpecificPL() const
00077 {
00078 return myDeformedShapePL;
00079 }
00080
00081 protected:
00083 virtual
00084 void
00085 CreatePipeLine(VISU_PipeLine* thePipeLine);
00086
00088 virtual
00089 bool
00090 CheckIsPossible();
00091
00092 VISU_DeformedShapePL *myDeformedShapePL;
00093
00094 public:
00095 static
00096 size_t
00097 IsPossible(Result_i* theResult,
00098 const std::string& theMeshName,
00099 VISU::Entity theEntity,
00100 const std::string& theFieldName,
00101 CORBA::Long theTimeStampNumber,
00102 bool theIsMemoryCheck);
00103
00104 virtual
00105 Storable*
00106 Create(const std::string& theMeshName,
00107 VISU::Entity theEntity,
00108 const std::string& theFieldName,
00109 CORBA::Long theTimeStampNumber);
00110
00111 static const std::string myComment;
00112
00113 virtual
00114 const char*
00115 GetComment() const;
00116
00117 virtual
00118 QString
00119 GenerateName();
00120
00121 virtual
00122 const char*
00123 GetIconName();
00124
00125 virtual
00126 void
00127 ToStream(std::ostringstream& theStr);
00128
00129 virtual
00130 Storable*
00131 Restore(SALOMEDS::SObject_ptr theSObject,
00132 const Storable::TRestoringMap& theMap);
00133
00134 virtual
00135 void
00136 SetMapScale(double theMapScale = 1.0);
00137
00138 virtual
00139 VISU_Actor*
00140 CreateActor(bool toSupressShrinking);
00141
00142 };
00143 }
00144
00145 #endif