SCL  1.0
Standard Control Library : Control, dynamics, physics, and simulation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Macros Groups Pages
Public Member Functions | Public Attributes | Protected Attributes | List of all members
scl::SGraphicsChai Class Reference

#include <SGraphicsChai.hpp>

Inheritance diagram for scl::SGraphicsChai:
Inheritance graph
[legend]
Collaboration diagram for scl::SGraphicsChai:
Collaboration graph
[legend]

Public Member Functions

 SGraphicsChai ()
 
virtual const std::string & getType () const
 
virtual const std::string & getName () const
 
virtual bool hasBeenInit () const
 

Public Attributes

chai3d::cWorld * chai_world_
 
chai3d::cCamera * chai_cam_
 
sutil::CMappedList
< std::string, SRobotRenderObj
robots_rendered_
 
sutil::CMappedList
< std::string,
SGraphicsChaiMesh
meshes_rendered_
 
sutil::CMappedList
< std::string,
SGraphicsChaiMuscleSet
muscles_rendered_
 
bool mouse_mode_cam_
 
sFloat gl_width_
 
sFloat gl_height_
 
bool mouse_button_pressed_
 
sInt mouse_x_
 
sInt mouse_y_
 
sInt mouse_button_
 
scl::sFloat mouse_grab_mag_
 
Eigen::Vector3d mouse_grab_pos_
 
chai3d::cGenericObject * mouse_grab_obj_
 
sFloat running_
 
std::string name_
 
sBool has_been_init_
 

Protected Attributes

std::string type_
 

Detailed Description

Enables passing data between a chai rendering instance and the scl control framework.

Chai basically uses a set of <rotation matrix,translation vector> objects and renders a mesh with each.

NOTE : Chai deletes its own data.

Constructor & Destructor Documentation

scl::SGraphicsChai::SGraphicsChai ( )
inline

Constructor : Sets stuff to NULL.

Member Function Documentation

virtual const std::string& scl::SObject::getName ( ) const
inlinevirtualinherited

Get the object's type

virtual const std::string& scl::SObject::getType ( ) const
inlinevirtualinherited

Get the object's type

virtual bool scl::SObject::hasBeenInit ( ) const
inlinevirtualinherited

Get the object's type

Member Data Documentation

chai3d::cCamera* scl::SGraphicsChai::chai_cam_

A camera that looks at the world.

chai3d::cWorld* scl::SGraphicsChai::chai_world_

The graphics world : A scenegraph of what will be rendered

sBool scl::SObject::has_been_init_
inherited

Whether the object is ready for use

sutil::CMappedList<std::string, SGraphicsChaiMesh> scl::SGraphicsChai::meshes_rendered_

Container for all the mesh objects to be rendered

bool scl::SGraphicsChai::mouse_mode_cam_

Gui properties

sutil::CMappedList<std::string, SGraphicsChaiMuscleSet> scl::SGraphicsChai::muscles_rendered_

Container for all the muscle objects to be rendered

std::string scl::SObject::name_
inherited

The object's name

sutil::CMappedList<std::string, SRobotRenderObj> scl::SGraphicsChai::robots_rendered_

Container for all the robots to be rendered.

sFloat scl::SGraphicsChai::running_

Running or not

std::string scl::SObject::type_
protectedinherited

The object's type. Should only be set by the constructor


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