14#ifndef vtkOpenGLIndexBufferObject_h
15#define vtkOpenGLIndexBufferObject_h
18#include "vtkRenderingOpenGL2Module.h"
40 std::vector<unsigned char>* edgeArray,
vtkDataArray* edgeFlags);
80 vtkIdType vertexOffset,
bool wireframeTriStrips);
object to represent cell connectivity
abstract superclass for arrays of numeric data
a simple class to control print indentation
OpenGL vertex buffer object.
vtkOpenGLIndexBufferObject()
size_t CreateEdgeFlagIndexBuffer(vtkCellArray *cells, vtkDataArray *edgeflags)
static vtkOpenGLIndexBufferObject * New()
static void AppendEdgeFlagIndexBuffer(std::vector< unsigned int > &indexArray, vtkCellArray *cells, vtkIdType vertexOffset, vtkDataArray *edgeflags)
static void AppendTriangleIndexBuffer(std::vector< unsigned int > &indexArray, vtkCellArray *cells, vtkPoints *points, vtkIdType vertexOffset, std::vector< unsigned char > *edgeArray, vtkDataArray *edgeFlags)
size_t CreateLineIndexBuffer(vtkCellArray *cells)
size_t CreateVertexIndexBuffer(vtkCellArray **cells)
static void AppendPointIndexBuffer(std::vector< unsigned int > &indexArray, vtkCellArray *cells, vtkIdType vertexOffset)
size_t CreateStripIndexBuffer(vtkCellArray *cells, bool wireframeTriStrips)
static void AppendStripIndexBuffer(std::vector< unsigned int > &indexArray, vtkCellArray *cells, vtkIdType vertexOffset, bool wireframeTriStrips)
size_t CreatePointIndexBuffer(vtkCellArray *cells)
size_t CreateTriangleLineIndexBuffer(vtkCellArray *cells)
static void AppendVertexIndexBuffer(std::vector< unsigned int > &indexArray, vtkCellArray **cells, vtkIdType vertexOffset)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkOpenGLIndexBufferObject() override
size_t CreateTriangleIndexBuffer(vtkCellArray *cells, vtkPoints *points, std::vector< unsigned char > *edgeArray, vtkDataArray *edgeFlags)
static void AppendTriangleLineIndexBuffer(std::vector< unsigned int > &indexArray, vtkCellArray *cells, vtkIdType vertexOffset)
static void AppendLineIndexBuffer(std::vector< unsigned int > &indexArray, vtkCellArray *cells, vtkIdType vertexOffset)
represent and manipulate 3D points