ParaView
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkPVLODVolume Class Reference

an actor that supports multiple levels of detail More...

#include <vtkPVLODVolume.h>

Inherits vtkVolume.

Public Types

typedef vtkVolume Superclass
 

Public Member Functions

virtual const char * GetClassName ()
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual int HasTranslucentPolygonalGeometry ()
 Does this prop have some translucent polygonal geometry? More...
 
virtual void ReleaseGraphicsResources (vtkWindow *)
 Release any graphics resources that are being consumed by this actor. More...
 
virtual void SetProperty (vtkVolumeProperty *property)
 Sets the volume propery. More...
 
virtual void ShallowCopy (vtkProp *prop)
 Shallow copy of an LOD actor. More...
 
virtual double * GetBounds ()
 Get the bounds of the current mapper. More...
 
virtual void SetAllocatedRenderTime (double t, vtkViewport *v)
 Overloads the virtual vtkProp method. More...
 
virtual int RenderOpaqueGeometry (vtkViewport *viewport)
 This method is used internally by the rendering process. More...
 
virtual int RenderVolumetricGeometry (vtkViewport *viewport)
 This method is used internally by the rendering process. More...
 
virtual int RenderTranslucentPolygonalGeometry (vtkViewport *)
 This method is used internally by the rendering process. More...
 
virtual void SetMapper (vtkAbstractVolumeMapper *)
 Set the high res input. More...
 
virtual vtkAbstractVolumeMapper * GetMapper ()
 Set the high res input. More...
 
virtual void SetLODMapper (vtkAbstractVolumeMapper *)
 This sets the low res input. More...
 
virtual void SetLODMapper (vtkMapper *)
 This sets the low res input. More...
 

Static Public Member Functions

static int IsTypeOf (const char *type)
 
static vtkPVLODVolumeSafeDownCast (vtkObject *o)
 
static vtkPVLODVolumeNew ()
 

Protected Member Functions

bool CanRender ()
 Since volume mapper are notorious for segfaulting when the scalar array is missing we use this method to validate that we can actually render the data. More...
 
int SelectLOD ()
 
virtual void UpdateLODProperty ()
 

Protected Attributes

vtkLODProp3D * LODProp
 
int HighLODId
 
int LowLODId
 
int EnableLOD
 
double MapperBounds [6]
 
vtkTimeStamp BoundsMTime
 
virtual void SetEnableLOD (int)
 When set, LODMapper, if present it used, otherwise the regular mapper is used. More...
 
virtual int GetEnableLOD ()
 When set, LODMapper, if present it used, otherwise the regular mapper is used. More...
 
 vtkPVLODVolume ()
 When set, LODMapper, if present it used, otherwise the regular mapper is used. More...
 
 ~vtkPVLODVolume ()
 When set, LODMapper, if present it used, otherwise the regular mapper is used. More...
 

Detailed Description

an actor that supports multiple levels of detail

vtkPVLODVolume is much like vtkPVLODActor except that it works on volumes instead of surfaces. 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 36 of file vtkPVLODVolume.h.

Member Typedef Documentation

◆ Superclass

typedef vtkVolume vtkPVLODVolume::Superclass

Definition at line 39 of file vtkPVLODVolume.h.

Constructor & Destructor Documentation

◆ vtkPVLODVolume()

vtkPVLODVolume::vtkPVLODVolume ( )
protected

When set, LODMapper, if present it used, otherwise the regular mapper is used.

◆ ~vtkPVLODVolume()

vtkPVLODVolume::~vtkPVLODVolume ( )
protected

When set, LODMapper, if present it used, otherwise the regular mapper is used.

Member Function Documentation

◆ GetClassName()

virtual const char* vtkPVLODVolume::GetClassName ( )
virtual

◆ IsTypeOf()

static int vtkPVLODVolume::IsTypeOf ( const char *  type)
static

◆ IsA()

virtual int vtkPVLODVolume::IsA ( const char *  type)
virtual

◆ SafeDownCast()

static vtkPVLODVolume* vtkPVLODVolume::SafeDownCast ( vtkObject *  o)
static

◆ PrintSelf()

void vtkPVLODVolume::PrintSelf ( ostream &  os,
vtkIndent  indent 
)

◆ New()

static vtkPVLODVolume* vtkPVLODVolume::New ( )
static

◆ RenderOpaqueGeometry()

virtual int vtkPVLODVolume::RenderOpaqueGeometry ( vtkViewport *  viewport)
virtual

This method is used internally by the rendering process.

◆ RenderVolumetricGeometry()

virtual int vtkPVLODVolume::RenderVolumetricGeometry ( vtkViewport *  viewport)
virtual

This method is used internally by the rendering process.

◆ RenderTranslucentPolygonalGeometry()

virtual int vtkPVLODVolume::RenderTranslucentPolygonalGeometry ( vtkViewport *  )
virtual

This method is used internally by the rendering process.

◆ HasTranslucentPolygonalGeometry()

virtual int vtkPVLODVolume::HasTranslucentPolygonalGeometry ( )
virtual

Does this prop have some translucent polygonal geometry?

◆ ReleaseGraphicsResources()

virtual void vtkPVLODVolume::ReleaseGraphicsResources ( vtkWindow *  )
virtual

Release any graphics resources that are being consumed by this actor.

The parameter window could be used to determine which graphic resources to release.

◆ SetMapper()

virtual void vtkPVLODVolume::SetMapper ( vtkAbstractVolumeMapper *  )
virtual

Set the high res input.

Overloads the virtual vtkVolume method.

◆ GetMapper()

virtual vtkAbstractVolumeMapper* vtkPVLODVolume::GetMapper ( )
virtual

Set the high res input.

Overloads the virtual vtkVolume method.

◆ SetLODMapper() [1/2]

virtual void vtkPVLODVolume::SetLODMapper ( vtkAbstractVolumeMapper *  )
virtual

This sets the low res input.

◆ SetLODMapper() [2/2]

virtual void vtkPVLODVolume::SetLODMapper ( vtkMapper *  )
virtual

This sets the low res input.

◆ SetProperty()

virtual void vtkPVLODVolume::SetProperty ( vtkVolumeProperty *  property)
virtual

Sets the volume propery.

Overloads the virtual vtkVolume method.

◆ ShallowCopy()

virtual void vtkPVLODVolume::ShallowCopy ( vtkProp *  prop)
virtual

Shallow copy of an LOD actor.

Overloads the virtual vtkProp method.

◆ GetBounds()

virtual double* vtkPVLODVolume::GetBounds ( )
virtual

Get the bounds of the current mapper.

◆ SetAllocatedRenderTime()

virtual void vtkPVLODVolume::SetAllocatedRenderTime ( double  t,
vtkViewport *  v 
)
virtual

Overloads the virtual vtkProp method.

◆ SetEnableLOD()

virtual void vtkPVLODVolume::SetEnableLOD ( int  )
virtual

When set, LODMapper, if present it used, otherwise the regular mapper is used.

◆ GetEnableLOD()

virtual int vtkPVLODVolume::GetEnableLOD ( )
virtual

When set, LODMapper, if present it used, otherwise the regular mapper is used.

◆ CanRender()

bool vtkPVLODVolume::CanRender ( )
protected

Since volume mapper are notorious for segfaulting when the scalar array is missing we use this method to validate that we can actually render the data.

◆ SelectLOD()

int vtkPVLODVolume::SelectLOD ( )
protected

◆ UpdateLODProperty()

virtual void vtkPVLODVolume::UpdateLODProperty ( )
protectedvirtual

Member Data Documentation

◆ LODProp

vtkLODProp3D* vtkPVLODVolume::LODProp
protected

Definition at line 121 of file vtkPVLODVolume.h.

◆ HighLODId

int vtkPVLODVolume::HighLODId
protected

Definition at line 122 of file vtkPVLODVolume.h.

◆ LowLODId

int vtkPVLODVolume::LowLODId
protected

Definition at line 123 of file vtkPVLODVolume.h.

◆ EnableLOD

int vtkPVLODVolume::EnableLOD
protected

Definition at line 124 of file vtkPVLODVolume.h.

◆ MapperBounds

double vtkPVLODVolume::MapperBounds[6]
protected

Definition at line 126 of file vtkPVLODVolume.h.

◆ BoundsMTime

vtkTimeStamp vtkPVLODVolume::BoundsMTime
protected

Definition at line 127 of file vtkPVLODVolume.h.


The documentation for this class was generated from the following file: