#include <TAPsMeshModel.hpp>


Public Member Functions | |
| int | GetNoFaces () const |
| int | GetNoTexCoords () const |
| int | GetNoVertices () const |
| int | GetNumFaces () const |
| int | GetNumTexCoords () const |
| int | GetNumVertices () const |
| MeshModel () | |
| virtual void | SetNoFaces (int n) |
| virtual void | SetNoTexCoords (int n) |
| virtual void | SetNoVertices (int n) |
| virtual void | SetNumFaces (int n) |
| virtual void | SetNumTexCoords (int n) |
| virtual void | SetNumVertices (int n) |
| virtual | ~MeshModel () |
Protected Member Functions | |
| void | Init () |
| Initialization. | |
Protected Attributes | |
| int | m_iNoFaces |
| # of faces | |
| int | m_iNoTexCoords |
| # of texture coordinates | |
| int | m_iNoVertices |
| # of vertices | |
Friends | |
| class | ReadTAPsFile |
Definition at line 26 of file TAPsMeshModel.hpp.
Definition at line 20 of file TAPsCheckerPlane.cpp.
00021 : OpenGLModel<T>(), 00022 m_iNoVertices( 0 ), 00023 m_iNoFaces( 0 ), 00024 m_iNoTexCoords( 0 ) 00025 { 00026 #ifdef TAPs_DEBUG_MODE 00027 std::cout << "MeshModel<" << typeid(T).name() << "> constructor\n"; 00028 #endif//TAPs_DEBUG_MODE 00029 }
Definition at line 33 of file TAPsCheckerPlane.cpp.
00034 { 00035 #ifdef TAPs_DEBUG_MODE 00036 std::cout << "MeshModel<" << typeid(T).name() << "> destructor\n"; 00037 #endif//TAPs_DEBUG_MODE 00038 }
| int MeshModel< T >::GetNoFaces | ( | ) | const [inline] |
| int MeshModel< T >::GetNoTexCoords | ( | ) | const [inline] |
| int MeshModel< T >::GetNoVertices | ( | ) | const [inline] |
| int MeshModel< T >::GetNumFaces | ( | ) | const [inline] |
| int MeshModel< T >::GetNumTexCoords | ( | ) | const [inline] |
| int MeshModel< T >::GetNumVertices | ( | ) | const [inline] |
| void MeshModel< T >::Init | ( | ) | [inline, protected] |
Initialization.
Definition at line 267 of file TAPsMeshModel.cpp.
00268 { 00269 #ifdef TAPs_ENABLE_FACE_VERTEX_COLOR 00270 m_bEnableVertexColor = false; 00271 m_ucDimOfVertexColor = 3; 00272 #endif//TAPs_ENABLE_FACE_VERTEX_COLOR 00273 00274 #ifdef TAPs_ENABLE_FACE_VERTEX_TEXTURE_COORDINATES 00275 m_bEnableVertexTexture = false; 00276 m_ucDimOfVertexTexture = 1; 00277 #endif//TAPs_ENABLE_FACE_VERTEX_TEXTURE_COORDINATES 00278 00279 #if ( defined TAPs_ENABLE_FACE_VERTEX_TEXTURE_COORDINATES || defined TAPs_ENABLE_VERTEX_TEXTURE_COORDINATES ) 00280 #endif 00281 }
| virtual void MeshModel< T >::SetNoFaces | ( | int | n | ) | [inline, virtual] |
| virtual void MeshModel< T >::SetNoTexCoords | ( | int | n | ) | [inline, virtual] |
| virtual void MeshModel< T >::SetNoVertices | ( | int | n | ) | [inline, virtual] |
| void MeshModel< T >::SetNumFaces | ( | int | n | ) | [inline, virtual] |
| void MeshModel< T >::SetNumTexCoords | ( | int | n | ) | [inline, virtual] |
| void MeshModel< T >::SetNumVertices | ( | int | n | ) | [inline, virtual] |
friend class ReadTAPsFile [friend] |
Definition at line 27 of file TAPsMeshModel.hpp.
int MeshModel< T >::m_iNoFaces [protected] |
int MeshModel< T >::m_iNoTexCoords [protected] |
int MeshModel< T >::m_iNoVertices [protected] |
1.5.6