VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkPistonMapper Class Reference

draws vtkPistonDataObjects to the screen More...

#include <vtkPistonMapper.h>

Inherits vtkMapper.

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 double * GetBounds ()
 
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

typedef vtkMapper vtkPistonMapper::Superclass

Definition at line 43 of file vtkPistonMapper.h.

Constructor & Destructor Documentation

vtkPistonMapper::vtkPistonMapper ( )
protected
vtkPistonMapper::~vtkPistonMapper ( )
protected

Member Function Documentation

static vtkPistonMapper* vtkPistonMapper::New ( )
static
static int vtkPistonMapper::IsTypeOf ( const char *  type)
static
virtual int vtkPistonMapper::IsA ( const char *  type)
virtual
static vtkPistonMapper* vtkPistonMapper::SafeDownCast ( vtkObjectBase o)
static
virtual vtkObjectBase* vtkPistonMapper::NewInstanceInternal ( ) const
protectedvirtual
vtkPistonMapper* vtkPistonMapper::NewInstance ( ) const
void vtkPistonMapper::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
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 ( )
inlinestatic

Return true if using cuda interop feature otherwise false.

Definition at line 52 of file vtkPistonMapper.h.

vtkPistonDataObject* vtkPistonMapper::GetPistonDataObjectInput ( int  port)

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

void vtkPistonMapper::ShallowCopy ( vtkAbstractMapper *  m)

Make a shallow copy of this mapper.

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

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

virtual void vtkPistonMapper::ReleaseGraphicsResources ( vtkWindow )
inlinevirtual

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

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).

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

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

Definition at line 78 of file vtkPistonMapper.h.

virtual bool vtkPistonMapper::GetSupportsSelection ( )
inlinevirtual

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.

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.

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 
)
protectedvirtual

Overridden to say that we take in vtkPistonDataObjects

void vtkPistonMapper::RenderOnCPU ( )
protected

Internal render methods

void vtkPistonMapper::RenderOnGPU ( )
protected

Internal render methods

void vtkPistonMapper::RenderImageDataOutline ( )
protected

Internal render methods

Member Data Documentation

int vtkPistonMapper::Piece
protected

Definition at line 123 of file vtkPistonMapper.h.

int vtkPistonMapper::NumberOfPieces
protected

Definition at line 124 of file vtkPistonMapper.h.

int vtkPistonMapper::GhostLevel
protected

Definition at line 125 of file vtkPistonMapper.h.


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