VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkPistonMapper Class Reference

draws vtkPistonDataObjects to the screen More...

#include <vtkPistonMapper.h>

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

List of all members.

Public Types

typedef vtkMapper Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkPistonMapperNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
vtkPistonDataObjectGetPistonDataObjectInput (int port)
void ShallowCopy (vtkAbstractMapper *m)
virtual void Render (vtkRenderer *ren, vtkActor *a)
virtual void ReleaseGraphicsResources (vtkWindow *)
virtual void Update ()
virtual doubleGetBounds ()
virtual void GetBounds (double bounds[6])
virtual bool GetSupportsSelection ()
virtual void SetPiece (int)
virtual int GetPiece ()
virtual void SetNumberOfPieces (int)
virtual int GetNumberOfPieces ()
virtual void SetGhostLevel (int)
virtual int GetGhostLevel ()

Static Public Member Functions

static vtkPistonMapperNew ()
static int IsTypeOf (const char *type)
static vtkPistonMapperSafeDownCast (vtkObjectBase *o)
static void InitCudaGL (vtkRenderWindow *rw)
static bool IsEnabledCudaGL ()

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkPistonMapper ()
 ~vtkPistonMapper ()
virtual int FillInputPortInformation (int port, vtkInformation *info)
void RenderOnCPU ()
void RenderOnGPU ()
void RenderImageDataOutline ()

Protected Attributes

int Piece
int NumberOfPieces
int GhostLevel

Detailed Description

draws vtkPistonDataObjects to the screen

vtkPistonMapper is comparable to vtkDataSetMapper for vtkPistonDataObjects. The important capability it has is to produce images without bringing data back to the CPU.

Tests:
vtkPistonMapper (Tests)

Definition at line 39 of file vtkPistonMapper.h.


Member Typedef Documentation

Reimplemented from vtkMapper.

Definition at line 43 of file vtkPistonMapper.h.


Constructor & Destructor Documentation


Member Function Documentation

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

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkAlgorithm.

static int vtkPistonMapper::IsTypeOf ( const char *  name) [static]

Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkMapper.

virtual int vtkPistonMapper::IsA ( const char *  name) [virtual]

Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkMapper.

Reimplemented from vtkMapper.

virtual vtkObjectBase* vtkPistonMapper::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkMapper.

Reimplemented from vtkMapper.

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

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkMapper.

static void vtkPistonMapper::InitCudaGL ( vtkRenderWindow rw) [static]

Manually call this before any cuda filters are created to use direct GPU rendering.

static bool vtkPistonMapper::IsEnabledCudaGL ( ) [inline, static]

Return true if using cuda interop feature otherwise false.

Definition at line 52 of file vtkPistonMapper.h.

A convenience method to reduce code duplication that gets the input as the expected type or NULL.

Make a shallow copy of this mapper.

Reimplemented from vtkMapper.

virtual void vtkPistonMapper::Render ( vtkRenderer ren,
vtkActor a 
) [virtual]

Method initiates the mapping process. Generally sent by the actor as each frame is rendered.

Implements vtkMapper.

virtual void vtkPistonMapper::ReleaseGraphicsResources ( vtkWindow ) [inline, virtual]

Release any graphics resources that are being consumed by this mapper. The parameter window could be used to determine which graphic resources to release.

Reimplemented from vtkMapper.

Definition at line 72 of file vtkPistonMapper.h.

virtual double* vtkPistonMapper::GetBounds ( ) [virtual]

Return bounding box (array of six doubles) of data expressed as (xmin,xmax, ymin,ymax, zmin,zmax).

Reimplemented from vtkMapper.

virtual void vtkPistonMapper::GetBounds ( double  bounds[6]) [inline, virtual]

Return bounding box (array of six doubles) of data expressed as (xmin,xmax, ymin,ymax, zmin,zmax).

Reimplemented from vtkMapper.

Definition at line 78 of file vtkPistonMapper.h.

virtual bool vtkPistonMapper::GetSupportsSelection ( ) [inline, virtual]

WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS Used by vtkHardwareSelector to determine if the prop supports hardware selection.

Reimplemented from vtkMapper.

Definition at line 87 of file vtkPistonMapper.h.

virtual void vtkPistonMapper::Update ( ) [virtual]

Bring this algorithm's outputs up-to-date. Overridden to allow specification on streaming piece.

Reimplemented from vtkAlgorithm.

virtual void vtkPistonMapper::SetPiece ( int  ) [virtual]

If you want only a part of the data, specify by setting the piece.

virtual int vtkPistonMapper::GetPiece ( ) [virtual]

If you want only a part of the data, specify by setting the piece.

virtual void vtkPistonMapper::SetNumberOfPieces ( int  ) [virtual]

If you want only a part of the data, specify by setting the piece.

virtual int vtkPistonMapper::GetNumberOfPieces ( ) [virtual]

If you want only a part of the data, specify by setting the piece.

virtual void vtkPistonMapper::SetGhostLevel ( int  ) [virtual]

Set the number of ghost cells to return.

virtual int vtkPistonMapper::GetGhostLevel ( ) [virtual]

Set the number of ghost cells to return.

virtual int vtkPistonMapper::FillInputPortInformation ( int  port,
vtkInformation info 
) [protected, virtual]

Overridden to say that we take in vtkPistonDataObjects

Reimplemented from vtkAlgorithm.

void vtkPistonMapper::RenderOnCPU ( ) [protected]

Internal render methods

void vtkPistonMapper::RenderOnGPU ( ) [protected]

Internal render methods

Internal render methods


Member Data Documentation

Definition at line 123 of file vtkPistonMapper.h.

Definition at line 124 of file vtkPistonMapper.h.

Definition at line 125 of file vtkPistonMapper.h.


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