27#ifndef vtkTransformFeedback_h
28#define vtkTransformFeedback_h
31#include "vtkRenderingOpenGL2Module.h"
82 const std::vector<VaryingMetaData>&
GetVaryings()
const {
return this->Varyings; }
87 static size_t GetBytesPerVertex(VaryingRole role);
105 vtkSetMacro(NumberOfVertices,
size_t);
107 vtkGetMacro(NumberOfVertices,
size_t);
147 vtkSetMacro(PrimitiveMode,
int);
148 vtkGetMacro(PrimitiveMode,
int);
158 void Allocate(
int nbBuffers,
size_t size,
unsigned int hint);
181 vtkGetMacro(BufferData,
void*);
206 std::vector<VaryingMetaData> Varyings;
207 size_t NumberOfVertices;
210 std::vector<vtkOpenGLBufferObject*> Buffers;
213 unsigned char* BufferData;
222 return 4 *
sizeof(float);
224 return 4 *
sizeof(float);
226 return 3 *
sizeof(float);
231 vtkGenericWarningMacro(
"Unknown role enum value: " << role);
a simple class to control print indentation
abstract base class for most VTK objects
The ShaderProgram uses one or more Shader objects.
window superclass for vtkRenderWindow