Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
#include <FXGLTriangleMesh.h>
Inheritance diagram for FX::FXGLTriangleMesh:
Public Member Functions | |
FXGLTriangleMesh (FXfloat x, FXfloat y, FXfloat z, FXint nv, FXfloat *v, FXfloat *n=NULL, FXfloat *c=NULL, FXfloat *t=NULL) | |
FXGLTriangleMesh (FXfloat x, FXfloat y, FXfloat z, FXint nv, FXfloat *v, FXfloat *n, FXfloat *c, FXfloat *t, const FXMaterial &mtl) | |
FXGLTriangleMesh (const FXGLTriangleMesh &orig) | |
virtual FXGLObject * | copy () |
void | setVertexNumber (FXint nvertices) |
FXint | getVertexNumber () const |
void | setVertexBuffer (FXfloat *vertices) |
FXfloat * | getVertexBuffer () const |
void | setColorBuffer (FXfloat *colors) |
FXfloat * | getColorBuffer () const |
void | setNormalBuffer (FXfloat *normals) |
FXfloat * | getNormalBuffer () const |
void | setTextureCoordBuffer (FXfloat *textures) |
FXfloat * | getTextureCoordBuffer () const |
virtual void | save (FXStream &store) const |
virtual void | load (FXStream &store) |
virtual | ~FXGLTriangleMesh () |
|
Construct triangle mesh with nv vertices, and optional normals, colors, and texture coordinates.
|
|
Construct triangle mesh with nv vertices, and optional normals, colors, and texture coordinates, and surface material.
|
|
Copy constructor.
|
|
Destructor.
|
|
Copy this object.
Reimplemented from FX::FXGLShape. |
|
Change number of vertices.
|
|
Get number of vertices.
|
|
Set vertex buffer.
|
|
Get vertex buffer.
|
|
Set color buffer.
|
|
Get color buffer.
|
|
Set normals buffer.
|
|
Get normals buffer.
|
|
Set texture coordinate buffer.
|
|
Get texture coordinate buffer.
|
|
Save to a stream.
Reimplemented from FX::FXGLShape. |
|
Load from a stream.
Reimplemented from FX::FXGLShape. |
Copyright © 1997-2004 Jeroen van der Zijp |