28 #ifndef vtkPVLODActor_h 29 #define vtkPVLODActor_h 32 #include "vtkPVVTKExtensionsRenderingModule.h" 35 class vtkPiecewiseFunction;
37 class VTKPVVTKEXTENSIONSRENDERING_EXPORT
vtkPVLODActor :
public vtkActor
41 void PrintSelf(ostream& os, vtkIndent indent);
49 virtual void Render(vtkRenderer*, vtkMapper*);
55 int RenderOpaqueGeometry(vtkViewport* viewport);
62 void ReleaseGraphicsResources(vtkWindow*);
68 virtual void SetLODMapper(vtkMapper*);
69 vtkGetObjectMacro(LODMapper, vtkMapper);
76 vtkMapper*
GetMapper() {
return this->SelectMapper(); }
86 void ShallowCopy(vtkProp* prop);
99 vtkGetMacro(EnableLOD,
int);
106 virtual void SetEnableScaling(
int v);
107 virtual void SetScalingArrayName(
const char*);
108 virtual void SetScalingFunction(vtkPiecewiseFunction* pwf);
117 vtkMapper* SelectMapper();
void SetEnableLOD(int val)
When set, LODMapper, if present it used, otherwise the regular mapper is used.
vtkMapper * GetMapper()
This is a bit of a hack.
an actor that supports multiple levels of detail