SurfaceParams defines various Surface contact parameters. More...
#include <physics/physics.hh>
Inherited by BulletSurfaceParams, DARTSurfaceParams, and ODESurfaceParams.
Public Member Functions | |
| SurfaceParams () | |
| Constructor. More... | |
| virtual | ~SurfaceParams () |
| Destructor. More... | |
| virtual void | FillMsg (msgs::Surface &_msg) |
| Fill in a surface message. More... | |
| virtual FrictionPyramidPtr | FrictionPyramid () const |
| Get access to FrictionPyramid data, if available. More... | |
| virtual void | Load (sdf::ElementPtr _sdf) |
| Load the contact params. More... | |
| virtual void | ProcessMsg (const msgs::Surface &_msg) |
| Process a surface message. More... | |
Public Attributes | |
| unsigned int | collideBitmask |
| Custom collision filtering. More... | |
| bool | collideWithoutContact |
| Allow collision checking without generating a contact joint. More... | |
| unsigned int | collideWithoutContactBitmask |
| Custom collision filtering used when collideWithoutContact is true. More... | |
SurfaceParams defines various Surface contact parameters.
These parameters defines the properties of a physics::Contact constraint.
| SurfaceParams | ( | ) |
Constructor.
|
virtual |
Destructor.
|
virtual |
Fill in a surface message.
| [in] | _msg | Message to fill with this object's values. |
Reimplemented in DARTSurfaceParams, BulletSurfaceParams, and ODESurfaceParams.
|
virtual |
Get access to FrictionPyramid data, if available.
Reimplemented in DARTSurfaceParams, BulletSurfaceParams, and ODESurfaceParams.
|
virtual |
Load the contact params.
| [in] | _sdf | SDF values to load from. |
Reimplemented in DARTSurfaceParams, BulletSurfaceParams, and ODESurfaceParams.
|
virtual |
Process a surface message.
| [in] | _msg | Message to read values from. |
Reimplemented in DARTSurfaceParams, BulletSurfaceParams, and ODESurfaceParams.
| unsigned int collideBitmask |
Custom collision filtering.
Will override collideWithoutContact.
| bool collideWithoutContact |
Allow collision checking without generating a contact joint.
| unsigned int collideWithoutContactBitmask |
Custom collision filtering used when collideWithoutContact is true.