#include <PPDBodyPosition.h>
Public Member Functions | |
PPDBodyPosition (bool includeX, bool includeY, bool includeZ) | |
~PPDBodyPosition () | |
virtual void | setValues (PropertySource *inValues) |
![]() | |
PPDCompound () | |
virtual | ~PPDCompound () |
void | addChild (PhysicsParameterDescriptor *) |
virtual void | getValues (PropertySink *outValues) |
const std::vector< PhysicsParameterDescriptor * > & | getChildren () const |
![]() | |
PhysicsParameterDescriptor () | |
virtual | ~PhysicsParameterDescriptor () |
Protected Member Functions | |
virtual void | init (BodyParamInfo *bpi) |
Private Attributes | |
double | initPos [3] |
double | offsetPos [3] |
Additional Inherited Members | |
![]() | |
BodyParamInfo * | bodyParamInfo |
Adjusts the Cartesian position of a body in space by adding an offset. The individual dimensions can be masked out by passing false.
Definition at line 43 of file PPDBodyPosition.h.
Rcs::PPDBodyPosition::PPDBodyPosition | ( | bool | includeX, |
bool | includeY, | ||
bool | includeZ | ||
) |
Definition at line 43 of file PPDBodyPosition.cpp.
|
default |
|
protectedvirtual |
Setup descriptor to work on the given body reference. Override for more custom initialization.
Reimplemented from Rcs::PPDCompound.
Definition at line 74 of file PPDBodyPosition.cpp.
|
virtual |
Read values from the given dict and apply them to the graph. The parameter names need to be the same as in Rcs, e.g. rolling_friction_coefficient.
Reimplemented from Rcs::PPDCompound.
Definition at line 81 of file PPDBodyPosition.cpp.
|
private |
The body's nominal position (in world coordinates / the parent's coordinates)
Definition at line 57 of file PPDBodyPosition.h.
|
private |
Position offset values.
Definition at line 60 of file PPDBodyPosition.h.