an actor that supports multiple levels of detail
More...
#include <vtkPVLODActor.h>
Inherits vtkActor.
an actor that supports multiple levels of detail
vtkPVLODActor is a very simple version of vtkLODActor. Both vtkLODActor and vtkLODProp3D can get confused, and substitute LOD mappers when they are not needed. This just has two mappers: full res and LOD, and this actor knows which is which.
- See also
- vtkActor vtkRenderer vtkLODProp3D vtkLODActor
Definition at line 37 of file vtkPVLODActor.h.
§ Superclass
§ vtkPVLODActor()
vtkPVLODActor::vtkPVLODActor |
( |
| ) |
|
|
protected |
§ ~vtkPVLODActor()
vtkPVLODActor::~vtkPVLODActor |
( |
| ) |
|
|
protected |
§ GetClassName()
virtual const char* vtkPVLODActor::GetClassName |
( |
| ) |
|
|
virtual |
§ IsTypeOf()
static int vtkPVLODActor::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
§ IsA()
virtual int vtkPVLODActor::IsA |
( |
const char * |
type | ) |
|
|
virtual |
§ SafeDownCast()
static vtkPVLODActor* vtkPVLODActor::SafeDownCast |
( |
vtkObject * |
o | ) |
|
|
static |
§ PrintSelf()
void vtkPVLODActor::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
§ New()
§ Render()
virtual void vtkPVLODActor::Render |
( |
vtkRenderer * |
, |
|
|
vtkMapper * |
|
|
) |
| |
|
virtual |
This causes the actor to be rendered.
It, in turn, will render the actor's property and then mapper.
§ RenderOpaqueGeometry()
int vtkPVLODActor::RenderOpaqueGeometry |
( |
vtkViewport * |
viewport | ) |
|
This method is used internally by the rendering process.
We overide the superclass method to properly set the estimated render time.
§ ReleaseGraphicsResources()
void vtkPVLODActor::ReleaseGraphicsResources |
( |
vtkWindow * |
| ) |
|
Release any graphics resources that are being consumed by this actor.
The parameter window could be used to determine which graphic resources to release.
§ SetLODMapper()
virtual void vtkPVLODActor::SetLODMapper |
( |
vtkMapper * |
| ) |
|
|
virtual |
This sets the low res input.
§ GetLODMapper()
virtual vtkMapper* vtkPVLODActor::GetLODMapper |
( |
| ) |
|
|
virtual |
This sets the low res input.
§ GetMapper()
vtkMapper* vtkPVLODActor::GetMapper |
( |
| ) |
|
|
inline |
This is a bit of a hack.
This returns the last mapper used to render. It does this so that compositing can descide if anything was actually renderered.
Definition at line 76 of file vtkPVLODActor.h.
§ Modified()
void vtkPVLODActor::Modified |
( |
| ) |
|
When this objects gets modified, this method also modifies the object.
§ ShallowCopy()
void vtkPVLODActor::ShallowCopy |
( |
vtkProp * |
prop | ) |
|
Shallow copy of an LOD actor.
Overloads the virtual vtkProp method.
§ GetBounds()
double* vtkPVLODActor::GetBounds |
( |
| ) |
|
Get the bounds of the current mapper.
§ SetEnableLOD()
void vtkPVLODActor::SetEnableLOD |
( |
int |
val | ) |
|
|
inline |
When set, LODMapper, if present it used, otherwise the regular mapper is used.
We deliberately don't change the MTime of the actor when toggling EnableLOD state to avoid rebuilding of rendering data structures.
Definition at line 98 of file vtkPVLODActor.h.
§ GetEnableLOD()
virtual int vtkPVLODActor::GetEnableLOD |
( |
| ) |
|
|
virtual |
§ SetEnableScaling()
virtual void vtkPVLODActor::SetEnableScaling |
( |
int |
v | ) |
|
|
virtual |
For OSPRay controls sizing of implicit spheres (points) and cylinders (lines)
§ SetScalingArrayName()
virtual void vtkPVLODActor::SetScalingArrayName |
( |
const char * |
| ) |
|
|
virtual |
For OSPRay controls sizing of implicit spheres (points) and cylinders (lines)
§ SetScalingFunction()
virtual void vtkPVLODActor::SetScalingFunction |
( |
vtkPiecewiseFunction * |
pwf | ) |
|
|
virtual |
For OSPRay controls sizing of implicit spheres (points) and cylinders (lines)
§ SelectMapper()
vtkMapper* vtkPVLODActor::SelectMapper |
( |
| ) |
|
|
protected |
§ Device
vtkActor* vtkPVLODActor::Device |
|
protected |
§ LODMapper
vtkMapper* vtkPVLODActor::LODMapper |
|
protected |
§ EnableLOD
int vtkPVLODActor::EnableLOD |
|
protected |
The documentation for this class was generated from the following file:
- /builddir/build/BUILD/ParaView-v5.2.0/ParaViewCore/VTKExtensions/Rendering/vtkPVLODActor.h