disguise developers

Designer Plugins

Plugins for Disguise Designer software.

RigidBodyTrackingSource

Base class: ObjectTrackingSource

Properties

actionOnTrackingLost : int

Action to carry out if tracking is lost for any reason

Options: {0: ‘Maintain Last Known Values’, 1: ‘Reset’, 2: ‘Follow Sequencing’}
UserName: On Tracking Lost

calibrated : int

Options: {0: ‘NotCalibrated’, 1: ‘Calibrated’}
UserName: Status

constrainXYZEnabled : Vec

Limiting motion in XYZ dimensions (0 = off, 1 = on)

UserName: Constrain XYZ

constrainXYZRotEnabled : Vec

Limiting motion in XYZ orientations (0 = off, 1 = on)

UserName: Constrain XYZ Rot

constraintXYZMax : Vec

Limit in the +XYZ Axes (m)

UserName: Constraint XYZ (Max)

constraintXYZMin : Vec

Limit in the -XYZ Axes (m)

UserName: Constraint XYZ (Min)

constraintXYZRotMax : Vec

Limit the +XYZ Rotation (deg)

UserName: Constraint Rot XYZ (Max)

constraintXYZRotMin : Vec

Limit the -XYZ Rotation (deg)

UserName: Constraint Rot XYZ (Min)

engaged : int

Options: {0: ‘No’, 1: ‘Yes’}

fixed : List[ReferencePoint]

isPositionApproximationEnabled : int

With this option enabled the RigidBody solver will attempt to track position (excluding any rotation) if there are 1 or 2 points visible. Note: only valid for the RigidBody solver, which requires 3 visible tracked points for a full solve of position and rotation.

Options: {0: ‘Off’, 1: ‘On’}
UserName: Position Approximation

nSolverIterations : int

Number of iterations to improve base solved pose.

UserName: Solver iterations

offset : Vec

Set a tweak offset. Only active when receiving tracking data

offsets : List[Vec]

posThreshold : float

Set this to a value greater than zero to prevent Dynamic Blend from recomputing because of static oscillation

UserName: Dynamic Blend Movement threshold (mm)

resetPosition : Vec

Stage position to return to in ‘Reset’ mode

UserName: Reset Position

resetRotation : Vec

Stage Orientation to return to in ‘Reset’ mode

UserName: Reset Rotation

rotation : Vec

Set a tweak rotation. Only active when receiving tracking data

rotationThreshold : float

Set this to a value greater than zero to prevent Dynamic Blend from recomputing because of static oscillation

UserName: Dynamic Blend Rotation threshold (deg)

samplingSnapFixedPoints : bool (Read-Only)

smoothingFactorSolvedOffset : float

solverMode : int

The RigidBody solver requires 3 visible tracked points for a full solve of position and rotation. The Actor solver will only solve for position and requires at least 1 visible tracked point.

Options: {0: ‘RigidBody’, 1: ‘Actor’}

tpReceiveTimeoutSecs : float

Tracked point receive timeout after N seconds. Applies to all tracked points for rigid body.

UserName: Receive Timeout (sec)

tpReceivingForThresholdSecs : float

Tracked point receiving with confidence threshold after N seconds. Applies to all tracked points for rigid body.

UserName: Confidence Threshold (sec)

tpStoppedReceivingForThresholdSecs : float

Tracked point remove from stage after N seconds. Applies to all tracked points for rigid body.

UserName: Remove from Stage Timeout (sec)

tracked : List[TrackedPoint]

trackingLostTimeout : float

How long to wait after tracking loss before executing the action

UserName: On Tracking Lost Timeout (sec)

trackingRegainedAnimationDuration : float

Duration of animating position to tracked position when tracking is regained

UserName: On Tracking Regained Animation Duration (sec)

Methods

addPair(self)

removePair(self)

showBtMarkers(self, onOff: bool)

snapFixedPoints(self)