27 #ifndef SVTK_DEVICE_ACTOR_H
28 #define SVTK_DEVICE_ACTOR_H
37 #include <vtkLODActor.h>
38 #include <vtkProperty.h>
47 class vtkFeatureEdges;
49 class vtkPassThroughFilter;
50 class vtkAlgorithmOutput;
53 #pragma warning ( disable:4251 )
73 SetMapper(vtkMapper* theMapper);
83 SetInputData(vtkDataSet* theDataSet);
88 SetInputConnection(vtkAlgorithmOutput* theAlgorithmOutput);
94 GetNodeObjId(
int theVtkID);
98 GetNodeCoord(
int theObjID);
102 GetElemObjId(
int theVtkID);
106 GetElemCell(
int theObjID);
111 SetStoreMapping(
bool theStoreMapping);
125 SetShrinkFactor(
double value);
129 SetShrinkable(
bool theIsShrinkable);
150 IsFeatureEdgesAllowed();
154 SetFeatureEdgesAllowed(
bool theIsFeatureEdgesAllowed);
158 IsFeatureEdgesEnabled();
162 SetFeatureEdgesEnabled(
bool theIsFeatureEdgesEnabled);
166 GetFeatureEdgesAngle();
170 SetFeatureEdgesAngle(
double theAngle);
174 GetFeatureEdgesFlags(
bool& theIsFeatureEdges,
175 bool& theIsBoundaryEdges,
176 bool& theIsManifoldEdges,
177 bool& theIsNonManifoldEdges);
180 SetFeatureEdgesFlags(
bool theIsFeatureEdges,
181 bool theIsBoundaryEdges,
182 bool theIsManifoldEdges,
183 bool theIsNonManifoldEdges);
187 GetFeatureEdgesColoring();
191 SetFeatureEdgesColoring(
bool theIsColoring);
204 GetDefaultPointSize();
208 GetDefaultLineWidth();
214 SetShaded(
bool theShaded);
219 SetBallEnabled(
bool );
223 SetMarkerEnabled(
bool );
226 SetBallScale(
double );
246 Render(vtkRenderer *, vtkMapper *);
252 virtual void SetQuadraticArcMode(
bool theFlag);
253 virtual bool GetQuadraticArcMode();
255 virtual void SetQuadraticArcAngle(
double theMaxAngle);
256 virtual double GetQuadraticArcAngle();
260 SetCoincident3DAllowed(
bool theIsFeatureEdgesAllowed);
264 IsCoincident3DAllowed()
const;
267 SetResolveCoincidentTopology(
bool theIsResolve);
278 InitPipeLine(vtkMapper* theMapper);
297 void SetPolygonOffsetParameters(
double factor,
299 void GetPolygonOffsetParameters(
double& factor,
312 #pragma warning ( default:4251 )
315 #endif //SVTK_DEVICE_ACTOR_H