|
|
#include <ArmarXSimulation/components/Simulator/mujoco/LengthScaling.h>
Public Member Functions | |
| void | disable () |
| Set scaling of meter to millimeter to 1. More... | |
| void | enable () |
| Set scaling of meter to millimeter to 1000. More... | |
| LengthScaling () | |
| Constructor. Enables scaling. More... | |
| float | meterToMilli () const |
| Get the scaling factor for: millimeter = meter * factor. More... | |
| template<typename ValueT > | |
| ValueT | meterToMilli (const ValueT &meter) const |
| Scale the given meter value to millimeter. More... | |
| float | milliToMeter () const |
| Get the scaling factor for: meter = millimeter * factor. More... | |
| template<typename ValueT > | |
| ValueT | milliToMeter (const ValueT &millimeter) const |
| Scale the given millimeter value to meter. More... | |
| void | setEnabled (bool enabled) |
| Enable or disable length scaling. More... | |
Definition at line 6 of file LengthScaling.h.
| LengthScaling | ( | ) |
Constructor. Enables scaling.
Definition at line 6 of file LengthScaling.cpp.
Here is the call graph for this function:| void disable | ( | ) |
Set scaling of meter to millimeter to 1.
Definition at line 18 of file LengthScaling.cpp.
Here is the call graph for this function:| void enable | ( | ) |
Set scaling of meter to millimeter to 1000.
Definition at line 12 of file LengthScaling.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| float meterToMilli | ( | ) | const |
Get the scaling factor for: millimeter = meter * factor.
Definition at line 30 of file LengthScaling.cpp.
|
inline |
Scale the given meter value to millimeter.
Definition at line 29 of file LengthScaling.h.
| float milliToMeter | ( | ) | const |
Get the scaling factor for: meter = millimeter * factor.
Definition at line 36 of file LengthScaling.cpp.
Here is the caller graph for this function:
|
inline |
Scale the given millimeter value to meter.
Definition at line 37 of file LengthScaling.h.
| void setEnabled | ( | bool | enabled | ) |
Enable or disable length scaling.
Definition at line 24 of file LengthScaling.cpp.
Here is the caller graph for this function: