Google

Main Page   Class Hierarchy   Compound List   File List   Compound Members  

iModelDataVertices Struct Reference

A set of vertices, including position, normal, color and texture coordinates. More...

#include <mdldata.h>

Inheritance diagram for iModelDataVertices:

iBase List of all members.

Public Methods

virtual iObjectQueryObject ()=0
 Query the iObject for this vertex set.

virtual int GetVertexCount () const=0
 Return the number of contained vertices.

virtual const csVector3GetVertex (int n) const=0
 Return the coordinates of a vertex.

virtual void SetVertex (int n, const csVector3 &v)=0
 Set the coordinates of a vertex.

virtual int AddVertex (const csVector3 &v)=0
 Add a vertex.

virtual void DeleteVertex (int n)=0
 Delete a vertex.

virtual int FindVertex (const csVector3 &v) const=0
 Find a vertex.

virtual int GetNormalCount () const=0
 Return the number of contained normals.

virtual const csVector3GetNormal (int n) const=0
 Return a normal.

virtual void SetNormal (int n, const csVector3 &v)=0
 Set a normal.

virtual int AddNormal (const csVector3 &v)=0
 Add a normal.

virtual void DeleteNormal (int n)=0
 Delete a normal.

virtual int FindNormal (const csVector3 &v) const=0
 Find a normal.

virtual int GetColorCount () const=0
 Return the number of contained colors.

virtual const csColorGetColor (int n) const=0
 Return a color.

virtual void SetColor (int n, const csColor &v)=0
 Set a color.

virtual int AddColor (const csColor &v)=0
 Add a color.

virtual void DeleteColor (int n)=0
 Delete a color.

virtual int FindColor (const csColor &v) const=0
 Find a color.

virtual int GetTexelCount () const=0
 Return the number of contained texels.

virtual const csVector2GetTexel (int n) const=0
 Return a texel.

virtual void SetTexel (int n, const csVector2 &v)=0
 Set a texel.

virtual int AddTexel (const csVector2 &v)=0
 Add a texel.

virtual void DeleteTexel (int n)=0
 Delete a texel.

virtual int FindTexel (const csVector2 &v) const=0
 Find a texel.

virtual void CopyFrom (const iModelDataVertices *Other)=0
 Add all data from another vertex frame to this one.

virtual iModelDataVertices* Clone () const=0
 Clone this vertex frame.


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.


The documentation for this struct was generated from the following file:
Generated for Crystal Space by doxygen 1.2.5 written by Dimitri van Heesch, ©1997-2000