|
OpenPolygon
1.0.0
OpenPolygon is a Rendering Engine
|
The VertexGroup class. More...
#include <vertexgroup.h>
Public Member Functions | |
| std::string | getName (void) |
| getName More... | |
| void | setId (int id) |
| setId More... | |
| void | setName (const std::string &name) |
| setName More... | |
| void | setVertices (Vector3fv vertices) |
| setVertices More... | |
| void | setIndices (Indices indices) |
| setIndices More... | |
| void | addIndex (int index) |
| addIndex More... | |
| void | addVertex (const Vector3f &offset) |
| addVertex More... | |
| Vector3fv | getVertices (void) |
| getVertices More... | |
| Indices | getIndices (void) |
| getIndices More... | |
| bool | hasIndex (int index) |
| hasIndex More... | |
| bool | hasVertex (const Vector3f &offset) |
| hasVertex More... | |
| VertexGroups | getGroupsByIndex (VertexGroups group_list, int index) |
| getGroupsByIndex More... | |
| int | getId (void) |
| getId More... | |
Protected Member Functions | |
| VertexGroup (const std::string &name) | |
Protected Attributes | |
| Vector3fv | mVertices |
| Indices | mIndices |
The VertexGroup class.
Save Verticen & Indicen with Name
| void VertexGroup::addIndex | ( | int | index | ) |
addIndex
Add Vertex Index Number
| index |
| void VertexGroup::addVertex | ( | const Vector3f & | offset | ) |
addVertex
Add Vertex
| offset |
| VertexGroups VertexGroup::getGroupsByIndex | ( | VertexGroups | group_list, |
| int | index | ||
| ) |
getGroupsByIndex
Return Groups by Index
| group_list | |
| index |
| int VertexGroup::getId | ( | void | ) |
getId
Get Group Id
| Indices VertexGroup::getIndices | ( | void | ) |
getIndices
Return Indices
| std::string VertexGroup::getName | ( | void | ) |
| Vector3fv VertexGroup::getVertices | ( | void | ) |
getVertices
Return Verticen
| bool VertexGroup::hasIndex | ( | int | index | ) |
hasIndex
Return true, if index has
| index |
| bool VertexGroup::hasVertex | ( | const Vector3f & | offset | ) |
hasVertex
Return true , if vertex has
| offset |
| void VertexGroup::setId | ( | int | id | ) |
setId
| id |
| void VertexGroup::setIndices | ( | Indices | indices | ) |
setIndices
Set Indices
| indices |
| void VertexGroup::setName | ( | const std::string & | name | ) |
| void VertexGroup::setVertices | ( | Vector3fv | vertices | ) |
setVertices
Set Vertices
| vertices |
|
protected |
Verticen
|
protected |
Indicen
1.8.10