27 #ifndef VTKVIEVER_ACTOR_H
28 #define VTKVIEVER_ACTOR_H
35 #include <vtkLODActor.h>
36 #include <vtkProperty.h>
45 class vtkPassThroughFilter;
56 namespace Representation
68 #pragma warning ( disable:4251 )
96 SetOpacity(
double theOpacity);
120 SetColor(
const double theRGB[3]);
125 SetMaterial(std::vector<vtkProperty*> theProps);
142 GetNodeObjId(
int theVtkID);
147 GetNodeCoord(
int theObjID);
152 GetElemObjId(
int theVtkID);
157 GetElemCell(
int theObjID);
163 GetObjDimension(
const int theObjId );
168 SetMapper(vtkMapper* theMapper);
189 SetRepresentation(
int theMode);
204 setDisplayMode(
int theMode);
213 SetInfinitive(
bool theIsInfinite);
227 GetBounds(
double bounds[6]);
240 SetSize(
const double );
244 SetCamera( vtkCamera* );
249 SetResolveCoincidentTopology(
bool theIsResolve);
253 SetPolygonOffsetParameters(
double factor,
258 GetPolygonOffsetParameters(
double& factor,
263 Render(vtkRenderer *, vtkMapper *);
295 AddToRender(vtkRenderer* theRendere);
300 RemoveFromRender(vtkRenderer* theRendere);
305 GetChildActors(vtkActorCollection*);
331 SetPreSelected(
bool thePreselect =
false);
337 highlight(
bool theHighlight);
340 SetPreviewProperty(vtkProperty* theProperty);
344 virtual void SetQuadraticArcMode(
bool theFlag);
345 virtual bool GetQuadraticArcMode()
const;
347 virtual void SetQuadraticArcAngle(
double theMaxAngle);
348 virtual double GetQuadraticArcAngle()
const;
352 virtual vtkDataSet* GetHighlightedDataSet();
375 InitPipeLine(vtkMapper* theMapper);
387 #pragma warning ( default:4251 )
390 #endif // VTKVIEVER_ACTOR_H