ProjectorConfig
Base class: Resource
Properties
_autoCalcZClipping : bool
Turning this off lets you set near and far clip planes manually
_bFixThrowRatio : bool
_bFixThrowRatioOld : bool
_calibLastChange : int
_calibMethod : int
Lets you select a specific calibration algorithm
_calibMethodOld : int
_calibMethodUsed : int
Which calibration algorithm is actually being used
_calibrationErrors : Vec
Shows the aggregate calibration error (in pixels)
_followRefPointMoves : bool
If set, moving a screen that was used for calibration will also move the projector
_iPointCursor : int
_lensShiftOld : Vec2
_lens_shift : Vec2
Projector lens shift; 0 is centered, +/-1 is shift to image border
_lookDistanceOld : float
_look_distance : float
Distance of lookAt point from world position, in meters.
_matrix : Mat
_position : Vec
Position of projector lens centre, in meters; relative to parent object in the hierarchy.
_positionOld : Vec
_preferredOutputMode : int
Controls the output of the projector during calibration
_radial_distortion : Vec
Radial lens distortion coefficients k1, k2, k3.
_rotation : Vec
Rotation around x, y and z axes, in degrees; relative to parent object in hierarchy.
_rotationOld : Vec
_skew : float
Skew / keystone in solved calibration matrix (diagnostic only).
_skewOld : float
_tangential_distortion : Vec2
Tangential lens distortion coefficients p1, p2.
_throwRatioOld : float
_throw_ratio : float
Projector lens throw ratio, as (distance from lens to screen) / (width of image).
_zFarOverride : float
Far clip plane, in meters
_zNearOverride : float
Near clip plane, in meters
autoZClipping : bool
Sets the projector background colour during calibration
calcViewingDirection : Vec (Read-Only)
calibMethod : int
calibMethodUsed : int (Read-Only)
calibrationErrorColour : Colour (Read-Only)
calibrationErrors : Vec (Read-Only)
calibrationSource : int
controlRotation : int
Rotate calibration controls to match projector angle
cursorType : int
Controls the form of the calibration cursor; select the one that works best for you
disableReferencePointBounds : int
Whether to allow reference point lineup to move the cursor beyond the bounds of the feed (i.e. outside of the projector image). Default: Off.
displayCalibValues : bool
drawOccludedMarkers : int
Whether to draw calibration markers for hidden Reference Points, i.e. on the back face of objects (vertex normals point away from projector).
Not drawing hidden markers, or drawing them at lower opacity affects performance for large meshes. Default: Yes.
fieldOfView : float (Read-Only)
finalAdjustPos : Vec
Offset added to projector position, in meters; use this for last-minute micro-adjustments if necessary
finalAdjustRotate : Vec
Offset added to projector rotation, in degrees; use this for last-minute micro-adjustments if necessary
fixThrowRatio : bool
followRefPointMoves : bool
hideOtherReferencePoints : int
Hides reference points that are not calibrated in this projector config. Default: Off.
isCalibMethodUsedExtrinsicOnly : bool (Read-Only)
isCalibMethodUsedSupportsDistortion : bool (Read-Only)
lensShift : Vec2
lookAt : Vec
lookDistance : float
markerSize : int
Controls the size of the calibration markers in the output, in pixels
nMinLineUps : int (Read-Only)
numModifiedRefPoints : int (Read-Only)
numReferencePoints : int (Read-Only)
numReferencePointsForCurrentPose : int (Read-Only)
position : Vec
projector : Projector (Read-Only)
radialDistortion : Vec
refPointEditMode : int
rotation : Vec
skew : float
tangentialDistortion : Vec2
throwRatio : float
warpGrid : Array2[Vec2]
wireframeCleanup : float
If the angle between two surfaces is less than this angle, the edge is not displayed. Useful for removing excessive edges from curved objects.
wireframeColour : Colour
zFar : float
zFarAuto : float
zNear : float
zNearAuto : float
Variables
calcFlashFactor : Callable
getSupportedCalibMethodNames : Callable
getSupportedCursorTypeNames : Callable
Methods
clearSelection(self)
debugAutoCal(self)
findModifiedPoints(self) -> List[CalibratedPoint]
findReferencePoint(self, point: ReferencePoint) -> int
getReferencePointStatus(self, point: ReferencePoint) -> int
lineupReferencePoint2D(self, deltaPixels: Vec2)
lineupReferencePointEnd(self)
nLineUpsForStatus(self, status: int) -> int
preferredOutputMode(self, mode: int)
recomputeMatrixOnUpdate(self)
removeAllReferencePoints(self)
removeAllReferencePointsCurrentPose(self)
removeReferencePoint(self, point: ReferencePoint)
selectReferencePoint(self)
setReferencePointStatus(self, point: ReferencePoint, _s: int)
updateManualSettings(self)
updateModifiedPoints(self)
usingAutoCalibration(self) -> bool
usingOpticalCalibration(self, onOff: bool)