OpenPolygon  1.0.0
OpenPolygon is a Rendering Engine
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Engine::VertexGroup Class Reference

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
 

Detailed Description

The VertexGroup class.

Save Verticen & Indicen with Name

Member Function Documentation

void VertexGroup::addIndex ( int  index)

addIndex

Add Vertex Index Number

Parameters
index
void VertexGroup::addVertex ( const Vector3f offset)

addVertex

Add Vertex

Parameters
offset
VertexGroups VertexGroup::getGroupsByIndex ( VertexGroups  group_list,
int  index 
)

getGroupsByIndex

Return Groups by Index

Parameters
group_list
index
Returns
int VertexGroup::getId ( void  )

getId

Get Group Id

Returns
Indices VertexGroup::getIndices ( void  )

getIndices

Return Indices

Returns
std::string VertexGroup::getName ( void  )

getName

Return Bone | VertexGroup Name

Returns
Vector3fv VertexGroup::getVertices ( void  )

getVertices

Return Verticen

Returns
bool VertexGroup::hasIndex ( int  index)

hasIndex

Return true, if index has

Parameters
index
Returns
bool VertexGroup::hasVertex ( const Vector3f offset)

hasVertex

Return true , if vertex has

Parameters
offset
Returns
void VertexGroup::setId ( int  id)

setId

Parameters
id
void VertexGroup::setIndices ( Indices  indices)

setIndices

Set Indices

Parameters
indices
void VertexGroup::setName ( const std::string &  name)

setName

Set Bone | VertexGroup Name

Parameters
name
void VertexGroup::setVertices ( Vector3fv  vertices)

setVertices

Set Vertices

Parameters
vertices

Member Data Documentation

Indices Engine::VertexGroup::mIndices
protected

Verticen

Vector3fv Engine::VertexGroup::mVertices
protected

Indicen


The documentation for this class was generated from the following files: