#include <PPDBoxExtents.h>
Public Member Functions | |
PPDCubeExtents (unsigned int shapeIdx) | |
~PPDCubeExtents () | |
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 |
Equally 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 3 dimensions are changes simultaneously to keep the cube shape.
Definition at line 67 of file PPDBoxExtents.h.
Rcs::PPDCubeExtents::PPDCubeExtents | ( | unsigned int | shapeIdx | ) |
Definition at line 84 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 98 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 107 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 81 of file PPDBoxExtents.h.