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 #ifndef VISU_Plot3D_i_HeaderFile
00024 #define VISU_Plot3D_i_HeaderFile
00025
00026 #include "VISU_ScalarMap_i.hh"
00027
00028 class VISU_Plot3DPL;
00029
00030 namespace VISU
00031 {
00032
00033 class VISU_I_EXPORT Plot3D_i : public virtual POA_VISU::Plot3D,
00034 public virtual ScalarMap_i
00035 {
00036 static int myNbPresent;
00037 Plot3D_i(const Plot3D_i&);
00038
00039 public:
00040
00041 typedef ScalarMap_i TSuperClass;
00042 typedef VISU::Plot3D TInterface;
00043
00044 explicit
00045 Plot3D_i(EPublishInStudyMode thePublishInStudyModep);
00046
00047 virtual
00048 ~Plot3D_i();
00049
00050 virtual
00051 VISU::VISUType
00052 GetType()
00053 {
00054 return VISU::TPLOT3D;
00055 }
00056
00057 virtual
00058 void
00059 SetOrientation (VISU::Plot3D::Orientation theOrient,
00060 CORBA::Double theXAngle,
00061 CORBA::Double theYAngle);
00062
00063 virtual
00064 VISU::Plot3D::Orientation
00065 GetOrientationType();
00066
00067 virtual
00068 CORBA::Double
00069 GetRotateX();
00070
00071 virtual
00072 CORBA::Double
00073 GetRotateY();
00074
00075 virtual
00076 void
00077 SetPlanePosition(CORBA::Double thePlanePosition,
00078 CORBA::Boolean theIsRelative);
00079
00080 virtual
00081 CORBA::Double
00082 GetPlanePosition();
00083
00084 virtual
00085 CORBA::Boolean
00086 IsPositionRelative();
00087
00088 virtual
00089 void
00090 SetScaleFactor(CORBA::Double theScaleFactor);
00091
00092 virtual
00093 CORBA::Double
00094 GetScaleFactor();
00095
00096 virtual
00097 void
00098 SetContourPrs(CORBA::Boolean theIsContourPrs);
00099
00100 CORBA::Boolean
00101 GetIsContourPrs();
00102
00103 virtual
00104 void
00105 SetNbOfContours(CORBA::Long theNb);
00106
00107 virtual
00108 CORBA::Long
00109 GetNbOfContours();
00110
00111 VISU_Plot3DPL*
00112 GetSpecificPL() const
00113 {
00114 return myPlot3DPL;
00115 }
00116
00117 protected:
00119 virtual
00120 void
00121 CreatePipeLine(VISU_PipeLine* thePipeLine);
00122
00124 virtual
00125 bool
00126 CheckIsPossible();
00127
00128 VISU_Plot3DPL *myPlot3DPL;
00129
00130 public:
00131 static
00132 size_t
00133 IsPossible(Result_i* theResult,
00134 const std::string& theMeshName,
00135 VISU::Entity theEntity,
00136 const std::string& theFieldName,
00137 CORBA::Long theTimeStampNumber,
00138 bool theIsMemoryCheck);
00139
00140 virtual
00141 Storable*
00142 Create(const std::string& theMeshName,
00143 VISU::Entity theEntity,
00144 const std::string& theFieldName,
00145 CORBA::Long theTimeStampNumber);
00146
00147 virtual
00148 void
00149 ToStream (std::ostringstream& theStr);
00150
00151 virtual
00152 Storable*
00153 Restore(SALOMEDS::SObject_ptr theSObject,
00154 const Storable::TRestoringMap& theMap);
00155
00156 virtual
00157 VISU_Actor*
00158 CreateActor();
00159
00160 static const std::string myComment;
00161
00162 virtual
00163 const char*
00164 GetComment() const;
00165
00166 virtual
00167 QString
00168 GenerateName();
00169
00170 virtual
00171 const char*
00172 GetIconName();
00173
00174 void
00175 SetMapScale(double theMapScale);
00176 };
00177 }
00178
00179 #endif