![]() |
An open-source, flexible 3D physical simulation framework
|
#include <Viz.h>
Public Member Functions | |
Viz () | |
Viz (lib_manager::LibManager *theManager) | |
virtual | ~Viz () |
virtual int | getLibVersion () const |
virtual const std::string | getLibName () const |
CREATE_MODULE_INFO () | |
void | init (bool createWindow=true) |
void | loadScene (std::string filename, std::string robotname="") |
void | setJointValue (std::string jointName, double value) |
void | setJointValue (unsigned int controllerIdx, double value) |
void | setNodePosition (const std::string &nodeName, const utils::Vector &pos) |
void | setNodePosition (const unsigned long &id, const utils::Vector &pos) |
void | setNodeOrientation (const std::string &nodeName, const utils::Quaternion &q) |
void | setNodeOrientation (const unsigned long &id, const utils::Quaternion &q) |
virtual void | receiveData (const data_broker::DataInfo &info, const data_broker::DataPackage &package, int callbackParam) |
The DataBroker will call this method to notify the receiver of whenever the condition for which the receiver registered occur. More... | |
![]() | |
LibInterface (LibManager *theManager) | |
virtual | ~LibInterface (void) |
ModuleInfo | getModuleInfo () const |
virtual void | newLibLoaded (const std::string &libName) |
virtual void | createModuleInfo (void) |
![]() | |
ReceiverInterface () | |
virtual | ~ReceiverInterface () |
Public Attributes | |
interfaces::GraphicsManagerInterface * | graphics |
Private Member Functions | |
void | setJointValue (ForwardTransform *joint, double value) |
Private Attributes | |
std::string | configDir |
std::map< unsigned long, interfaces::NodeData > | nodeMapById |
std::map< std::string, interfaces::NodeData > | nodeMapByName |
std::map< std::string, ForwardTransform > | jointMapByName |
std::map< unsigned long, ForwardTransform * > | jointMapById |
std::map< unsigned long, ForwardTransform * > | jointMapByNodeId |
std::vector< ForwardTransform * > | jointByControllerIdx |
interfaces::ControlCenter * | control |
Additional Inherited Members | |
![]() | |
LibManager * | libManager |
ModuleInfo | moduleInfo |
mars::viz::Viz::Viz | ( | lib_manager::LibManager * | theManager | ) |
mars::viz::Viz::CREATE_MODULE_INFO | ( | ) |
|
inlinevirtual |
Implements lib_manager::LibInterface.
|
inlinevirtual |
Implements lib_manager::LibInterface.
void mars::viz::Viz::loadScene | ( | std::string | filename, |
std::string | robotname = "" |
||
) |
|
virtual |
The DataBroker will call this method to notify the receiver of whenever the condition for which the receiver registered occur.
info | Information about the DataPackage. |
dataPackage | The DataPackage containing all the data. |
callbackParam | The int the receiver passed during registration. The default (the receiver didn't provide a callbackParam) is 0. This can be used to easily distinguish different registrations. |
Implements mars::data_broker::ReceiverInterface.
void mars::viz::Viz::setJointValue | ( | std::string | jointName, |
double | value | ||
) |
void mars::viz::Viz::setJointValue | ( | unsigned int | controllerIdx, |
double | value | ||
) |
|
private |
void mars::viz::Viz::setNodeOrientation | ( | const std::string & | nodeName, |
const utils::Quaternion & | q | ||
) |
void mars::viz::Viz::setNodeOrientation | ( | const unsigned long & | id, |
const utils::Quaternion & | q | ||
) |
void mars::viz::Viz::setNodePosition | ( | const std::string & | nodeName, |
const utils::Vector & | pos | ||
) |
void mars::viz::Viz::setNodePosition | ( | const unsigned long & | id, |
const utils::Vector & | pos | ||
) |
|
private |
interfaces::GraphicsManagerInterface* mars::viz::Viz::graphics |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |