#include <mesh.h>
Public Member Functions | |
Mesh () | |
An empty constructor. | |
virtual | ~Mesh () |
An empty destructor. | |
virtual int | get_position_count () const =0 |
Return the number of vertex positions. | |
virtual Point3 | get_position (int position_index) const =0 |
Return the vertex position with the given index. | |
virtual int | get_normal_count () const =0 |
Return the number of vertex normals. | |
virtual Vector3 | get_normal (int normal_index) const =0 |
Return the vertex normal with the given index. | |
virtual int | get_face_count () const =0 |
Return the number of faces. | |
virtual int | get_face_vertex_count (int face_index) const =0 |
Return the number of vertices in the face with the given index. | |
virtual int | get_face_vertex_position_index (int face_index, int vertex_index) const =0 |
Return the index of the position of the vertex specified by vertex_index of the face specfied by face_index. | |
virtual int | get_face_vertex_normal_index (int face_index, int vertex_index) const =0 |
Return the index of the normal of the vertex specified by vertex_index of the face specfied by face_index. | |
virtual Point3 | get_face_vertex_position (int face_index, int vertex_index) const =0 |
Return position of the vertex specified by vertex_index of the face specfied by face_index. | |
virtual Vector3 | get_face_vertex_normal (int face_index, int vertex_index) const =0 |
Return normal of the vertex specified by vertex_index of the face specfied by face_index. |
Mesh::Mesh | ( | ) |
An empty constructor.
virtual Mesh::~Mesh | ( | ) | [virtual] |
An empty destructor.
virtual int Mesh::get_face_count | ( | ) | const [pure virtual] |
virtual int Mesh::get_face_vertex_count | ( | int | face_index | ) | const [pure virtual] |
virtual Vector3 Mesh::get_face_vertex_normal | ( | int | face_index, | |
int | vertex_index | |||
) | const [pure virtual] |
Return normal of the vertex specified by vertex_index of the face specfied by face_index.
Implemented in UniversalMesh.
virtual int Mesh::get_face_vertex_normal_index | ( | int | face_index, | |
int | vertex_index | |||
) | const [pure virtual] |
Return the index of the normal of the vertex specified by vertex_index of the face specfied by face_index.
Implemented in UniversalMesh.
virtual Point3 Mesh::get_face_vertex_position | ( | int | face_index, | |
int | vertex_index | |||
) | const [pure virtual] |
Return position of the vertex specified by vertex_index of the face specfied by face_index.
Implemented in UniversalMesh.
virtual int Mesh::get_face_vertex_position_index | ( | int | face_index, | |
int | vertex_index | |||
) | const [pure virtual] |
Return the index of the position of the vertex specified by vertex_index of the face specfied by face_index.
Implemented in UniversalMesh.
virtual Vector3 Mesh::get_normal | ( | int | normal_index | ) | const [pure virtual] |
virtual int Mesh::get_normal_count | ( | ) | const [pure virtual] |
virtual Point3 Mesh::get_position | ( | int | position_index | ) | const [pure virtual] |
virtual int Mesh::get_position_count | ( | ) | const [pure virtual] |