29 #ifndef SMESH_DEVICE_ACTOR_H
30 #define SMESH_DEVICE_ACTOR_H
32 #include <VTKViewer_GeometryFilter.h>
33 #include <VTKViewer_MarkerDef.h>
37 #include <vtkLODActor.h>
38 #include <vtkSmartPointer.h>
43 class vtkShrinkFilter;
46 class vtkImplicitBoolean;
47 class vtkPassThroughFilter;
48 class vtkPlaneCollection;
50 class VTKViewer_Transform;
51 class VTKViewer_TransformFilter;
52 class VTKViewer_ExtractUnstructuredGrid;
53 class VTKViewer_PolyDataMapper;
67 void SetStoreClippingMapping(
bool theStoreMapping);
68 void SetStoreGemetryMapping(
bool theStoreMapping);
69 void SetStoreIDMapping(
bool theStoreMapping);
77 virtual void SetTransform(VTKViewer_Transform* theTransform);
94 virtual void SetQuadraticArcMode(
bool theFlag);
95 virtual bool GetQuadraticArcMode();
97 virtual void SetQuadraticArcAngle(
double theMaxAngle);
98 virtual double GetQuadraticArcAngle();
100 void UpdateFaceOrientation();
115 virtual int GetVisibility();
117 virtual void AddToRender(vtkRenderer* theRenderer);
120 VTKViewer_ExtractUnstructuredGrid* GetExtractUnstructuredGrid();
123 void SetPlaneCollection( vtkPlaneCollection* theCollection );
127 vtkLookupTable* theLookupTable);
130 vtkLookupTable* theLookupTable);
134 void SetHighlited(
bool theIsHighlited);
138 SetCoincident3DAllowed(
bool theIsFeatureEdgesAllowed);
142 IsCoincident3DAllowed()
const;
144 virtual void Render(vtkRenderer *, vtkMapper *);
149 void SetMarkerEnabled(
bool );
150 void SetBallEnabled(
bool );
154 VTK::MarkerType GetMarkerType();
155 VTK::MarkerScale GetMarkerScale();
156 int GetMarkerTexture();
197 SetPolygonOffsetParameters(
double factor,
201 GetPolygonOffsetParameters(
double& factor,
204 factor = myPolygonOffsetFactor;
205 units = myPolygonOffsetUnits;
216 #endif //SMESH_DEVICE_ACTOR_H