DepthCameraCalibrator

class DepthCameraCalibrator(program: Program, depthCameras: DepthCamera) : Extension(source)

Depth camera calibrator extension.

Parameters

program

the program using this extension, Note: normally we would pass program in setup, however there is a cyclic dependency between GUI and calibrator, so some dimensions have to be established before setup. See Kinect1Demo10DepthCameraCalibration.kt.

depthCameras

depth cameras to calibrate.

Constructors

Link copied to clipboard
constructor(program: Program, vararg depthCameras: DepthCamera)

Types

Link copied to clipboard
inner class Calibration(val camera: DepthCamera, val colorBuffer: ColorBuffer = colorBuffer( camera.resolution.x, camera.resolution.y ))

Properties

Link copied to clipboard
open override var enabled: Boolean

Functions

Link copied to clipboard
fun addControlsTo(gui: GUI)
Link copied to clipboard
open override fun afterDraw(drawer: Drawer, program: Program)
Link copied to clipboard
open fun beforeDraw(drawer: Drawer, program: Program)
Link copied to clipboard
fun handleKeyDown(event: KeyEvent)
Link copied to clipboard
Link copied to clipboard
open override fun setup(program: Program)
Link copied to clipboard
open fun shutdown(program: Program)