iModelDataVertices Struct Reference
A set of vertices, including position, normal, color and texture coordinates. More...
#include <imesh/mdldata.h>
Inheritance diagram for iModelDataVertices:

Public Member Functions | |
virtual size_t | AddColor (const csColor &v)=0 |
Add a color. | |
virtual size_t | AddNormal (const csVector3 &v)=0 |
Add a normal. | |
virtual size_t | AddTexel (const csVector2 &v)=0 |
Add a texel. | |
virtual size_t | AddVertex (const csVector3 &v)=0 |
Add a vertex. | |
virtual iModelDataVertices * | Clone () const =0 |
Clone this vertex frame. | |
virtual void | CopyFrom (const iModelDataVertices *Other)=0 |
Add all data from another vertex frame to this one. | |
virtual void | DeleteColor (size_t n)=0 |
Delete a color. | |
virtual void | DeleteNormal (size_t n)=0 |
Delete a normal. | |
virtual void | DeleteTexel (size_t n)=0 |
Delete a texel. | |
virtual void | DeleteVertex (size_t n)=0 |
Delete a vertex. | |
virtual size_t | FindColor (const csColor &v) const =0 |
Find a color. | |
virtual size_t | FindNormal (const csVector3 &v) const =0 |
Find a normal. | |
virtual size_t | FindTexel (const csVector2 &v) const =0 |
Find a texel. | |
virtual size_t | FindVertex (const csVector3 &v) const =0 |
Find a vertex. | |
virtual const csColor & | GetColor (size_t n) const =0 |
Return a color. | |
virtual size_t | GetColorCount () const =0 |
Return the number of contained colors. | |
virtual const csVector3 & | GetNormal (size_t n) const =0 |
Return a normal. | |
virtual size_t | GetNormalCount () const =0 |
Return the number of contained normals. | |
virtual const csVector2 & | GetTexel (size_t n) const =0 |
Return a texel. | |
virtual size_t | GetTexelCount () const =0 |
Return the number of contained texels. | |
virtual const csVector3 & | GetVertex (size_t n) const =0 |
Return the coordinates of a vertex. | |
virtual size_t | GetVertexCount () const =0 |
Return the number of contained vertices. | |
virtual iObject * | QueryObject ()=0 |
Query the iObject for this vertex set. | |
virtual void | SetColor (size_t n, const csColor &v)=0 |
Set a color. | |
virtual void | SetNormal (size_t n, const csVector3 &v)=0 |
Set a normal. | |
virtual void | SetTexel (size_t n, const csVector2 &v)=0 |
Set a texel. | |
virtual void | SetVertex (size_t n, const csVector3 &v)=0 |
Set the coordinates of a vertex. |
Detailed Description
A set of vertices, including position, normal, color and texture coordinates.They are stored in independent lists, i.e. it is for example possible to have different numbers of vertices and normals.
Definition at line 144 of file mdldata.h.
Member Function Documentation
|
Add a color.
|
|
Add a normal.
|
|
Add a texel.
|
|
Add a vertex.
|
|
Clone this vertex frame.
Implemented in csModelDataVertices. |
|
Add all data from another vertex frame to this one.
Implemented in csModelDataVertices. |
|
Delete a color.
|
|
Delete a normal.
|
|
Delete a texel.
|
|
Delete a vertex.
|
|
Find a color.
Implemented in csModelDataVertices. |
|
Find a normal.
Implemented in csModelDataVertices. |
|
Find a texel.
Implemented in csModelDataVertices. |
|
Find a vertex.
Implemented in csModelDataVertices. |
|
Return a color.
|
|
Return the number of contained colors.
|
|
Return a normal.
|
|
Return the number of contained normals.
|
|
Return a texel.
|
|
Return the number of contained texels.
|
|
Return the coordinates of a vertex.
|
|
Return the number of contained vertices.
|
|
Query the iObject for this vertex set.
|
|
Set a color.
|
|
Set a normal.
|
|
Set a texel.
|
|
Set the coordinates of a vertex.
|
The documentation for this struct was generated from the following file:
- imesh/mdldata.h
Generated for Crystal Space by doxygen 1.4.4