#include <basic/geometry/Mesh.h>
Inherits ObjectBase.
Inherited by GL_Mesh.
Inheritance diagram for Mesh:
Public Member Functions | |
Mesh (FrameManager *frameManager) | |
Mesh (const Mesh &right) | |
Mesh (const IGS_MeshTri &right) | |
virtual | ~Mesh () |
virtual bool | CanCheckInterference (const Entity *entity) const |
virtual Entity * | Clone () const |
virtual bool | IsInterfering (const Entity *entity) const |
void | AddFacet (const Facet &facet) |
void | AddVertex (const Vector4 &vertex) |
const FACETVECTOR & | GetFacets () const |
FACETVECTOR & | GetFacets () |
const VECTOR4VECTOR & | GetVertexes () const |
VECTOR4VECTOR & | GetVertexes () |
bool | ReadFromIcollideFile (std::string fileName) |
void | SetCoordinates (const std::vector< Vector4 > &vertexes) |
void | TransformVerticies (const Matrix4x4 &transform) |
void | SetCoordinateEnumerations (const std::vector< std::vector< unsigned int > > &vertexes) |
void | AddToVcollide (VCollide &vcollide) const |
virtual bool | IsInterfering (const Mesh *entity) const |
void | Splice (const Mesh &mesh) |
virtual void | SetFrame (const Matrix4x4 &frame) |
virtual bool | IsInterfering (const MPK_Sphere *entity) const |
virtual void | Serialize (ostream &os) const |
virtual void | Deserialize (IfstreamWithComments &is) |
bool | Validate () const |
virtual bool | Verify () const |
virtual int | TotalPolys () const |
Static Public Member Functions | |
static void | ResetVcollide () |
Public Attributes | |
VECTOR4VECTOR | vertexes |
FACETVECTOR | facets |
Private Attributes | |
int | vcollideIndex |
Static Private Attributes | |
static int | maxVcollideIndex = -1 |
static VCollide * | vcollide = NULL |
static int | countInstances = 0 |
Definition at line 25 of file Mesh.h.
|
Definition at line 39 of file Mesh.cpp. References countInstances. Referenced by Clone(). |
|
Definition at line 52 of file Mesh.cpp. References countInstances, facets, and vertexes. |
|
Definition at line 77 of file Mesh.cpp. References AddVertex(), IGS_MeshBase::GetNumVertexes(), IGS_MeshBase::GetVertex(), and IJG_Assert. Here is the call graph for this function: ![]() |
|
Definition at line 98 of file Mesh.cpp. References countInstances, facets, vcollide, and vertexes. |
|
Definition at line 186 of file Mesh.cpp. References Facet::vertexNumbers. |
|
Definition at line 266 of file Mesh.cpp. References facets, maxVcollideIndex, vcollideIndex, and vertexes. Referenced by IsInterfering(). |
|
Definition at line 198 of file Mesh.cpp. References vertexes. Referenced by calc_cube_facets(), and Mesh(). |
|
Implements Entity. |
|
Implements ObjectBase. Reimplemented in GL_Mesh. Definition at line 126 of file Mesh.cpp. References Mesh(). Referenced by CD_Swiftpp::AddMeshToSwiftScene(), and CD_Vcollide::AddMeshToVcollide(). Here is the call graph for this function: ![]() |
|
Reimplemented from ObjectBase. Definition at line 500 of file Mesh.cpp. References eatwhite(), IfstreamWithComments::getline(), and vertexes. Referenced by ObjectBase::Deserialize(). Here is the call graph for this function: ![]() |
|
Definition at line 157 of file Mesh.cpp. References facets. |
|
Definition at line 165 of file Mesh.cpp. References facets. Referenced by CD_Vcollide::AddMeshToVcollide(), and calc_cube_facets(). |
|
Definition at line 173 of file Mesh.cpp. References vertexes. |
|
Definition at line 181 of file Mesh.cpp. References vertexes. Referenced by Range_Sensor::AddMeshToDepthMap(), CD_Vcollide::AddMeshToVcollide(), calc_cube_facets(), and Octree_Data_Fuser::Convert(). |
|
Definition at line 432 of file Mesh.cpp. References facets, MPK_Sphere::Position(), MPK_Sphere::Radius(), Sqr(), and vertexes. Here is the call graph for this function: ![]() |
|
Definition at line 321 of file Mesh.cpp. References AddToVcollide(), Entity::GetTransform(), vcollide, and vcollideIndex. Here is the call graph for this function: ![]() |
|
Implements ObjectBase. |
|
|
|
Definition at line 389 of file Mesh.cpp. References maxVcollideIndex, and vcollide. Referenced by CD_Simple::CD_Simple(). |
|
Definition at line 475 of file Mesh.cpp. References vertexes. |
|
Definition at line 238 of file Mesh.cpp. References facets, vertexes, and Facet::vertexNumbers. |
|
|
|
Reimplemented from ObjectBase. Definition at line 425 of file Mesh.cpp. References TransformVerticies(). Here is the call graph for this function: ![]() |
|
Definition at line 400 of file Mesh.cpp. References vertexes. |
|
Reimplemented from ObjectBase. Definition at line 578 of file Mesh.cpp. References facets. |
|
Definition at line 225 of file Mesh.cpp. References vertexes. Referenced by SetFrame(). |
|
Definition at line 545 of file Mesh.cpp. References vertexes. Referenced by GL_Mesh::DrawExplicit(). |
|
Implements ObjectBase. |
|
|
|
Definition at line 59 of file Mesh.h. Referenced by CD_Swiftpp::AddMeshToSwiftScene(), AddToVcollide(), GL_Mesh::ComputeNormals(), GL_Mesh::DrawExplicit(), GetFacets(), IsInterfering(), Mesh(), SetCoordinateEnumerations(), TotalPolys(), and ~Mesh(). |
|
Definition at line 65 of file Mesh.h. Referenced by AddToVcollide(), and ResetVcollide(). |
|
Definition at line 66 of file Mesh.h. Referenced by IsInterfering(), ResetVcollide(), and ~Mesh(). |
|
Definition at line 64 of file Mesh.h. Referenced by AddToVcollide(), and IsInterfering(). |
|
Definition at line 58 of file Mesh.h. Referenced by CD_Swiftpp::AddMeshToSwiftScene(), AddToVcollide(), AddVertex(), GL_Mesh::ComputeNormals(), Deserialize(), GetVertexes(), IsInterfering(), Mesh(), Serialize(), SetCoordinateEnumerations(), Splice(), TransformVerticies(), Validate(), and ~Mesh(). |