mesh_file Class Reference

Inheritance diagram for mesh_file:

Inheritance graph
[legend]
Collaboration diagram for mesh_file:

Collaboration graph
[legend]

List of all members.


Detailed Description

Definition at line 487 of file model.cpp.


Public Member Functions

void attach ()
bool detach ()
 Returns true if the object deleted itself.
dictionary< mesh *, string > & get_meshes ()
const int & get_ref_count () const
 mesh_file (const string &fname)
 ~mesh_file ()

Private Member Functions

void load_obj_file (const string &fname)

Private Attributes

dictionary< mesh *, stringmeshes

Constructor & Destructor Documentation

mesh_file ( const string fname  ) 

~mesh_file (  ) 

Definition at line 517 of file model.cpp.

References mesh_file::meshes.


Member Function Documentation

void attach (  )  [inherited]

bool detach (  )  [inherited]

Returns true if the object deleted itself.

Definition at line 59 of file shared.cpp.

References shared_object::ref_count.

Referenced by string::make_null(), string::unshare(), font::~font(), and texture::~texture().

dictionary<mesh *, string>& get_meshes (  )  [inline]

Definition at line 495 of file model.cpp.

Referenced by model_part::model_part().

const int& get_ref_count (  )  const [inline, inherited]

Definition at line 57 of file shared.hpp.

Referenced by string::unshare().

void load_obj_file ( const string fname  )  [private]


Member Data Documentation

dictionary<mesh *, string> meshes [private]

Definition at line 490 of file model.cpp.

Referenced by mesh_file::load_obj_file(), and mesh_file::~mesh_file().


The documentation for this class was generated from the following file:

Generated on Sat Mar 1 13:50:07 2008 for Periapsis Project by  doxygen 1.5.5