Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

vtkPVLODActor Class Reference

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

#include <vtkPVLODActor.h>

List of all members.

Public Member Functions

 vtkTypeRevisionMacro (vtkPVLODActor, vtkActor)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void Render (vtkRenderer *, vtkMapper *)
int RenderOpaqueGeometry (vtkViewport *viewport)
void ReleaseGraphicsResources (vtkWindow *)
vtkMapper * GetMapper ()
void Modified ()
void ShallowCopy (vtkProp *prop)
double * GetBounds ()
virtual void SetLODMapper (vtkMapper *)
virtual vtkMapper * GetLODMapper ()

Static Public Member Functions

vtkPVLODActorNew ()

Protected Member Functions

 vtkPVLODActor ()
 ~vtkPVLODActor ()
vtkMapper * SelectMapper ()

Protected Attributes

vtkActor * Device
vtkMapper * LODMapper
int EnableLOD


Detailed Description

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 34 of file vtkPVLODActor.h.


Constructor & Destructor Documentation

vtkPVLODActor::vtkPVLODActor  )  [protected]
 

vtkPVLODActor::~vtkPVLODActor  )  [protected]
 


Member Function Documentation

vtkPVLODActor::vtkTypeRevisionMacro vtkPVLODActor  ,
vtkActor 
 

void vtkPVLODActor::PrintSelf ostream &  os,
vtkIndent  indent
 

vtkPVLODActor* vtkPVLODActor::New  )  [static]
 

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.

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.

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.

virtual void vtkPVLODActor::SetLODMapper vtkMapper *   )  [virtual]
 

This sets the low res input.

virtual vtkMapper* vtkPVLODActor::GetLODMapper  )  [virtual]
 

This sets the low res input.

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 64 of file vtkPVLODActor.h.

void vtkPVLODActor::Modified  ) 
 

When this objects gets modified, this method also modifies the object.

void vtkPVLODActor::ShallowCopy vtkProp *  prop  ) 
 

Shallow copy of an LOD actor. Overloads the virtual vtkProp method.

double* vtkPVLODActor::GetBounds  ) 
 

Get the bounds of the current mapper.

vtkMapper* vtkPVLODActor::SelectMapper  )  [protected]
 


Member Data Documentation

vtkActor* vtkPVLODActor::Device [protected]
 

Definition at line 79 of file vtkPVLODActor.h.

vtkMapper* vtkPVLODActor::LODMapper [protected]
 

Definition at line 80 of file vtkPVLODActor.h.

int vtkPVLODActor::EnableLOD [protected]
 

Definition at line 84 of file vtkPVLODActor.h.


The documentation for this class was generated from the following file:
Generated on Tue May 30 12:39:57 2006 for ParaView by doxygen 1.3.5