vtkVertexBufferObject Class Reference
#include <pcl/visualization/vtk/vtkVertexBufferObject.h>
List of all members.
Public Types |
| enum | {
StreamDraw = 0,
StreamRead,
StreamCopy,
StaticDraw,
StaticRead,
StaticCopy,
DynamicDraw,
DynamicRead,
DynamicCopy,
NumberOfUsages
} |
Public Member Functions |
| | vtkTypeMacro (vtkVertexBufferObject, vtkObject) |
| void | PrintSelf (ostream &os, vtkIndent indent) |
| void | SetContext (vtkRenderWindow *context) |
| vtkRenderWindow * | GetContext () |
| | vtkGetMacro (Usage, int) |
| | vtkSetMacro (Usage, int) |
| int | GetAttributeIndex () |
| void | SetUserDefinedAttribute (int index, bool normalized=false, int stride=0) |
| void | ResetUserDefinedAttribute () |
| void | SetAttributeNormalized (bool normalized) |
| 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 | UploadNormals (vtkDataArray *normals) |
| bool | UploadColors (vtkDataArray *colors) |
| | vtkGetMacro (Size, unsigned int) |
| | vtkGetMacro (Count, unsigned int) |
| | vtkGetMacro (Handle, unsigned int) |
| void | UnBind () |
| void | Bind () |
| void | ReleaseMemory () |
Static Public Member Functions |
| static vtkVertexBufferObject * | New () |
| static bool | IsSupported (vtkRenderWindow *renWin) |
Protected Member Functions |
| | vtkVertexBufferObject () |
| | ~vtkVertexBufferObject () |
| bool | LoadRequiredExtensions (vtkOpenGLExtensionManager *mgr) |
| void | CreateBuffer () |
| void | DestroyBuffer () |
| bool | Upload (GLvoid *data) |
| | vtkGetMacro (ArrayType, unsigned int) |
Protected Attributes |
| int | Usage |
| unsigned int | Size |
| unsigned int | Count |
| unsigned int | Handle |
| unsigned int | ArrayType |
| unsigned int | BufferTarget |
| int | AttributeIndex |
| int | AttributeSize |
| int | AttributeType |
| int | AttributeNormalized |
| int | AttributeStride |
| vtkWeakPointer< vtkRenderWindow > | Context |
Detailed Description
Definition at line 46 of file vtkVertexBufferObject.h.
Member Enumeration Documentation
- Enumerator:
| StreamDraw |
|
| StreamRead |
|
| StreamCopy |
|
| StaticDraw |
|
| StaticRead |
|
| StaticCopy |
|
| DynamicDraw |
|
| DynamicRead |
|
| DynamicCopy |
|
| NumberOfUsages |
|
Definition at line 65 of file vtkVertexBufferObject.h.
Constructor & Destructor Documentation
| vtkVertexBufferObject::vtkVertexBufferObject |
( |
|
) |
[protected] |
| vtkVertexBufferObject::~vtkVertexBufferObject |
( |
|
) |
[protected] |
Member Function Documentation
| void vtkVertexBufferObject::Bind |
( |
|
) |
|
| void vtkVertexBufferObject::CreateBuffer |
( |
|
) |
[protected] |
| void vtkVertexBufferObject::DestroyBuffer |
( |
|
) |
[protected] |
| int vtkVertexBufferObject::GetAttributeIndex |
( |
|
) |
|
| vtkRenderWindow* vtkVertexBufferObject::GetContext |
( |
|
) |
|
| static bool vtkVertexBufferObject::IsSupported |
( |
vtkRenderWindow * |
renWin |
) |
[static] |
| bool vtkVertexBufferObject::LoadRequiredExtensions |
( |
vtkOpenGLExtensionManager * |
mgr |
) |
[protected] |
| void vtkVertexBufferObject::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent | |
|
) |
| | |
| void vtkVertexBufferObject::ReleaseMemory |
( |
|
) |
|
| void vtkVertexBufferObject::ResetUserDefinedAttribute |
( |
|
) |
|
| 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 |
( |
GLvoid * |
data |
) |
[protected] |
| bool vtkVertexBufferObject::Upload |
( |
vtkDataArray * |
array, |
|
|
int |
attributeType, |
|
|
int |
arrayType | |
|
) |
| | |
| bool vtkVertexBufferObject::Upload |
( |
vtkDataArray * |
array |
) |
|
| bool vtkVertexBufferObject::Upload |
( |
vtkUnsignedCharArray * |
colors |
) |
|
| bool vtkVertexBufferObject::Upload |
( |
unsigned int * |
indices, |
|
|
unsigned int |
count | |
|
) |
| | |
| bool vtkVertexBufferObject::Upload |
( |
vtkCellArray * |
verts |
) |
|
| bool vtkVertexBufferObject::Upload |
( |
vtkPoints * |
points |
) |
|
| bool vtkVertexBufferObject::UploadColors |
( |
vtkDataArray * |
colors |
) |
|
| bool vtkVertexBufferObject::UploadNormals |
( |
vtkDataArray * |
normals |
) |
|
| vtkVertexBufferObject::vtkGetMacro |
( |
ArrayType |
, |
|
|
unsigned |
int | |
|
) |
| | [protected] |
| vtkVertexBufferObject::vtkGetMacro |
( |
Handle |
, |
|
|
unsigned |
int | |
|
) |
| | |
| vtkVertexBufferObject::vtkGetMacro |
( |
Count |
, |
|
|
unsigned |
int | |
|
) |
| | |
| vtkVertexBufferObject::vtkGetMacro |
( |
Size |
, |
|
|
unsigned |
int | |
|
) |
| | |
| vtkVertexBufferObject::vtkGetMacro |
( |
Usage |
, |
|
|
int |
| |
|
) |
| | |
| vtkVertexBufferObject::vtkSetMacro |
( |
Usage |
, |
|
|
int |
| |
|
) |
| | |
Member Data Documentation
The documentation for this class was generated from the following file: