Go to the documentation of this file.
27 #ifndef vtkPistonMapper_h
28 #define vtkPistonMapper_h
30 #include "vtkAcceleratorsPistonModule.h"
119 vtkGetMacro(Piece,
int);
121 vtkGetMacro(NumberOfPieces,
int);
129 vtkGetMacro(GhostLevel,
int);
161 void PrepareDirectRenderBuffers(
int nPoints);
163 static bool CudaGLInitted;
166 InternalInfo *Internal;
virtual double * GetBounds()=0
Return bounding box (array of six doubles) of data expressed as (xmin,xmax, ymin,ymax,...
virtual int FillInputPortInformation(int port, vtkInformation *info)
Overridden to say that we take in vtkPistonDataObjects.
virtual void Update()
Bring this algorithm's outputs up-to-date.
Color Mapping for piston results.
virtual void Render(vtkRenderer *ren, vtkActor *a)
Method initiates the mapping process.
vtkPistonDataObject * GetPistonDataObjectInput(int port)
A convenience method to reduce code duplication that gets the input as the expected type or NULL.
void RenderImageDataOutline()
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
window superclass for vtkRenderWindow
abstract class specifies interface to map data to graphics primitives
represents an object (geometry & properties) in a rendered scene
a simple class to control print indentation
void ShallowCopy(vtkAbstractMapper *m)
Make a shallow copy of this mapper.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
virtual double * GetBounds()
Return bounding box (array of six doubles) of data expressed as (xmin,xmax, ymin,ymax,...
virtual void ReleaseGraphicsResources(vtkWindow *)
Release any graphics resources that are being consumed by this mapper.
abstract specification for renderers
create a window for renderers to draw into
static bool IsEnabledCudaGL()
Return true if using cuda interop feature otherwise false.
static vtkPistonMapper * New()
virtual bool GetSupportsSelection()
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERI...
static void InitCudaGL(vtkRenderWindow *rw)
Manually call this before any cuda filters are created to use direct GPU rendering.
void RenderOnCPU()
Internal render methods.
virtual void GetBounds(double bounds[6])
Get the bounds for this mapper as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax).
abstract class specifies interface to map data
draws vtkPistonDataObjects to the screen