#include <vtkVertexBufferObject.h>
Public Types | |
| enum | { StreamDraw = 0, StreamRead, StreamCopy, StaticDraw, StaticRead, StaticCopy, DynamicDraw, DynamicRead, DynamicCopy, NumberOfUsages } |
Public Member Functions | |
| void | Bind () |
| int | GetAttributeIndex () |
| vtkRenderWindow * | GetContext () |
| void | PrintSelf (ostream &os, vtkIndent indent) |
| void | ReleaseMemory () |
| void | ResetUserDefinedAttribute () |
| void | SetAttributeNormalized (bool normalized) |
| void | SetContext (vtkRenderWindow *context) |
| void | SetUserDefinedAttribute (int index, bool normalized=false, int stride=0) |
| void | UnBind () |
| bool | Upload (vtkPoints *points) |
| bool | Upload (vtkCellArray *verts) |
| bool | Upload (unsigned int *indices, unsigned int count) |
| bool | Upload (vtkUnsignedCharArray *colors) |
| bool | Upload (vtkDataArray *array) |
| bool | Upload (vtkDataArray *array, int attributeType, int arrayType) |
| bool | UploadColors (vtkDataArray *colors) |
| bool | UploadNormals (vtkDataArray *normals) |
| vtkGetMacro (Usage, int) | |
| vtkGetMacro (Size, unsigned int) | |
| vtkGetMacro (Count, unsigned int) | |
| vtkGetMacro (Handle, unsigned int) | |
| vtkSetMacro (Usage, int) | |
| vtkTypeMacro (vtkVertexBufferObject, vtkObject) | |
Static Public Member Functions | |
| static bool | IsSupported (vtkRenderWindow *renWin) |
| static vtkVertexBufferObject * | New () |
Protected Member Functions | |
| void | CreateBuffer () |
| void | DestroyBuffer () |
| bool | LoadRequiredExtensions (vtkOpenGLExtensionManager *mgr) |
| bool | Upload (GLvoid *data) |
| vtkGetMacro (ArrayType, unsigned int) | |
| vtkVertexBufferObject () | |
| ~vtkVertexBufferObject () | |
Protected Attributes | |
| unsigned int | ArrayType |
| int | AttributeIndex |
| int | AttributeNormalized |
| int | AttributeSize |
| int | AttributeStride |
| int | AttributeType |
| unsigned int | BufferTarget |
| vtkWeakPointer< vtkRenderWindow > | Context |
| unsigned int | Count |
| unsigned int | Handle |
| unsigned int | Size |
| int | Usage |
Private Member Functions | |
| int | GetDataTypeSize (int type) |
| void | operator= (const vtkVertexBufferObject &) |
| vtkVertexBufferObject (const vtkVertexBufferObject &) | |
Definition at line 46 of file vtkVertexBufferObject.h.
| anonymous enum |
| StreamDraw | |
| StreamRead | |
| StreamCopy | |
| StaticDraw | |
| StaticRead | |
| StaticCopy | |
| DynamicDraw | |
| DynamicRead | |
| DynamicCopy | |
| NumberOfUsages |
Definition at line 65 of file vtkVertexBufferObject.h.
| vtkVertexBufferObject::vtkVertexBufferObject | ( | ) | [protected] |
| vtkVertexBufferObject::~vtkVertexBufferObject | ( | ) | [protected] |
| vtkVertexBufferObject::vtkVertexBufferObject | ( | const vtkVertexBufferObject & | ) | [private] |
| void vtkVertexBufferObject::Bind | ( | ) |
| void vtkVertexBufferObject::CreateBuffer | ( | ) | [protected] |
| void vtkVertexBufferObject::DestroyBuffer | ( | ) | [protected] |
| vtkRenderWindow* vtkVertexBufferObject::GetContext | ( | ) |
| int vtkVertexBufferObject::GetDataTypeSize | ( | int | type | ) | [private] |
| static bool vtkVertexBufferObject::IsSupported | ( | vtkRenderWindow * | renWin | ) | [static] |
| bool vtkVertexBufferObject::LoadRequiredExtensions | ( | vtkOpenGLExtensionManager * | mgr | ) | [protected] |
| static vtkVertexBufferObject* vtkVertexBufferObject::New | ( | ) | [static] |
| void vtkVertexBufferObject::operator= | ( | const vtkVertexBufferObject & | ) | [private] |
| void vtkVertexBufferObject::PrintSelf | ( | ostream & | os, |
| vtkIndent | indent | ||
| ) |
| void vtkVertexBufferObject::ReleaseMemory | ( | ) |
| void vtkVertexBufferObject::SetAttributeNormalized | ( | bool | normalized | ) |
| void vtkVertexBufferObject::SetContext | ( | vtkRenderWindow * | context | ) |
| void vtkVertexBufferObject::SetUserDefinedAttribute | ( | int | index, |
| bool | normalized = false, |
||
| int | stride = 0 |
||
| ) |
| void vtkVertexBufferObject::UnBind | ( | ) |
| bool vtkVertexBufferObject::Upload | ( | vtkPoints * | points | ) |
| bool vtkVertexBufferObject::Upload | ( | vtkCellArray * | verts | ) |
| bool vtkVertexBufferObject::Upload | ( | unsigned int * | indices, |
| unsigned int | count | ||
| ) |
| bool vtkVertexBufferObject::Upload | ( | vtkUnsignedCharArray * | colors | ) |
| bool vtkVertexBufferObject::Upload | ( | vtkDataArray * | array | ) |
| bool vtkVertexBufferObject::Upload | ( | vtkDataArray * | array, |
| int | attributeType, | ||
| int | arrayType | ||
| ) |
| bool vtkVertexBufferObject::Upload | ( | GLvoid * | data | ) | [protected] |
| bool vtkVertexBufferObject::UploadColors | ( | vtkDataArray * | colors | ) |
| bool vtkVertexBufferObject::UploadNormals | ( | vtkDataArray * | normals | ) |
| vtkVertexBufferObject::vtkGetMacro | ( | Usage | , |
| int | |||
| ) |
| vtkVertexBufferObject::vtkGetMacro | ( | Size | , |
| unsigned | int | ||
| ) |
| vtkVertexBufferObject::vtkGetMacro | ( | Count | , |
| unsigned | int | ||
| ) |
| vtkVertexBufferObject::vtkGetMacro | ( | Handle | , |
| unsigned | int | ||
| ) |
| vtkVertexBufferObject::vtkGetMacro | ( | ArrayType | , |
| unsigned | int | ||
| ) | [protected] |
| vtkVertexBufferObject::vtkSetMacro | ( | Usage | , |
| int | |||
| ) |
| vtkVertexBufferObject::vtkTypeMacro | ( | vtkVertexBufferObject | , |
| vtkObject | |||
| ) |
unsigned int vtkVertexBufferObject::ArrayType [protected] |
Definition at line 196 of file vtkVertexBufferObject.h.
int vtkVertexBufferObject::AttributeIndex [protected] |
Definition at line 199 of file vtkVertexBufferObject.h.
int vtkVertexBufferObject::AttributeNormalized [protected] |
Definition at line 202 of file vtkVertexBufferObject.h.
int vtkVertexBufferObject::AttributeSize [protected] |
Definition at line 200 of file vtkVertexBufferObject.h.
int vtkVertexBufferObject::AttributeStride [protected] |
Definition at line 203 of file vtkVertexBufferObject.h.
int vtkVertexBufferObject::AttributeType [protected] |
Definition at line 201 of file vtkVertexBufferObject.h.
unsigned int vtkVertexBufferObject::BufferTarget [protected] |
Definition at line 197 of file vtkVertexBufferObject.h.
vtkWeakPointer<vtkRenderWindow> vtkVertexBufferObject::Context [protected] |
Definition at line 205 of file vtkVertexBufferObject.h.
unsigned int vtkVertexBufferObject::Count [protected] |
Definition at line 194 of file vtkVertexBufferObject.h.
unsigned int vtkVertexBufferObject::Handle [protected] |
Definition at line 195 of file vtkVertexBufferObject.h.
unsigned int vtkVertexBufferObject::Size [protected] |
Definition at line 193 of file vtkVertexBufferObject.h.
int vtkVertexBufferObject::Usage [protected] |
Definition at line 192 of file vtkVertexBufferObject.h.