29 #ifndef vtkPrimitivePainter_h
30 #define vtkPrimitivePainter_h
32 #include "vtkRenderingOpenGLModule.h"
50 vtkGetMacro(SupportedPrimitive,
int);
58 VTK_PDM_NORMALS = 0x001,
59 VTK_PDM_COLORS = 0x002,
60 VTK_PDM_TCOORDS = 0x004,
61 VTK_PDM_CELL_COLORS = 0x008,
62 VTK_PDM_CELL_NORMALS = 0x010,
63 VTK_PDM_OPAQUE_COLORS = 0x020,
64 VTK_PDM_FIELD_COLORS = 0x040,
65 VTK_PDM_EDGEFLAGS = 0x080,
66 VTK_PDM_GENERIC_VERTEX_ATTRIBUTES = 0x100
113 unsigned long typeflags,
114 bool forceCompileOnly);
represents an object (geometry & properties) in a rendered scene
abstract superclass for arrays of numeric data
general representation of visualization data
Detect and break reference loops.
a simple class to control print indentation
represent and manipulate 3D points
Abstract class for drawing poly data.
concrete dataset represents vertices, lines, polygons, and triangle strips
superclass for class that handle single privmitives.
virtual void RenderInternal(vtkRenderer *renderer, vtkActor *actor, unsigned long typeflags, bool forceCompileOnly)
Based on the input polydata, setups certains flags and call RenderPrimitive() which is overridden by ...
virtual void ProcessInformation(vtkInformation *)
Called before RenderInternal() if the Information has been changed since the last time this method wa...
void ReportReferences(vtkGarbageCollector *collector) override
Take part in garbage collection.
virtual void PrepareForRendering(vtkRenderer *, vtkActor *)
Some subclasses may need to do some preprocessing before the actual rendering can be done eg.
virtual int RenderPrimitive(unsigned long flags, vtkDataArray *n, vtkUnsignedCharArray *c, vtkDataArray *t, vtkRenderer *ren)=0
The actual rendering happens here.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual vtkDataObject * GetOutput()
Subclasses need to override this to return the output of the pipeline.
vtkTimeStamp OutputUpdateTime
bool GenericVertexAttributes
bool MultiTextureAttributes
abstract specification for renderers
record modification and/or execution time
dynamic, self-adjusting array of unsigned char
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.