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