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_Vectors_i_HeaderFile
00029 #define VISU_Vectors_i_HeaderFile
00030
00031 #include "VISU_DeformedShape_i.hh"
00032
00033 class VISU_VectorsPL;
00034
00035 namespace VISU
00036 {
00037
00038 class VISU_I_EXPORT Vectors_i : public virtual POA_VISU::Vectors,
00039 public virtual DeformedShape_i
00040 {
00041 static int myNbPresent;
00042 Vectors_i(const Vectors_i&);
00043
00044 public:
00045
00046 typedef DeformedShape_i TSuperClass;
00047 typedef VISU::Vectors TInterface;
00048
00049 explicit
00050 Vectors_i(EPublishInStudyMode thePublishInStudyModep);
00051
00052 virtual
00053 void
00054 SameAs(const Prs3d_i* theOrigin);
00055
00056 virtual
00057 ~Vectors_i();
00058
00059 virtual
00060 VISU::VISUType
00061 GetType()
00062 {
00063 return VISU::TVECTORS;
00064 }
00065
00066 virtual
00067 void
00068 SetLineWidth(CORBA::Double theWidth);
00069
00070 virtual
00071 CORBA::Double
00072 GetLineWidth();
00073
00074 virtual
00075 void
00076 SetGlyphType(VISU::Vectors::GlyphType theType);
00077
00078 virtual
00079 VISU::Vectors::GlyphType
00080 GetGlyphType();
00081
00082 virtual
00083 void
00084 SetGlyphPos(VISU::Vectors::GlyphPos thePos);
00085
00086 virtual
00087 VISU::Vectors::GlyphPos
00088 GetGlyphPos();
00089
00090 VISU_VectorsPL*
00091 GetSpecificPL() const
00092 {
00093 return myVectorsPL;
00094 }
00095
00096 protected:
00098 virtual
00099 void
00100 CreatePipeLine(VISU_PipeLine* thePipeLine);
00101
00103 virtual
00104 bool
00105 CheckIsPossible();
00106
00107 virtual
00108 VISU_PipeLine*
00109 GetActorPipeLine();
00110
00111 VISU_VectorsPL *myVectorsPL;
00112 float myLineWidth;
00113
00114 public:
00116 static
00117 size_t
00118 IsPossible(Result_i* theResult,
00119 const std::string& theMeshName,
00120 VISU::Entity theEntity,
00121 const std::string& theFieldName,
00122 CORBA::Long theTimeStampNumber,
00123 bool theIsMemoryCheck);
00124
00126 virtual
00127 Storable*
00128 Create(const std::string& theMeshName,
00129 VISU::Entity theEntity,
00130 const std::string& theFieldName,
00131 CORBA::Long theTimeStampNumber);
00132
00134 virtual
00135 void
00136 ToStream(std::ostringstream& theStr);
00137
00139 virtual
00140 Storable*
00141 Restore(SALOMEDS::SObject_ptr theSObject,
00142 const Storable::TRestoringMap& theMap);
00143
00144 static const std::string myComment;
00145
00147 virtual
00148 const char*
00149 GetComment() const;
00150
00152 virtual
00153 QString
00154 GenerateName();
00155
00156 virtual
00157 const char*
00158 GetIconName();
00159
00161 virtual
00162 VISU_Actor*
00163 CreateActor();
00164
00166 virtual
00167 void
00168 UpdateActor(VISU_ActorBase* theActor) ;
00169 };
00170 }
00171
00172 #endif