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
102 virtual
int RenderPrimitive(
unsigned long flags,
vtkDataArray* n,
113 unsigned long typeflags,
114 bool forceCompileOnly) VTK_OVERRIDE;
121 int SupportedPrimitive;
124 int DisableScalarColor;
128 bool GenericVertexAttributes;
129 bool MultiTextureAttributes;
void ProcessInformation(vtkInformation *) override
Called before RenderInternal() if the Information has been changed since the last time this method wa...
superclass for class that handle single privmitives.
represents an object (geometry & properties) in a rendered scene
record modification and/or execution time
virtual vtkDataObject * GetOutput()
Get the output data object from this painter.
virtual void PrepareForRendering(vtkRenderer *, vtkActor *)
Some subclasses may need to do some preprocessing before the actual rendering can be done eg...
abstract specification for renderers
concrete dataset represents vertices, lines, polygons, and triangle strips
Detect and break reference loops.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
abstract superclass for arrays of numeric data
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
dynamic, self-adjusting array of unsigned char
general representation of visualization data
represent and manipulate 3D points
Abstract class for drawing poly data.