Version: 9.12.0
SMESH_ActorDef.h
Go to the documentation of this file.
1 // Copyright (C) 2007-2023 CEA, EDF, OPEN CASCADE
2 //
3 // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
5 //
6 // This library is free software; you can redistribute it and/or
7 // modify it under the terms of the GNU Lesser General Public
8 // License as published by the Free Software Foundation; either
9 // version 2.1 of the License, or (at your option) any later version.
10 //
11 // This library is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 // Lesser General Public License for more details.
15 //
16 // You should have received a copy of the GNU Lesser General Public
17 // License along with this library; if not, write to the Free Software
18 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 //
20 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 //
22 
23 // SMESH OBJECT : interactive object for SMESH visualization
24 // File : SMESH_ActorDef.h
25 // Author : Nicolas REJNERI
26 // Module : SMESH
27 //
28 #ifndef SMESH_ACTORDEF_H
29 #define SMESH_ACTORDEF_H
30 
31 #include "SMESH_Actor.h"
32 #include "SMESH_Object.h"
33 
34 #include <vtkSmartPointer.h>
35 
36 template <class T>
37 class TVTKSmartPtr: public vtkSmartPointer<T>
38 {
39 public:
41  TVTKSmartPtr(T* r, bool theIsOwner = false): vtkSmartPointer<T>(r) {
42  if(r && theIsOwner)
43  r->Delete();
44  }
45  TVTKSmartPtr& operator()(T* r, bool theIsOwner = false){
47  if(r && theIsOwner)
48  r->Delete();
49  return *this;
50  }
52  T* Get() const { return this->GetPointer();}
53 };
54 
55 
56 class vtkProperty;
57 class vtkShrinkFilter;
58 class vtkPolyDataMapper;
60 class vtkMergeFilter;
61 class vtkPolyData;
62 class vtkMapper;
63 class vtkActor2D;
64 class vtkLookupTable;
65 class vtkPlane;
66 class vtkImplicitBoolean;
67 class vtkTimeStamp;
68 class vtkPlaneCollection;
69 
70 class SMESH_DeviceActor;
74 
75 #ifndef DISABLE_PLOT2DVIEWER
76 class SPlot2d_Histogram;
77 #endif
78 
79 
81 {
82  friend class SMESH_VisualObj;
83  friend class SMESH_Actor;
84 
85  public:
87 
88  virtual void Delete();
89 
90  virtual void ReleaseGraphicsResources(vtkWindow *renWin);
91  virtual int RenderOpaqueGeometry(vtkViewport *viewport);
92  virtual int RenderTranslucentGeometry(vtkViewport *viewport);
93  virtual void Render(vtkRenderer *ren);
94 
95  virtual void AddToRender(vtkRenderer* theRenderer);
96  virtual void RemoveFromRender(vtkRenderer* theRenderer);
97 
98  virtual void EnableSelection( bool enable );
99  virtual bool hasHighlight() { return true; }
100  virtual void highlight(bool theHighlight);
101  virtual void SetPreSelected(bool thePreselect = false);
102 
103  virtual bool IsInfinitive();
104 
105  virtual void SetOpacity(double theValue);
106  virtual double GetOpacity();
107 
108  virtual void SetSufaceColor(double r,double g,double b, int delta );
109  virtual void GetSufaceColor(double& r,double& g,double& b, int& delta);
110 
111  virtual void SetVolumeColor(double r,double g,double b, int delta );
112  virtual void GetVolumeColor(double& r,double& g,double& b, int& delta);
113 
114  virtual void SetEdgeColor(double r,double g,double b);
115  virtual void GetEdgeColor(double& r,double& g,double& b);
116 
117  virtual void SetOutlineColor(double r,double g,double b);
118  virtual void GetOutlineColor(double& r,double& g,double& b);
119 
120 
121  virtual void SetNodeColor(double r,double g,double b);
122  virtual void GetNodeColor(double& r,double& g,double& b);
123 
124  virtual void Set0DColor(double r,double g,double b);
125  virtual void Get0DColor(double& r,double& g,double& b);
126 
127  virtual void SetBallColor(double r,double g,double b);
128  virtual void GetBallColor(double& r,double& g,double& b);
129 
130  virtual void UpdateSelectionProps();
131 
132  virtual double GetLineWidth();
133  virtual void SetLineWidth(double theVal);
134 
135  virtual double GetOutlineWidth();
136  virtual void SetOutlineWidth(double theVal);
137 
138  virtual void Set0DSize(double size);
139  virtual double Get0DSize();
140 
141  virtual void SetBallSize(double size);
142  virtual double GetBallSize();
143 
144  virtual void SetBallScale(double size);
145  virtual double GetBallScale();
146 
147  virtual vtkIdType GetNodeObjId(vtkIdType theVtkID);
148  virtual double* GetNodeCoord(vtkIdType theObjID);
149  virtual vtkIdType GetNodeVtkId(vtkIdType theObjID);
150 
151  virtual vtkIdType GetElemObjId(vtkIdType theVtkID);
152  virtual vtkCell* GetElemCell(vtkIdType theObjID);
153 
154  virtual int GetObjDimension( const vtkIdType theObjId ) override;
155 
156  virtual void SetVisibility(int theMode);
157  void SetVisibility(int theMode, bool theIsUpdateRepersentation);
158 
159  virtual void SetRepresentation(int theMode);
160 
161  virtual unsigned int GetEntityMode() const { return myEntityMode;}
162  virtual void SetEntityMode(unsigned int theMode);
163 
164  virtual void SetPointRepresentation(bool theIsPointsVisible);
165  virtual bool GetPointRepresentation();
166 
167  virtual double* GetBounds();
168  virtual void SetTransform(VTKViewer_Transform* theTransform);
169 
171  virtual vtkDataSet* GetInput();
172  virtual vtkMapper* GetMapper();
173 
174  virtual double GetShrinkFactor();
175  virtual void SetShrinkFactor(double theValue);
176 
177  virtual bool IsShrunkable() { return myIsShrinkable;}
178  virtual bool IsShrunk() { return myIsShrunk;}
179  virtual void SetShrink();
180  virtual void UnShrink();
181 
182  virtual void SetPointsLabeled(bool theIsPointsLabeled);
183  virtual bool GetPointsLabeled();
184 
185  virtual void SetPointsFontProperties( SMESH::LabelFont family, int size,
186  bool bold, bool italic, bool shadow,
187  double r, double g, double b );
188  virtual void SetCellsFontProperties( SMESH::LabelFont family, int size,
189  bool bold, bool italic, bool shadow,
190  double r, double g, double b );
191 
192  virtual void SetCellsLabeled(bool theIsCellsLabeled);
193  virtual bool GetCellsLabeled();
194 
195  virtual void SetFacesOriented(bool theIsFacesOriented);
196  virtual bool GetFacesOriented();
197 
198  virtual void SetFacesOrientationColor(double r,double g,double b);
199  virtual void GetFacesOrientationColor(double& r,double& g,double& b);
200 
201  virtual void SetFacesOrientationScale(double theScale);
202  virtual double GetFacesOrientationScale();
203 
204  virtual void SetFacesOrientation3DVectors(bool theState);
205  virtual bool GetFacesOrientation3DVectors();
206 
207  virtual void SetControlMode(eControl theMode);
208  virtual void SetControl(SMESH::Controls::FunctorPtr theFunctor);
209  virtual smIdType GetNumberControlEntities();
212 
214 
215  virtual void RemoveAllClippingPlanes();
216  virtual vtkIdType GetNumberOfClippingPlanes();
217  virtual vtkPlane* GetClippingPlane(vtkIdType theID);
218  virtual vtkIdType AddClippingPlane(vtkPlane* thePlane);
219  virtual void AddOpenGLClippingPlane(vtkPlane* thePlane);
220  virtual void SetOpenGLClippingPlane();
221 
222  virtual TVisualObjPtr GetObject() { return myVisualObj;}
223 
224  virtual void SetControlsPrecision( const long p ) { myControlsPrecision = p; }
225  virtual long GetControlsPrecision() const { return myControlsPrecision; }
226 
227  virtual void UpdateScalarBar();
228  virtual void UpdateDistribution();
229  virtual void ClipThreshold(bool isThresholdOn, double min = 0.0, double max = 0.0);
230  virtual bool IsClipThresholdOn() const { return myIsClipThresholdOn; }
231  virtual void SetWireframeOff(bool isWireframeOff);
232  virtual bool IsWireframeOff() const { return myIsWireframeOff; }
233 
234 #ifndef DISABLE_PLOT2DVIEWER
235  virtual SPlot2d_Histogram* GetPlot2Histogram() { return my2dHistogram; }
236  virtual SPlot2d_Histogram* UpdatePlot2Histogram();
237 #endif
238 
239 
242 
243  virtual void SetMarkerStd( VTK::MarkerType, VTK::MarkerScale );
244  virtual void SetMarkerTexture( int, VTK::MarkerTexture );
245 
246  virtual void UpdateFilter();
247 
248  protected:
249  void SetControlMode(eControl theMode, bool theCheckEntityMode);
250  void SetImplicitFunctionUsed(bool theIsImplicitFunctionUsed);
251  bool IsImplicitFunctionUsed() const;
252 
254  vtkTimeStamp* myTimeStamp;
255 
257  vtkLookupTable* myLookupTable;
258 
259  vtkProperty* mySurfaceProp;
260  vtkProperty* myBackSurfaceProp;
261  vtkProperty* myNormalVProp;
262  vtkProperty* myReversedVProp;
263  vtkProperty* myEdgeProp;
264  vtkProperty* myNodeProp;
265 
269 
270  vtkProperty* myHighlightProp;
271  vtkProperty* myOutLineProp;
272  vtkProperty* myPreselectProp;
273 
275 
278  vtkProperty* my2DExtProp;
279  vtkProperty* my3DExtProp;
285 
286  vtkProperty* myNodeExtProp;
288 
289  vtkProperty* my1DProp;
291  vtkProperty* my1DExtProp;
293 
294  vtkProperty* my0DProp;
296  vtkProperty* myBallProp;
298  vtkProperty* my0DExtProp;
300 
301  unsigned int myEntityMode;
302  unsigned int myEntityModeCache;
303  unsigned int objectEntitiesCache;
307  bool myIsClipThresholdOn = false;
308  bool myIsWireframeOff = false;
309 
312 
313  vtkImplicitBoolean* myImplicitBoolean;
314  vtkPlaneCollection* myPlaneCollection;
316  typedef std::vector<TPlanePtr> TCippingPlaneCont;
319 
320 #ifndef DISABLE_PLOT2DVIEWER
321  SPlot2d_Histogram* my2dHistogram;
322 #endif
323 
325 
328 
329  VTK::MarkerTexture myMarkerTexture;
330 
331  SMESH_ActorDef();
332  ~SMESH_ActorDef();
333 
334  bool Init(TVisualObjPtr theVisualObj,
335  const char* theEntry,
336  const char* theName,
337  int theIsClear);
338 
339  void SetIsShrunkable(bool theShrunkable);
340  void UpdateHighlight();
341  void Update();
342 
343  private:
344  // hide the two parameter Render() method from the user and the compiler.
345  virtual void Render(vtkRenderer *, vtkMapper *) {};
346  virtual void ShallowCopy(vtkProp *prop);
347  virtual void SetMapper(vtkMapper *);
348  static SMESH_ActorDef* New();
349 
350  // Not implemented.
352  void operator=(const SMESH_ActorDef&);
353 };
354 
355 
356 #endif //SMESH_ACTORDEF_H
boost::shared_ptr< SMESH_VisualObj > TVisualObjPtr
Definition: SMESH_Object.h:88
Definition: SMESH_ActorDef.h:81
~SMESH_ActorDef()
Definition: SMESH_Actor.cxx:589
int myDeltaBrightness
Definition: SMESH_ActorDef.h:326
vtkImplicitBoolean * myImplicitBoolean
Definition: SMESH_ActorDef.h:313
bool myIsEntityModeCache
Definition: SMESH_ActorDef.h:305
VTK::MarkerTexture myMarkerTexture
Definition: SMESH_ActorDef.h:329
SMESH_ScalarBarActor * myScalarBarActor
Definition: SMESH_ActorDef.h:256
virtual void UpdateDistribution()
Definition: SMESH_Actor.cxx:2548
SMESH_ActorDef()
Definition: SMESH_Actor.cxx:113
virtual void AddToRender(vtkRenderer *theRenderer)
Definition: SMESH_Actor.cxx:1175
virtual SMESH::Controls::FunctorPtr GetFunctor()
Definition: SMESH_ActorDef.h:211
virtual double * GetNodeCoord(vtkIdType theObjID)
Definition: SMESH_Actor.cxx:1469
virtual bool IsWireframeOff() const
Definition: SMESH_ActorDef.h:232
virtual void SetOutlineWidth(double theVal)
Definition: SMESH_Actor.cxx:2182
virtual SMESH_ScalarBarActor * GetScalarBarActor()
Definition: SMESH_ActorDef.h:213
unsigned int myEntityMode
Definition: SMESH_ActorDef.h:301
vtkProperty * my2DExtProp
Definition: SMESH_ActorDef.h:278
virtual bool GetCellsLabeled()
Definition: SMESH_Actor.cxx:739
unsigned int objectEntitiesCache
Definition: SMESH_ActorDef.h:303
SMESH_DeviceActor * myHighlitableActor
Definition: SMESH_ActorDef.h:274
virtual void EnableSelection(bool enable)
Definition: SMESH_Actor.cxx:1873
bool myIsClipThresholdOn
Definition: SMESH_ActorDef.h:307
bool myIsPointsVisible
Definition: SMESH_ActorDef.h:306
vtkTypeMacro(SMESH_ActorDef, SMESH_Actor) virtual void Delete()
virtual void Render(vtkRenderer *, vtkMapper *)
Definition: SMESH_ActorDef.h:345
virtual void SetOpenGLClippingPlane()
Definition: SMESH_Actor.cxx:2296
virtual void SetCellsFontProperties(SMESH::LabelFont family, int size, bool bold, bool italic, bool shadow, double r, double g, double b)
Definition: SMESH_Actor.cxx:683
SMESH_ActorDef(const SMESH_ActorDef &)
vtkPlaneCollection * myPlaneCollection
Definition: SMESH_ActorDef.h:314
virtual void SetFacesOrientationColor(double r, double g, double b)
Definition: SMESH_Actor.cxx:776
SMESH_NodeLabelActor * myNodeActor
Definition: SMESH_ActorDef.h:267
virtual void SetBallColor(double r, double g, double b)
Definition: SMESH_Actor.cxx:2128
vtkProperty * myEdgeProp
Definition: SMESH_ActorDef.h:263
virtual bool GetPointRepresentation()
Definition: SMESH_Actor.cxx:1821
virtual void SetOpacity(double theValue)
Definition: SMESH_Actor.cxx:2009
virtual void SetFacesOriented(bool theIsFacesOriented)
Definition: SMESH_Actor.cxx:761
virtual void SetTransform(VTKViewer_Transform *theTransform)
Definition: SMESH_Actor.cxx:1334
virtual void SetOutlineColor(double r, double g, double b)
Definition: SMESH_Actor.cxx:2087
virtual void SetShrinkFactor(double theValue)
Definition: SMESH_Actor.cxx:1408
virtual vtkUnstructuredGrid * GetUnstructuredGrid()
Definition: SMESH_Actor.cxx:1379
virtual void RemoveFromRender(vtkRenderer *theRenderer)
Definition: SMESH_Actor.cxx:1204
virtual double GetFacesOrientationScale()
Definition: SMESH_Actor.cxx:793
virtual void SetPointRepresentation(bool theIsPointsVisible)
Definition: SMESH_Actor.cxx:1813
virtual void SetShrink()
Definition: SMESH_Actor.cxx:1425
virtual double GetLineWidth()
Definition: SMESH_Actor.cxx:2155
virtual void SetCellsLabeled(bool theIsCellsLabeled)
Definition: SMESH_Actor.cxx:717
virtual long GetControlsPrecision() const
Definition: SMESH_ActorDef.h:225
vtkProperty * myBallProp
Definition: SMESH_ActorDef.h:296
virtual bool IsShrunkable()
Definition: SMESH_ActorDef.h:177
virtual void RemoveAllClippingPlanes()
Definition: SMESH_Actor.cxx:2352
vtkLookupTable * myLookupTable
Definition: SMESH_ActorDef.h:257
bool IsImplicitFunctionUsed() const
Definition: SMESH_Actor.cxx:2251
virtual void GetBallColor(double &r, double &g, double &b)
Definition: SMESH_Actor.cxx:2137
virtual void Get0DColor(double &r, double &g, double &b)
Definition: SMESH_Actor.cxx:2123
virtual void GetSufaceColor(double &r, double &g, double &b, int &delta)
Definition: SMESH_Actor.cxx:2045
virtual void SetPointsLabeled(bool theIsPointsLabeled)
Definition: SMESH_Actor.cxx:663
TVisualObjPtr myVisualObj
Definition: SMESH_ActorDef.h:253
virtual vtkIdType GetNodeVtkId(vtkIdType theObjID)
Definition: SMESH_Actor.cxx:1474
SPlot2d_Histogram * my2dHistogram
Definition: SMESH_ActorDef.h:321
virtual void SetMarkerTexture(int, VTK::MarkerTexture)
Definition: SMESH_Actor.cxx:2606
vtkProperty * mySurfaceProp
Definition: SMESH_ActorDef.h:259
virtual EQuadratic2DRepresentation GetQuadratic2DRepresentation()
Definition: SMESH_Actor.cxx:2591
virtual int RenderTranslucentGeometry(vtkViewport *viewport)
Definition: SMESH_Actor.cxx:1923
SMESH_DeviceActor * myNodeExtActor
Definition: SMESH_ActorDef.h:287
virtual double * GetBounds()
Definition: SMESH_Actor.cxx:1320
virtual void SetControlsPrecision(const long p)
Definition: SMESH_ActorDef.h:224
SMESH_DeviceActor * myPickableActor
Definition: SMESH_ActorDef.h:268
virtual void ClipThreshold(bool isThresholdOn, double min=0.0, double max=0.0)
Definition: SMESH_Actor.cxx:2506
vtkProperty * myReversedVProp
Definition: SMESH_ActorDef.h:262
vtkTimeStamp * myTimeStamp
Definition: SMESH_ActorDef.h:254
virtual void SetNodeColor(double r, double g, double b)
Definition: SMESH_Actor.cxx:2099
vtkProperty * my1DProp
Definition: SMESH_ActorDef.h:289
virtual vtkIdType GetNumberOfClippingPlanes()
Definition: SMESH_Actor.cxx:2362
virtual void SetSufaceColor(double r, double g, double b, int delta)
Definition: SMESH_Actor.cxx:2031
vtkProperty * my3DExtProp
Definition: SMESH_ActorDef.h:279
bool myIsWireframeOff
Definition: SMESH_ActorDef.h:308
virtual int RenderOpaqueGeometry(vtkViewport *viewport)
Definition: SMESH_Actor.cxx:1911
virtual void GetNodeColor(double &r, double &g, double &b)
Definition: SMESH_Actor.cxx:2109
virtual void SetVisibility(int theMode)
Definition: SMESH_Actor.cxx:1490
virtual void SetEdgeColor(double r, double g, double b)
Definition: SMESH_Actor.cxx:2071
virtual void ReleaseGraphicsResources(vtkWindow *renWin)
Definition: SMESH_Actor.cxx:1992
virtual int GetObjDimension(const vtkIdType theObjId) override
Definition: SMESH_Actor.cxx:2246
void SetImplicitFunctionUsed(bool theIsImplicitFunctionUsed)
Definition: SMESH_Actor.cxx:2256
virtual double GetBallSize()
Definition: SMESH_Actor.cxx:2223
virtual void SetEntityMode(unsigned int theMode)
Definition: SMESH_Actor.cxx:1609
std::vector< TPlanePtr > TCippingPlaneCont
Definition: SMESH_ActorDef.h:316
SMESH_DeviceActor * my2DExtActor
Definition: SMESH_ActorDef.h:281
virtual bool hasHighlight()
Definition: SMESH_ActorDef.h:99
virtual void SetMapper(vtkMapper *)
Definition: SMESH_Actor.cxx:1361
vtkProperty * my0DExtProp
Definition: SMESH_ActorDef.h:298
virtual bool GetFacesOrientation3DVectors()
Definition: SMESH_Actor.cxx:804
virtual void highlight(bool theHighlight)
Definition: SMESH_Actor.cxx:1892
virtual void GetEdgeColor(double &r, double &g, double &b)
Definition: SMESH_Actor.cxx:2082
int myDeltaVBrightness
Definition: SMESH_ActorDef.h:327
vtkProperty * my0DProp
Definition: SMESH_ActorDef.h:294
virtual void SetMarkerStd(VTK::MarkerType, VTK::MarkerScale)
Definition: SMESH_Actor.cxx:2599
SMESH_DeviceActor * myControlActor
Definition: SMESH_ActorDef.h:284
virtual void GetOutlineColor(double &r, double &g, double &b)
Definition: SMESH_Actor.cxx:2093
virtual void SetFacesOrientationScale(double theScale)
Definition: SMESH_Actor.cxx:787
virtual void UnShrink()
Definition: SMESH_Actor.cxx:1444
virtual SPlot2d_Histogram * GetPlot2Histogram()
Definition: SMESH_ActorDef.h:235
virtual void Set0DSize(double size)
Definition: SMESH_Actor.cxx:2188
SMESH_DeviceActor * my3DExtActor
Definition: SMESH_ActorDef.h:283
vtkProperty * myNodeExtProp
Definition: SMESH_ActorDef.h:286
virtual void SetBallSize(double size)
Definition: SMESH_Actor.cxx:2209
virtual void SetPreSelected(bool thePreselect=false)
Definition: SMESH_Actor.cxx:1901
virtual vtkIdType AddClippingPlane(vtkPlane *thePlane)
Definition: SMESH_Actor.cxx:2278
virtual bool IsInfinitive()
Definition: SMESH_Actor.cxx:1385
bool myIsFacesOriented
Definition: SMESH_ActorDef.h:324
void SetIsShrunkable(bool theShrunkable)
Definition: SMESH_Actor.cxx:1395
SMESH::Controls::FunctorPtr myFunctor
Definition: SMESH_ActorDef.h:277
virtual double GetOutlineWidth()
Definition: SMESH_Actor.cxx:2177
SMESH_CellLabelActor * my2DActor
Definition: SMESH_ActorDef.h:280
virtual vtkMapper * GetMapper()
Definition: SMESH_Actor.cxx:1373
virtual smIdType GetNumberControlEntities()
Definition: SMESH_Actor.cxx:1146
virtual bool IsClipThresholdOn() const
Definition: SMESH_ActorDef.h:230
virtual void SetBallScale(double size)
Definition: SMESH_Actor.cxx:2233
virtual void ShallowCopy(vtkProp *prop)
Definition: SMESH_Actor.cxx:1367
virtual void Set0DColor(double r, double g, double b)
Definition: SMESH_Actor.cxx:2114
SMESH_CellLabelActor * my3DActor
Definition: SMESH_ActorDef.h:282
virtual vtkIdType GetNodeObjId(vtkIdType theVtkID)
Definition: SMESH_Actor.cxx:1464
virtual void SetRepresentation(int theMode)
Definition: SMESH_Actor.cxx:1681
virtual double GetOpacity()
Definition: SMESH_Actor.cxx:2025
unsigned int myEntityModeCache
Definition: SMESH_ActorDef.h:302
virtual void SetLineWidth(double theVal)
Definition: SMESH_Actor.cxx:2161
virtual TVisualObjPtr GetObject()
Definition: SMESH_ActorDef.h:222
virtual void UpdateScalarBar()
Definition: SMESH_Actor.cxx:2374
SMESH_DeviceActor * my1DExtActor
Definition: SMESH_ActorDef.h:292
SMESH_DeviceActor * my0DExtActor
Definition: SMESH_ActorDef.h:299
virtual vtkCell * GetElemCell(vtkIdType theObjID)
Definition: SMESH_Actor.cxx:1484
virtual void UpdateFilter()
Definition: SMESH_Actor.cxx:2614
void operator=(const SMESH_ActorDef &)
eControl myControlMode
Definition: SMESH_ActorDef.h:276
virtual double GetShrinkFactor()
Definition: SMESH_Actor.cxx:1403
SMESH_CellLabelActor * myBallActor
Definition: SMESH_ActorDef.h:297
vtkProperty * myOutLineProp
Definition: SMESH_ActorDef.h:271
vtkProperty * myNormalVProp
Definition: SMESH_ActorDef.h:261
virtual eControl GetControlMode()
Definition: SMESH_ActorDef.h:210
SMESH_CellLabelActor * my1DActor
Definition: SMESH_ActorDef.h:290
TCippingPlaneCont myCippingPlaneCont
Definition: SMESH_ActorDef.h:317
virtual vtkIdType GetElemObjId(vtkIdType theVtkID)
Definition: SMESH_Actor.cxx:1479
virtual void Render(vtkRenderer *ren)
Definition: SMESH_Actor.cxx:1935
TVTKSmartPtr< vtkPlane > TPlanePtr
Definition: SMESH_ActorDef.h:315
virtual vtkPlane * GetClippingPlane(vtkIdType theID)
Definition: SMESH_Actor.cxx:2367
bool myIsShrinkable
Definition: SMESH_ActorDef.h:310
virtual void SetFacesOrientation3DVectors(bool theState)
Definition: SMESH_Actor.cxx:798
long myControlsPrecision
Definition: SMESH_ActorDef.h:318
virtual void SetPointsFontProperties(SMESH::LabelFont family, int size, bool bold, bool italic, bool shadow, double r, double g, double b)
Definition: SMESH_Actor.cxx:672
virtual bool GetPointsLabeled()
Definition: SMESH_Actor.cxx:712
virtual void GetVolumeColor(double &r, double &g, double &b, int &delta)
Definition: SMESH_Actor.cxx:2065
virtual unsigned int GetEntityMode() const
Definition: SMESH_ActorDef.h:161
SMESH_DeviceActor * myBaseActor
Definition: SMESH_ActorDef.h:266
static SMESH_ActorDef * New()
Definition: SMESH_Actor.cxx:89
vtkProperty * myBackSurfaceProp
Definition: SMESH_ActorDef.h:260
int myRepresentationCache
Definition: SMESH_ActorDef.h:304
vtkProperty * myPreselectProp
Definition: SMESH_ActorDef.h:272
virtual void SetVolumeColor(double r, double g, double b, int delta)
Definition: SMESH_Actor.cxx:2051
virtual void GetFacesOrientationColor(double &r, double &g, double &b)
Definition: SMESH_Actor.cxx:782
virtual double Get0DSize()
Definition: SMESH_Actor.cxx:2204
virtual double GetBallScale()
Definition: SMESH_Actor.cxx:2228
virtual void SetControl(SMESH::Controls::FunctorPtr theFunctor)
Definition: SMESH_Actor.cxx:810
virtual vtkDataSet * GetInput()
Definition: SMESH_Actor.cxx:1328
virtual bool GetFacesOriented()
Definition: SMESH_Actor.cxx:771
SMESH_CellLabelActor * my0DActor
Definition: SMESH_ActorDef.h:295
bool Init(TVisualObjPtr theVisualObj, const char *theEntry, const char *theName, int theIsClear)
Definition: SMESH_Actor.cxx:1231
bool myIsShrunk
Definition: SMESH_ActorDef.h:311
virtual void SetQuadratic2DRepresentation(EQuadratic2DRepresentation)
Definition: SMESH_Actor.cxx:2570
virtual void AddOpenGLClippingPlane(vtkPlane *thePlane)
Definition: SMESH_Actor.cxx:2290
virtual bool IsShrunk()
Definition: SMESH_ActorDef.h:178
virtual void UpdateSelectionProps()
Definition: SMESH_Actor.cxx:2142
virtual SPlot2d_Histogram * UpdatePlot2Histogram()
Definition: SMESH_Actor.cxx:2724
vtkProperty * myHighlightProp
Definition: SMESH_ActorDef.h:270
void Update()
Definition: SMESH_Actor.cxx:1945
virtual void SetWireframeOff(bool isWireframeOff)
Definition: SMESH_Actor.cxx:2541
void UpdateHighlight()
Definition: SMESH_Actor.cxx:1827
vtkProperty * my1DExtProp
Definition: SMESH_ActorDef.h:291
vtkProperty * myNodeProp
Definition: SMESH_ActorDef.h:264
virtual void SetControlMode(eControl theMode)
Definition: SMESH_Actor.cxx:819
Definition: SMESH_Actor.h:55
EQuadratic2DRepresentation
Definition: SMESH_Actor.h:107
const char const char int theIsClear
Definition: SMESH_Actor.h:63
const char * theEntry
Definition: SMESH_Actor.h:61
eControl
Definition: SMESH_Actor.h:140
const char const char * theName
Definition: SMESH_Actor.h:62
Definition: SMESH_CellLabelActor.h:42
Definition: SMESH_DeviceActor.h:60
Definition: SMESH_NodeLabelActor.h:39
Definition: SMESH_ScalarBarActor.h:90
Definition: SMESH_Object.h:59
Definition: SMESH_ActorDef.h:38
TVTKSmartPtr(T *r, bool theIsOwner=false)
Definition: SMESH_ActorDef.h:41
T * Get() const
Definition: SMESH_ActorDef.h:52
TVTKSmartPtr & operator()(T *r, bool theIsOwner=false)
Definition: SMESH_ActorDef.h:45
TVTKSmartPtr()
Definition: SMESH_ActorDef.h:40
TVTKSmartPtr & operator=(T *r)
Definition: SMESH_ActorDef.h:51
boost::shared_ptr< Functor > FunctorPtr
Definition: SMESH_Controls.hxx:60
LabelFont
Label font family.
Definition: SMESH_ActorUtils.h:37