public class PhysicsDescriber extends Describer
| Modifier and Type | Field and Description |
|---|---|
static java.util.logging.Logger |
logger
message logger for this class
|
| Constructor and Description |
|---|
PhysicsDescriber()
Instantiate a describer with the default separator.
|
| Modifier and Type | Method and Description |
|---|---|
PhysicsDescriber |
clone()
Create a copy of this PhysicsDescriber.
|
java.lang.String |
describe(CollisionConfiguration configuration)
Generate a textual description for a CollisionConfiguration.
|
java.lang.String |
describe(CollisionShape shape)
Generate a textual description for a CollisionShape.
|
java.lang.String |
describe(PhysicsJoint joint)
Generate a brief textual description for a PhysicsJoint.
|
java.lang.String |
describe(RotationalLimitMotor motor)
Describe the specified RotationalLimitMotor.
|
java.lang.String |
describe(SoftBodyMaterial material)
Generate a brief textual description for the specified
PhysicsSoftBody.Material
|
java.lang.String |
describe(SoftBodyWorldInfo info)
Generate a brief textual description for the specified SoftBodyWorldInfo.
|
java.lang.String |
describe(TranslationalLimitMotor motor,
int axisIndex)
Describe the indexed axis of the specified TranslationalLimitMotor.
|
java.lang.String |
describe(VehicleWheel wheel)
Describe the specified VehicleWheel.
|
java.lang.String |
describe1(SoftBodyConfig config)
Generate the first line of a textual description for the specified
SoftBodyConfig.
|
java.lang.String |
describe2(SoftBodyConfig config)
Generate the 2nd line of a brief textual description for the specified
SoftBodyConfig.
|
java.lang.String |
describe2(VehicleWheel wheel)
Generate the 2nd line of a textual description for the specified
VehicleWheel.
|
java.lang.String |
describeAngular(SixDofJoint joint)
Describe the angular components of the specified SixDofJoint.
|
java.lang.String |
describeDof(New6Dof constraint,
int dofIndex)
Describe the indexed degree of freedom of the specified New6Dof
constraint.
|
java.lang.String |
describeGroups(PhysicsCollisionObject pco)
Briefly describe the collision group and collide-with groups of the
specified collision object.
|
java.lang.String |
describeJointInBody(PhysicsJoint joint,
PhysicsBody body,
boolean forceId)
Describe the specified PhysicsJoint in the context of the specified body.
|
java.lang.String |
describeJointInSpace(PhysicsJoint joint,
boolean forceIds)
Describe the specified joint in the context of a PhysicsSpace.
|
java.lang.String |
describeLinear(SixDofJoint joint)
Describe the linear components of the specified SixDofJoint.
|
java.lang.String |
describeUser(PhysicsCollisionObject pco)
Describe the user of a collision object.
|
describe, describeHalfExtents, describeScale, listSeparator, setListSeparatorpublic static final java.util.logging.Logger logger
public PhysicsDescriber()
This no-arg constructor was made explicit to avoid javadoc warnings from JDK 18+.
public java.lang.String describe(CollisionConfiguration configuration)
configuration - the configuration to describe (not null, unaffected)public java.lang.String describe(CollisionShape shape)
shape - (not null, unaffected)public java.lang.String describe(PhysicsJoint joint)
joint - (not null, unaffected)public java.lang.String describe(RotationalLimitMotor motor)
motor - the motor to describe (not null, unaffected)public java.lang.String describe(SoftBodyMaterial material)
material - the Material to describe (not null, unaffected)public java.lang.String describe(SoftBodyWorldInfo info)
info - the info to describe (not null, unaffected)public java.lang.String describe(TranslationalLimitMotor motor, int axisIndex)
motor - the motor to describe (not null, unaffected)axisIndex - which axis: 0→X, 1→Y, 2→Zpublic java.lang.String describe(VehicleWheel wheel)
wheel - the wheel to describe (not null, unaffected)public java.lang.String describe1(SoftBodyConfig config)
config - the config to describe (not null, unaffected)public java.lang.String describe2(SoftBodyConfig config)
config - the config to describe (not null, unaffected)public java.lang.String describe2(VehicleWheel wheel)
wheel - the wheel to describe (not null, unaffected)public java.lang.String describeAngular(SixDofJoint joint)
joint - the joint to describe (not null, unaffected)public java.lang.String describeDof(New6Dof constraint, int dofIndex)
constraint - the constraint to describe (not null, unaffected)dofIndex - which degree of freedom (0→X translation, 1→Y
translation, 2→Z translation, 3→X rotation, 4→Y rotation,
5→Z rotation)public java.lang.String describeGroups(PhysicsCollisionObject pco)
pco - the object to describe (not null, unaffected)public java.lang.String describeJointInBody(PhysicsJoint joint, PhysicsBody body, boolean forceId)
joint - the joint to describe (not null, unaffected)body - one end of the jointforceId - true to force inclusion of the PCO native IDs, false to
include them only when there's no user or application datapublic java.lang.String describeJointInSpace(PhysicsJoint joint, boolean forceIds)
joint - the joint to describe (not null, unaffected)forceIds - true to force inclusion of PCO native IDs, false to
include them only when there's no user or application datapublic java.lang.String describeLinear(SixDofJoint joint)
joint - the joint to describe (not null, unaffected)public java.lang.String describeUser(PhysicsCollisionObject pco)
pco - the collision object to describe (not null, unaffected)public PhysicsDescriber clone() throws java.lang.CloneNotSupportedException