26 #ifndef __vtkPistonMapper_h
27 #define __vtkPistonMapper_h
29 #include "vtkAcceleratorsPistonModule.h"
30 #include "vtkMapper.h"
36 class vtkRenderWindow;
44 void PrintSelf(ostream& os,
vtkIndent indent);
48 static void InitCudaGL(vtkRenderWindow *rw);
63 void ShallowCopy(vtkAbstractMapper *m);
67 virtual void Render(vtkRenderer *ren, vtkActor *a);
77 virtual double *GetBounds();
79 {this->vtkAbstractMapper3D::GetBounds(bounds);};
93 virtual void Update();
97 vtkSetMacro(Piece,
int);
98 vtkGetMacro(Piece,
int);
99 vtkSetMacro(NumberOfPieces,
int);
100 vtkGetMacro(NumberOfPieces,
int);
105 vtkSetMacro(GhostLevel,
int);
106 vtkGetMacro(GhostLevel,
int);
114 virtual int FillInputPortInformation(
int port,
vtkInformation* info);
120 void RenderImageDataOutline();
132 void PrepareDirectRenderBuffers(
int nPoints);
134 static bool CudaGLInitted;
137 InternalInfo *Internal;
draws vtkPistonDataObjects to the screen
virtual bool GetSupportsSelection()
static bool IsEnabledCudaGL()
window superclass for vtkRenderWindow
virtual void ReleaseGraphicsResources(vtkWindow *)
a simple class to control print indentation
virtual void GetBounds(double bounds[6])
Color Mapping for piston results.