- Cal3D 0.11 API Reference -

mesh.h
1//****************************************************************************//
2// mesh.h //
3// Copyright (C) 2001, 2002 Bruno 'Beosil' Heidelberger //
4//****************************************************************************//
5// This library is free software; you can redistribute it and/or modify it //
6// under the terms of the GNU Lesser General Public License as published by //
7// the Free Software Foundation; either version 2.1 of the License, or (at //
8// your option) any later version. //
9//****************************************************************************//
10
11#ifndef CAL_MESH_H
12#define CAL_MESH_H
13
14
15#include "cal3d/global.h"
16
17
18class CalModel;
19class CalCoreMesh;
20class CalSubmesh;
21
22
23class CAL3D_API CalMesh
24{
25// constructors/destructor
26public:
27 CalMesh(CalCoreMesh *pCoreMesh);
28 ~CalMesh();
29
30 CalCoreMesh *getCoreMesh();
31 CalSubmesh *getSubmesh(int id);
32 int getSubmeshCount();
33 std::vector<CalSubmesh *>& getVectorSubmesh();
34 void setLodLevel(float lodLevel);
35 void setMaterialSet(int setId);
36 void setModel(CalModel *pModel);
37 void disableInternalData();
38
39private:
40 CalModel *m_pModel;
41 CalCoreMesh *m_pCoreMesh;
42 std::vector<CalSubmesh *> m_vectorSubmesh;
43};
44
45#endif
46
47//****************************************************************************//
Definition coremesh.h:24
Definition mesh.h:24
Definition model.h:31
Definition submesh.h:23

Generated by The Cal3D Team with Doxygen 1.9.8