SCL
1.0
Standard Control Library : Control, dynamics, physics, and simulation
|
#include <SGraphicsChai.hpp>
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_ |
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.
|
inline |
Constructor : Sets stuff to NULL.
|
inlinevirtualinherited |
Get the object's type
|
inlinevirtualinherited |
Get the object's type
|
inlinevirtualinherited |
Get the object's type
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
|
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
|
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
|
protectedinherited |
The object's type. Should only be set by the constructor