|
AGX Dynamics
2.35.0.1
|
#include <MergedState.h>
Inheritance diagram for agxSDK::ConstraintMergedState:Static Public Member Functions | |
| static ConstraintMergedState | invalid () |
| Creates an invalid merged state. More... | |
Static Public Member Functions inherited from agxSDK::MergedState | |
| static MergedState | invalid () |
| Creates an invalid merged state. More... | |
Protected Attributes | |
| const agxSDK::MergeSplitProperties * | m_constraintProperties |
Protected Attributes inherited from agxSDK::MergedState | |
| Actions | m_allowedActions |
| agx::MergedBody * | m_mergedBody [2] |
| agx::MergedBody * | m_preferredMergedBody |
| const agxSDK::MergeSplitProperties * | m_properties [2] |
| agx::RigidBody * | m_rigidBodies [2] |
| State | m_state |
Additional Inherited Members | |
Public Types inherited from agxSDK::MergedState | |
| typedef agx::BitState< ActionType, agx::Int16 > | Actions |
| enum | ActionType : agx::Int16 { MERGE = 1 << 0 , SPLIT_FIRST = 1 << 1 , SPLIT_SECOND = 1 << 2 } |
| enum | EState { VALID = 1 << 0 , BOTH_ARE_NULL = 1 << 1 , ONE_IS_NULL = 1 << 2 , BOTH_ARE_VALID = 1 << 3 , MERGED_BODIES_ARE_SAME = 1 << 4 , MERGED_BODIES_ARE_DIFFERENT = 1 << 5 , WIRE_BODY_INCLUDED = 1 << 6 , GRANULATE_BODY_INCLUDED = 1 << 7 } |
| typedef agx::BitState< EState, agx::Int32 > | State |
Protected Member Functions inherited from agxSDK::MergedState | |
| void | construct (agx::RigidBody *rb1, agx::RigidBody *rb2) |
| Delegating constructor. More... | |
Definition at line 158 of file MergedState.h.
| agxSDK::ConstraintMergedState::ConstraintMergedState | ( | const agx::HighLevelConstraintImplementation * | constraint, |
| const agxSDK::MergeSplitHandler * | handler | ||
| ) |
Find merged state given constraint.
If the constraint doesn't have properties, allowed actions will be NOTHING.
| constraint | - constraint |
| const agxSDK::MergeSplitProperties* agxSDK::ConstraintMergedState::getConstraintProperties | ( | ) | const |
|
static |
Creates an invalid merged state.
|
protected |
Definition at line 180 of file MergedState.h.