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_CutPlanes_i_HeaderFile
00029 #define VISU_CutPlanes_i_HeaderFile
00030
00031 #include "VISU_ScalarMap_i.hh"
00032 #include "VISU_OptionalDeformation_i.hh"
00033
00034 class VISU_CutPlanesPL;
00035
00036 namespace VISU
00037 {
00038
00039 class VISU_I_EXPORT CutPlanes_i : public virtual POA_VISU::CutPlanes,
00040 public virtual ScalarMap_i,
00041 public virtual OptionalDeformation_i
00042 {
00043 static int myNbPresent;
00044 CutPlanes_i(const CutPlanes_i&);
00045
00046 public:
00047
00048 typedef ScalarMap_i TSuperClass;
00049 typedef VISU::CutPlanes TInterface;
00050
00051 explicit
00052 CutPlanes_i(EPublishInStudyMode thePublishInStudyModep);
00053
00054 virtual
00055 ~CutPlanes_i();
00056
00057 virtual
00058 VISU::VISUType
00059 GetType()
00060 {
00061 return VISU::TCUTPLANES;
00062 }
00063
00064 virtual
00065 void
00066 SetOrientation(VISU::CutPlanes::Orientation theOrient,
00067 CORBA::Double theXAngle,
00068 CORBA::Double theYAngle);
00069
00070 virtual
00071 VISU::CutPlanes::Orientation
00072 GetOrientationType();
00073
00074 virtual
00075 CORBA::Double
00076 GetRotateX();
00077
00078 virtual
00079 CORBA::Double
00080 GetRotateY();
00081
00082 virtual
00083 void
00084 SetDisplacement(CORBA::Double theDisp);
00085
00086 virtual
00087 CORBA::Double
00088 GetDisplacement();
00089
00090 virtual
00091 void
00092 SetPlanePosition(CORBA::Long thePlaneNumber,
00093 CORBA::Double thePlanePosition);
00094 virtual
00095 CORBA::Double
00096 GetPlanePosition(CORBA::Long thePlaneNumber);
00097
00098 virtual
00099 void
00100 SetDefault(CORBA::Long thePlaneNumber);
00101
00102 virtual
00103 CORBA::Boolean
00104 IsDefault(CORBA::Long thePlaneNumber);
00105
00106 virtual
00107 void
00108 SetNbPlanes(CORBA::Long theNb);
00109
00110 virtual
00111 CORBA::Long
00112 GetNbPlanes();
00113
00114 VISU_CutPlanesPL*
00115 GetSpecificPL() const
00116 {
00117 return myCutPlanesPL;
00118 }
00119
00120 protected:
00122 virtual
00123 void
00124 CreatePipeLine(VISU_PipeLine* thePipeLine);
00125
00127 virtual
00128 bool
00129 CheckIsPossible();
00130
00131 VISU_CutPlanesPL *myCutPlanesPL;
00132
00133 public:
00135 static
00136 size_t
00137 IsPossible(Result_i* theResult,
00138 const std::string& theMeshName,
00139 VISU::Entity theEntity,
00140 const std::string& theFieldName,
00141 CORBA::Long theTimeStampNumber,
00142 bool theIsMemoryCheck);
00143
00145 virtual
00146 Storable*
00147 Create(const std::string& theMeshName,
00148 VISU::Entity theEntity,
00149 const std::string& theFieldName,
00150 CORBA::Long theTimeStampNumber);
00151
00153 virtual
00154 void
00155 ToStream(std::ostringstream& theStr);
00156
00158 virtual
00159 Storable*
00160 Restore(SALOMEDS::SObject_ptr theSObject,
00161 const Storable::TRestoringMap& theMap);
00162
00163 virtual
00164 void
00165 SameAs(const Prs3d_i* theOrigin);
00166
00168 virtual
00169 VISU_Actor*
00170 CreateActor();
00171
00172 static const std::string myComment;
00173
00175 virtual
00176 const char*
00177 GetComment() const;
00178
00180 virtual
00181 QString
00182 GenerateName();
00183
00184 virtual
00185 const char*
00186 GetIconName();
00187 };
00188 }
00189
00190 #endif