30 #ifndef vtkLODProp3D_h
31 #define vtkLODProp3D_h
33 #include "vtkRenderingCoreModule.h"
45 class vtkLODProp3DCallback;
72 void GetBounds(
double bounds[6])
102 vtkGetMacro(NumberOfLODs,
int);
111 vtkGetMacro(CurrentIndex,
int);
118 void RemoveLOD(
int id);
143 void GetLODMapper(
int id,
vtkMapper **m);
162 void SetLODBackfaceProperty(
int id,
vtkProperty *t);
163 void GetLODBackfaceProperty(
int id,
vtkProperty **t);
181 void EnableLOD(
int id);
182 void DisableLOD(
int id);
183 int IsLODEnabled(
int id);
195 void SetLODLevel(
int id,
double level);
196 double GetLODLevel(
int id );
197 double GetLODIndexLevel(
int index);
206 double GetLODEstimatedRenderTime(
int id);
207 double GetLODIndexEstimatedRenderTime(
int index);
216 vtkSetClampMacro(AutomaticLODSelection,
int, 0, 1);
217 vtkGetMacro(AutomaticLODSelection,
int);
227 vtkGetMacro(SelectedLODID,
int);
233 int GetLastRenderedLODID();
238 int GetPickLODID(
void);
255 void SetSelectedPickLODID(
int id);
256 vtkGetMacro(SelectedPickLODID,
int);
265 vtkSetClampMacro(AutomaticPickLODSelection,
int, 0, 1);
266 vtkGetMacro(AutomaticPickLODSelection,
int);
273 void ShallowCopy(
vtkProp *prop) VTK_OVERRIDE;
279 int RenderOpaqueGeometry(
vtkViewport *viewport) VTK_OVERRIDE;
280 int RenderTranslucentPolygonalGeometry(
vtkViewport *ren) VTK_OVERRIDE;
281 int RenderVolumetricGeometry(
vtkViewport *ren) VTK_OVERRIDE;
287 int HasTranslucentPolygonalGeometry() VTK_OVERRIDE;
294 void ReleaseGraphicsResources(
vtkWindow *) VTK_OVERRIDE;
301 void SetAllocatedRenderTime(
double t,
vtkViewport *vp ) VTK_OVERRIDE;
309 void RestoreEstimatedRenderTime( ) VTK_OVERRIDE;
315 void AddEstimatedRenderTime(
double t,
vtkViewport *vp ) VTK_OVERRIDE;
319 ~vtkLODProp3D() VTK_OVERRIDE;
321 int GetAutomaticPickPropIndex(
void);
324 void UpdateKeysForSelectedProp();
331 int GetNextEntryIndex();
332 int ConvertIDToIndex(
int id );
333 int SelectedLODIndex;
335 int AutomaticLODSelection;
337 int SelectedPickLODID;
338 int AutomaticPickLODSelection;
339 vtkLODProp3DCallback *PickCallback;
342 vtkLODProp3D(const vtkLODProp3D&) VTK_DELETE_FUNCTION;
343 void operator=(const vtkLODProp3D&) VTK_DELETE_FUNCTION;
abstract superclass for all actors, volumes and annotations
double * GetBounds() override=0
Return a reference to the Prop3D's composite transform.
abstract specification for Viewports
represent surface properties of a geometric object
Abstract class for a volume mapper.
abstract specification for renderers
represents an 3D object for placement in a rendered scene
window superclass for vtkRenderWindow
a simple class to control print indentation
abstract class for mapping images to the screen
handles properties associated with a texture map
abstract class specifies interface to map 3D data
represents the common properties for rendering a volume.
abstract class specifies interface to map data to graphics primitives
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
virtual void GetActors(vtkPropCollection *)
For some exporters and other other operations we must be able to collect all the actors or volumes...