14 #ifndef vtkOpenGLVertexBufferObject_h 15 #define vtkOpenGLVertexBufferObject_h 17 #include "vtkRenderingOpenGL2Module.h" 44 void PrintSelf(ostream& os,
vtkIndent indent)
override;
112 vtkGetMacro(CoordShiftAndScaleEnabled,
bool);
115 virtual void SetShift(
const std::vector<double>& shift);
116 virtual void SetScale(
const std::vector<double>&
scale);
117 virtual const std::vector<double>& GetShift();
118 virtual const std::vector<double>& GetScale();
122 void SetDataType(
int v);
123 vtkGetMacro(DataType,
int);
126 vtkGetMacro(DataTypeSize,
unsigned int);
129 vtkGetMacro(NumberOfTuples,
unsigned int);
132 vtkGetMacro(NumberOfComponents,
unsigned int);
136 vtkGetMacro(Stride,
unsigned int);
140 return this->PackedVBO; }
unsigned int NumberOfTuples
OpenGL vertex buffer object.
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
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
unsigned int DataTypeSize
std::vector< float > & GetPackedVBO()
std::vector< float > PackedVBO
unsigned int NumberOfComponents
std::vector< double > Scale
std::vector< double > Shift