ParaView
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkPVLODActor Class Reference

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

#include <vtkPVLODActor.h>

Inheritance diagram for vtkPVLODActor:
Inheritance graph
[legend]
Collaboration diagram for vtkPVLODActor:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void Render (vtkRenderer *, vtkMapper *)
int RenderOpaqueGeometry (vtkViewport *viewport)
void ReleaseGraphicsResources (vtkWindow *)
vtkMapperGetMapper ()
void Modified ()
void ShallowCopy (vtkProp *prop)
doubleGetBounds ()
virtual void SetLODMapper (vtkMapper *)
virtual vtkMapperGetLODMapper ()
virtual void SetEnableLOD (int)
virtual int GetEnableLOD ()

Static Public Member Functions

static int IsTypeOf (const char *type)
static vtkPVLODActorSafeDownCast (vtkObject *o)
static vtkPVLODActorNew ()

Protected Member Functions

 vtkPVLODActor ()
 ~vtkPVLODActor ()
vtkMapperSelectMapper ()

Protected Attributes

vtkActorDevice
vtkMapperLODMapper
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

virtual const char* vtkPVLODActor::GetClassName ( ) [virtual]

Reimplemented from vtkActor.

static int vtkPVLODActor::IsTypeOf ( const char *  type) [static]

Reimplemented from vtkActor.

virtual int vtkPVLODActor::IsA ( const char *  type) [virtual]

Reimplemented from vtkActor.

static vtkPVLODActor* vtkPVLODActor::SafeDownCast ( vtkObject o) [static]

Reimplemented from vtkActor.

void vtkPVLODActor::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Reimplemented from vtkActor.

static vtkPVLODActor* vtkPVLODActor::New ( ) [static]

Reimplemented from vtkActor.

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.

Reimplemented from vtkActor.

int vtkPVLODActor::RenderOpaqueGeometry ( vtkViewport viewport) [virtual]

This method is used internally by the rendering process. We overide the superclass method to properly set the estimated render time.

Reimplemented from vtkActor.

void vtkPVLODActor::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.

Reimplemented from vtkActor.

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, virtual]

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.

Reimplemented from vtkActor.

Definition at line 64 of file vtkPVLODActor.h.

void vtkPVLODActor::Modified ( ) [virtual]

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

Reimplemented from vtkObject.

void vtkPVLODActor::ShallowCopy ( vtkProp prop) [virtual]

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

Reimplemented from vtkActor.

double* vtkPVLODActor::GetBounds ( ) [virtual]

Get the bounds of the current mapper.

Reimplemented from vtkActor.

virtual void vtkPVLODActor::SetEnableLOD ( int  ) [virtual]

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

virtual int vtkPVLODActor::GetEnableLOD ( ) [virtual]

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

vtkMapper* vtkPVLODActor::SelectMapper ( ) [protected]

Member Data Documentation

Definition at line 86 of file vtkPVLODActor.h.

Definition at line 87 of file vtkPVLODActor.h.

Definition at line 91 of file vtkPVLODActor.h.


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