VTK
|
draws vtkPistonDataObjects to the screen More...
#include <vtkPistonMapper.h>
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.
Definition at line 39 of file vtkPistonMapper.h.
typedef vtkMapper vtkPistonMapper::Superclass |
Reimplemented from vtkMapper.
Definition at line 43 of file vtkPistonMapper.h.
vtkPistonMapper::vtkPistonMapper | ( | ) | [protected] |
vtkPistonMapper::~vtkPistonMapper | ( | ) | [protected] |
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.
static vtkPistonMapper* vtkPistonMapper::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkMapper.
virtual vtkObjectBase* vtkPistonMapper::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkMapper.
vtkPistonMapper* vtkPistonMapper::NewInstance | ( | ) | const |
Reimplemented from vtkMapper.
void vtkPistonMapper::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
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.
void vtkPistonMapper::ShallowCopy | ( | vtkAbstractMapper * | m | ) |
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
void vtkPistonMapper::RenderImageDataOutline | ( | ) | [protected] |
Internal render methods
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.