 |
VTK
9.0.1
|
Go to the documentation of this file.
14 #ifndef vtkOpenGLVertexBufferObject_h
15 #define vtkOpenGLVertexBufferObject_h
18 #include "vtkRenderingOpenGL2Module.h"
111 vtkGetMacro(CoordShiftAndScaleEnabled,
bool);
112 vtkGetMacro(CoordShiftAndScaleMethod, ShiftScaleMethod);
113 virtual void SetCoordShiftAndScaleMethod(ShiftScaleMethod meth);
114 virtual void SetShift(
const std::vector<double>& shift);
115 virtual void SetScale(
const std::vector<double>&
scale);
116 virtual const std::vector<double>& GetShift();
117 virtual const std::vector<double>& GetScale();
121 void SetDataType(
int v);
122 vtkGetMacro(DataType,
int);
125 vtkGetMacro(DataTypeSize,
unsigned int);
128 vtkGetMacro(NumberOfTuples,
unsigned int);
131 vtkGetMacro(NumberOfComponents,
unsigned int);
134 vtkSetMacro(Stride,
unsigned int);
135 vtkGetMacro(Stride,
unsigned int);
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_AUTO_SHIFT_SCALE
Always shift scale using auto computed values.
unsigned int NumberOfTuples
ShiftScaleMethod
Methods for VBO coordinate shift+scale-computation.
@ AUTO_SHIFT_SCALE
The default, automatic computation.
manage vertex buffer objects shared within a context
@ DISABLE_SHIFT_SCALE
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.