cajun::mesh_object_t Class Reference

#include <mesh_object.H>

Inheritance diagram for cajun::mesh_object_t:
cajun::sim_world_object_t

List of all members.

Public Member Functions

 mesh_object_t (dWorldID *world_body, dSpaceID *world_space, dGeomID ground, object_info_t *object_data, rndf_tool_t *rndf_tool, access_data_t *access_data_)
 ~mesh_object_t ()
bool update (float curr_time)
void get_data (vector< obstacle_data_t > *&object_info, vector< obstacle_points_data_t > *&object_points_)

Private Member Functions

bool load_vertices ()
bool load_indices ()

Private Attributes

dGeomID m_trimesh
dTriMeshDataID m_data
std::ifstream m_indices_file
std::ifstream m_vertices_file
std::vector< dReal > m_vertex_data
std::vector< int > m_indices

Constructor & Destructor Documentation

mesh_object_t::mesh_object_t ( dWorldID *  world_body,
dSpaceID *  world_space,
dGeomID  ground,
object_info_t object_data,
rndf_tool_t *  rndf_tool,
access_data_t *  access_data_ 
)
mesh_object_t::~mesh_object_t (  ) 

Member Function Documentation

void mesh_object_t::get_data ( vector< obstacle_data_t > *&  object_info,
vector< obstacle_points_data_t > *&  object_points_ 
) [virtual]
bool mesh_object_t::load_indices (  )  [private]

References m_indices, m_indices_file, and progname.

Referenced by mesh_object_t().

bool mesh_object_t::load_vertices (  )  [private]

References m_vertex_data, m_vertices_file, and progname.

Referenced by mesh_object_t().

bool mesh_object_t::update ( float  curr_time  )  [virtual]

Member Data Documentation

dTriMeshDataID cajun::mesh_object_t::m_data [private]

Referenced by mesh_object_t().

std::vector<int> cajun::mesh_object_t::m_indices [private]

Referenced by load_indices(), and mesh_object_t().

std::ifstream cajun::mesh_object_t::m_indices_file [private]

Referenced by load_indices(), and mesh_object_t().

Referenced by mesh_object_t().

std::vector<dReal> cajun::mesh_object_t::m_vertex_data [private]

Referenced by load_vertices(), and mesh_object_t().

std::ifstream cajun::mesh_object_t::m_vertices_file [private]

Referenced by load_vertices(), and mesh_object_t().


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

Generated on Fri Apr 9 10:45:14 2010 for simulator by  doxygen 1.6.1