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);
unsigned int NumberOfTuples
OpenGL vertex buffer object.
Always shift scale using auto computed values.
record modification and/or execution time
The default, automatic computation.
vtkOpenGLVertexBufferObjectCache * Cache
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
manage vertex buffer objects shared within a context
ShiftScaleMethod
Methods for VBO coordinate shift+scale-computation.
Do not shift/scale point coordinates. Ever!
ShiftScaleMethod CoordShiftAndScaleMethod
a simple class to control print indentation
abstract superclass for arrays of numeric data
static vtkOpenGLBufferObject * New()
bool CoordShiftAndScaleEnabled
unsigned int DataTypeSize
std::vector< float > & GetPackedVBO()
std::vector< float > PackedVBO
unsigned int NumberOfComponents
std::vector< double > Scale
std::vector< double > Shift