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,...
abstract class specifies interface to map data
represents an object (geometry & properties) in a rendered scene
a simple class to control print indentation
abstract class specifies interface to map data to graphics primitives
draws vtkPistonDataObjects to the screen
void RenderImageDataOutline()
static void InitCudaGL(vtkRenderWindow *rw)
Manually call this before any cuda filters are created to use direct GPU rendering.
static bool IsEnabledCudaGL()
Return true if using cuda interop feature otherwise false.
virtual bool GetSupportsSelection()
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERI...
void RenderOnCPU()
Internal render methods.
void ShallowCopy(vtkAbstractMapper *m)
Make a shallow copy of this mapper.
virtual void GetBounds(double bounds[6])
Get the bounds for this mapper as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax).
virtual void Update()
Bring this algorithm's outputs up-to-date.
virtual double * GetBounds()
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.
static vtkPistonMapper * New()
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkPistonDataObject * GetPistonDataObjectInput(int port)
A convenience method to reduce code duplication that gets the input as the expected type or NULL.
virtual void Render(vtkRenderer *ren, vtkActor *a)
Method initiates the mapping process.
virtual void ReleaseGraphicsResources(vtkWindow *)
Release any graphics resources that are being consumed by this mapper.
Color Mapping for piston results.
create a window for renderers to draw into
abstract specification for renderers
window superclass for vtkRenderWindow
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.