![]() |
Public API Reference |
#include <mdldata.h>
Inheritance diagram for iModelDataPolygon:
Public Methods | |
virtual iObject * | QueryObject ()=0 |
Query the iObject for this material. More... | |
virtual int | GetVertexCount () const=0 |
return the number of vertices. More... | |
virtual int | AddVertex (int Vertex, int Normal, int Color, int Texel)=0 |
Add a vertex. More... | |
virtual void | DeleteVertex (int n)=0 |
Delete a vertex. More... | |
virtual int | GetVertex (int n) const=0 |
return the index of a vertex. More... | |
virtual void | SetVertex (int n, int Index)=0 |
set the index of a vertex. More... | |
virtual int | GetNormal (int n) const=0 |
return the index of a normal. More... | |
virtual void | SetNormal (int n, int Index)=0 |
set the index of a normal. More... | |
virtual int | GetColor (int n) const=0 |
return the index of a color. More... | |
virtual void | SetColor (int n, int Index)=0 |
set the index of a color. More... | |
virtual int | GetTexel (int n) const=0 |
return the index of a texel. More... | |
virtual void | SetTexel (int n, int Index)=0 |
set the index of a texel. More... | |
virtual iModelDataMaterial * | GetMaterial () const=0 |
return the current material. More... | |
virtual void | SetMaterial (iModelDataMaterial *m)=0 |
set the material. More... | |
virtual iModelDataPolygon * | Clone () const=0 |
Clone this polygon. More... |
The vertices, normals, colors and texels are only indices for lists in the parent iModelDataObject. In addition, a polygon contains a material.
Definition at line 266 of file imesh/mdldata.h.
|
Add a vertex.
Implemented in csModelDataPolygon. |
|
Clone this polygon.
Implemented in csModelDataPolygon. |
|
Delete a vertex.
Implemented in csModelDataPolygon. |
|
return the index of a color.
|
|
return the current material.
|
|
return the index of a normal.
|
|
return the index of a texel.
|
|
return the index of a vertex.
|
|
return the number of vertices.
Implemented in csModelDataPolygon. |
|
Query the iObject for this material.
|
|
set the index of a color.
|
|
set the material.
|
|
set the index of a normal.
|
|
set the index of a texel.
|
|
set the index of a vertex.
|