47 #ifndef vtkPainterDeviceAdapter_h 48 #define vtkPainterDeviceAdapter_h 72 virtual void BeginPrimitive(
int mode) = 0;
77 virtual void EndPrimitive() = 0;
83 virtual int IsAttributesSupported(
int attribute)=0;
88 virtual void SendMultiTextureCoords(
int numcomp,
int type,
const void *attribute,
89 int idx, vtkIdType
offset) = 0;
104 virtual void SendAttribute(
int index,
int components,
int type,
105 const void *attribute, vtkIdType
offset=0) = 0;
130 virtual void SetAttributePointer(
int index,
int numcomponents,
int type,
131 int stride,
const void *pointer) = 0;
137 virtual void EnableAttributeArray(
int index) = 0;
138 virtual void DisableAttributeArray(
int index) = 0;
152 virtual void DrawArrays(
int mode, vtkIdType first, vtkIdType count) = 0;
168 virtual void DrawElements(
int mode, vtkIdType count,
int type,
180 virtual void MakeVertexEmphasis(
bool mode) = 0;
186 virtual void Stencil(
int on) = 0;
187 virtual void WriteStencil(vtkIdType
value) = 0;
188 virtual void TestStencil(vtkIdType
value) = 0;
208 #endif //_vtkPainterDeviceAdapter_h
abstract base class for most VTK objects
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void * GetVoidPointer(vtkIdType valueIdx)=0
Return a void pointer.
abstract specification for renderers
virtual int GetDataType()=0
Return the underlying data type.
int GetNumberOfComponents()
Set/Get the dimension (n) of the components.
An adapter between a vtkPainter and a rendering device.
a simple class to control print indentation
abstract superclass for arrays of numeric data
void SetAttributePointer(int index, vtkDataArray *attributeArray)
Sets an array of attributes.
#define VTKRENDERINGCORE_EXPORT
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.