14 #ifndef vtkOpenGLVertexBufferObject_h 15 #define vtkOpenGLVertexBufferObject_h 17 #include "vtkRenderingOpenGL2Module.h" 44 void PrintSelf(ostream& os,
vtkIndent indent)
override;
113 vtkGetMacro(CoordShiftAndScaleEnabled,
bool);
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; }
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
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
bool CoordShiftAndScaleEnabled
unsigned int DataTypeSize
std::vector< float > & GetPackedVBO()
std::vector< float > PackedVBO
unsigned int NumberOfComponents
std::vector< double > Scale
std::vector< double > Shift