Go to the documentation of this file.
14 #ifndef vtkOpenGLVertexBufferObject_h
15 #define vtkOpenGLVertexBufferObject_h
17 #include "vtkRenderingOpenGL2Module.h"
113 vtkGetMacro(CoordShiftAndScaleEnabled,
bool);
114 vtkGetMacro(CoordShiftAndScaleMethod,ShiftScaleMethod);
115 virtual void SetCoordShiftAndScaleMethod(ShiftScaleMethod meth);
116 virtual void SetShift(
const std::vector<double>& shift);
117 virtual void SetScale(
const std::vector<double>&
scale);
118 virtual const std::vector<double>& GetShift();
119 virtual const std::vector<double>& GetScale();
123 void SetDataType(
int v);
124 vtkGetMacro(DataType,
int);
127 vtkGetMacro(DataTypeSize,
unsigned int);
130 vtkGetMacro(NumberOfTuples,
unsigned int);
133 vtkGetMacro(NumberOfComponents,
unsigned int);
136 vtkSetMacro(Stride,
unsigned int);
137 vtkGetMacro(Stride,
unsigned int);
141 return this->PackedVBO; }
std::vector< double > Scale
std::vector< double > Shift
std::vector< float > PackedVBO
static vtkOpenGLBufferObject * New()
std::vector< float > & GetPackedVBO()
record modification and/or execution time
abstract superclass for arrays of numeric data
bool CoordShiftAndScaleEnabled
ShiftScaleMethod CoordShiftAndScaleMethod
unsigned int NumberOfComponents
unsigned int DataTypeSize
a simple class to control print indentation
OpenGL vertex buffer object.
Always shift scale using auto computed values.
unsigned int NumberOfTuples
ShiftScaleMethod
Methods for VBO coordinate shift+scale-computation.
The default, automatic computation.
manage vertex buffer objects shared within a context
Do not shift/scale point coordinates. Ever!
vtkOpenGLVertexBufferObjectCache * Cache
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.