Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

MS_Mesh Class Reference

#include <MilkShape.h>

List of all members.

Public Member Functions

 MS_Mesh ()
virtual ~MS_Mesh ()
void clear ()
bool loadFromAsciiSegment (FILE *file)
int getNumVertices ()
MS_VecgetVertices ()
int getNumTriangles ()
MS_TrigetTriangles ()
int getNumNormals ()
MS_NormalgetNormals ()

Public Attributes

int numVertices
MS_Vecvertices
int numTriangles
MS_Tritriangles
int numNormals
MS_Normalnormals


Detailed Description

Definition at line 124 of file MilkShape.h.


Constructor & Destructor Documentation

MS_Mesh::MS_Mesh  ) 
 

MS_Mesh.cpp

Author: Petter Alstermark, petter@alstermark.com

Definition at line 9 of file MS_Mesh.cpp.

References normals, triangles, and vertices.

MS_Mesh::~MS_Mesh  )  [virtual]
 

Definition at line 15 of file MS_Mesh.cpp.

References clear().

Here is the call graph for this function:


Member Function Documentation

void MS_Mesh::clear  ) 
 

Definition at line 19 of file MS_Mesh.cpp.

References normals, triangles, and vertices.

Referenced by MilkShape::clear(), and ~MS_Mesh().

MS_Normal* MS_Mesh::getNormals  )  [inline]
 

Definition at line 137 of file MilkShape.h.

References normals.

int MS_Mesh::getNumNormals  )  [inline]
 

Definition at line 136 of file MilkShape.h.

References numNormals.

int MS_Mesh::getNumTriangles  )  [inline]
 

Definition at line 134 of file MilkShape.h.

References numTriangles.

int MS_Mesh::getNumVertices  )  [inline]
 

Definition at line 132 of file MilkShape.h.

References numVertices.

MS_Tri* MS_Mesh::getTriangles  )  [inline]
 

Definition at line 135 of file MilkShape.h.

References triangles.

MS_Vec* MS_Mesh::getVertices  )  [inline]
 

Definition at line 133 of file MilkShape.h.

References vertices.

bool MS_Mesh::loadFromAsciiSegment FILE *  file  ) 
 

Definition at line 35 of file MS_Mesh.cpp.

References normals, numNormals, numTriangles, numVertices, triangles, MS_Vec::v, and vertices.


Member Data Documentation

MS_Normal* MS_Mesh::normals
 

Definition at line 147 of file MilkShape.h.

Referenced by clear(), getNormals(), loadFromAsciiSegment(), MS_Mesh(), and MilkShape::render().

int MS_Mesh::numNormals
 

Definition at line 146 of file MilkShape.h.

Referenced by getNumNormals(), and loadFromAsciiSegment().

int MS_Mesh::numTriangles
 

Definition at line 143 of file MilkShape.h.

Referenced by getNumTriangles(), and loadFromAsciiSegment().

int MS_Mesh::numVertices
 

Definition at line 140 of file MilkShape.h.

Referenced by getNumVertices(), and loadFromAsciiSegment().

MS_Tri* MS_Mesh::triangles
 

Definition at line 144 of file MilkShape.h.

Referenced by clear(), getTriangles(), loadFromAsciiSegment(), MS_Mesh(), and MilkShape::render().

MS_Vec* MS_Mesh::vertices
 

Definition at line 141 of file MilkShape.h.

Referenced by MilkShape::attachSkin(), clear(), getVertices(), loadFromAsciiSegment(), MS_Mesh(), and MilkShape::render().


Generated on Sun Jun 5 15:50:21 2005 for Defacto by  doxygen 1.4.3