#include <PPDBoxExtents.h>
Public Member Functions | |
PPDBoxExtents (unsigned int shapeIdx, bool includeLength, bool includeWidth, bool includeHeight) | |
~PPDBoxExtents () | |
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 | |
unsigned int | shapeIdx |
Additional Inherited Members | |
![]() | |
BodyParamInfo * | bodyParamInfo |
Adjusts the length, width and high of a box shaped body. This class does not consider potentially necessary offsets, e.g. if the box is initially in contact with another body. The individual dimensions can be masked out by passing false.
Definition at line 44 of file PPDBoxExtents.h.
Rcs::PPDBoxExtents::PPDBoxExtents | ( | unsigned int | shapeIdx, |
bool | includeLength, | ||
bool | includeWidth, | ||
bool | includeHeight | ||
) |
Definition at line 44 of file PPDBoxExtents.cpp.
|
default |
|
protectedvirtual |
Setup descriptor to work on the given body reference. Override for more custom initialization.
Reimplemented from Rcs::PPDCompound.
Definition at line 68 of file PPDBoxExtents.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 77 of file PPDBoxExtents.cpp.
|
private |
The shape's index given the body. THis is given by the order of the shapes in the config xml-file.
Definition at line 58 of file PPDBoxExtents.h.