Go to the documentation of this file.
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);
226 vtkSetMacro(SelectedLODID,
int);
227 vtkGetMacro(SelectedLODID,
int);
256 vtkGetMacro(SelectedPickLODID,
int);
void SetLODMapper(int id, vtkMapper *m)
Methods to set / get the mapper of an LOD.
void SetLODProperty(int id, vtkVolumeProperty *p)
int AddLOD(vtkMapper *m, double time)
int RenderOpaqueGeometry(vtkViewport *viewport) override
Support the standard render methods.
int AddLOD(vtkMapper *m, vtkTexture *t, double time)
int AddLOD(vtkMapper *m, vtkProperty *p, vtkProperty *back, vtkTexture *t, double time)
Add a level of detail with a given mapper, property, backface property, texture, and guess of renderi...
double GetLODIndexEstimatedRenderTime(int index)
void GetLODProperty(int id, vtkVolumeProperty **p)
void ShallowCopy(vtkProp *prop) override
Shallow copy of this vtkLODProp3D.
void GetLODTexture(int id, vtkTexture **t)
vtkAbstractMapper3D * GetLODMapper(int id)
Get the LODMapper as an vtkAbstractMapper3D.
int GetPickLODID(void)
Get the ID of the appropriate pick LOD index.
void SetLODLevel(int id, double level)
Set the level of a particular LOD.
represents an 3D object for placement in a rendered scene
void SetSelectedPickLODID(int id)
Set the id of the LOD that is to be used for picking when automatic LOD pick selection is turned off.
double GetLODEstimatedRenderTime(int id)
Access method that can be used to find out the estimated render time (the thing used to select an LOD...
int AddLOD(vtkAbstractVolumeMapper *m, double time)
vtkLODProp3DCallback * PickCallback
vtkTypeBool HasTranslucentPolygonalGeometry() override
Does this prop have some translucent polygonal geometry?
int AddLOD(vtkAbstractVolumeMapper *m, vtkVolumeProperty *p, double time)
void GetLODMapper(int id, vtkImageMapper3D **m)
void GetVolumes(vtkPropCollection *) override
double GetLODIndexLevel(int index)
double GetLODLevel(int id)
void SetLODBackfaceProperty(int id, vtkProperty *t)
Methods to set / get the backface property of an LOD.
int ConvertIDToIndex(int id)
double * GetBounds() override=0
Get the bounds for this Prop as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax).
static vtkLODProp3D * New()
Create an instance of this class.
window superclass for vtkRenderWindow
void AddEstimatedRenderTime(double t, vtkViewport *vp) override
Override method from vtkProp in order to push this call down to the selected LOD as well.
int GetLastRenderedLODID()
Get the ID of the previously (during the last render) selected LOD index.
void GetActors(vtkPropCollection *) override
For some exporters and other other operations we must be able to collect all the actors or volumes.
void RemoveLOD(int id)
Delete a level of detail given an ID.
handles properties associated with a texture map
int AddLOD(vtkImageMapper3D *m, vtkImageProperty *p, double time)
#define VTK_SIZEHINT(...)
void SetLODProperty(int id, vtkImageProperty *p)
int AddLOD(vtkMapper *m, vtkProperty *p, double time)
vtkTypeBool AutomaticLODSelection
abstract class specifies interface to map data to graphics primitives
void SetLODMapper(int id, vtkAbstractVolumeMapper *m)
void GetLODMapper(int id, vtkMapper **m)
a simple class to control print indentation
double * GetBounds() override
Standard vtkProp method to get 3D bounds of a 3D prop.
vtkTypeBool AutomaticPickLODSelection
void EnableLOD(int id)
Enable / disable a particular LOD.
void RestoreEstimatedRenderTime() override
Used when the render process is aborted to restore the previous estimated render time.
void GetLODProperty(int id, vtkImageProperty **p)
void GetLODMapper(int id, vtkAbstractVolumeMapper **m)
void UpdateKeysForSelectedProp()
abstract specification for Viewports
int RenderVolumetricGeometry(vtkViewport *ren) override
void SetLODTexture(int id, vtkTexture *t)
Methods to set / get the texture of an LOD.
abstract superclass for all actors, volumes and annotations
abstract class for mapping images to the screen
abstract class specifies interface to map 3D data
void GetLODProperty(int id, vtkProperty **p)
void GetLODBackfaceProperty(int id, vtkProperty **t)
void SetLODProperty(int id, vtkProperty *p)
Methods to set / get the property of an LOD.
Abstract class for a volume mapper.
abstract specification for renderers
int AddLOD(vtkMapper *m, vtkProperty *p, vtkProperty *back, double time)
void SetAllocatedRenderTime(double t, vtkViewport *vp) override
Used by the culler / renderer to set the allocated render time for this prop.
int AddLOD(vtkImageMapper3D *m, double time)
int GetAutomaticPickPropIndex(void)
void ReleaseGraphicsResources(vtkWindow *) override
Release any graphics resources that are being consumed by this actor.
represent surface properties of a geometric object
int AddLOD(vtkMapper *m, vtkProperty *p, vtkTexture *t, double time)
void SetLODMapper(int id, vtkImageMapper3D *m)
int RenderTranslucentPolygonalGeometry(vtkViewport *ren) override
represents the common properties for rendering a volume.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.