Click or drag to resize

SensorAdapter Class

Represents a particular sensor (e.g. Kinect v2, Orbbec Astra, Intel RealSense).
Inheritance Hierarchy
SystemObject
  LightBuzz.VitruviusSensorAdapter

Namespace:  LightBuzz.Vitruvius
Assembly:  LightBuzz.Vitruvius (in LightBuzz.Vitruvius.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public sealed class SensorAdapter

The SensorAdapter type exposes the following members.

Constructors
  NameDescription
Public methodSensorAdapter
Creates a new sensor with the specified type.
Top
Properties
  NameDescription
Public propertyDepthHeight
The height of the depth frame.
Public propertyDepthWidth
The width of the depth frame.
Public propertyImageHeight
The height of the color frame.
Public propertyImageWidth
The width of the color frame.
Public propertyIsConnected
Returns whether the sensor is connected and detected.
Public propertySensorType
The type of the sensor.
Top
Methods
  NameDescription
Public methodClose
Closes the current sensor.
Public methodDepthPointsToImageSpace
Maps the depth points of the current frame to the color space.
Public methodDepthPointsToImageSpace(Frame)
Maps the depth points of the specified frame to the color space.
Public methodDepthToImageSpace(Vector2D)
Maps the specified point from the 2D depth space to the 2D color space.
Public methodDepthToImageSpace(Vector2D, Int32)
Maps the specified point from the 2D depth space to the 2D color space.
Public methodDepthToWorldSpace
Maps the specified 2D depth point to the 3D world space.
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetPlaybackJointOnPlane
Returns the position of a joint that is projected on a plane (VIDEO PLAYBACK ONLY).
Public methodGetPositionOnPlane
Returns the position of the specified 3D point to the specified plane.
Public methodGetScreenPositionOnPlane
Calculates the position of a point that is projected on a plane.
Public methodGetType (Inherited from Object.)
Public methodImagePointsToDepthSpace
Maps the color points of the current frame to the depth space.
Public methodImagePointsToDepthSpace(Frame)
Maps the color points of the specified frame to the depth space.
Public methodImageToDepthSpace
Maps the specified 2D color point to the 2D depth space.
Public methodImageToWorldSpace
Maps the specified 2D color point to the 3D world space.
Public methodToString (Inherited from Object.)
Public methodUpdateFrame
Updates the frames from the device.
Public methodWorldToDepthSpace
Maps the specified point from the 3D world space to the 2D depth space.
Public methodWorldToImageSpace
Maps the specified point from the 3D world space to the 2D color space.
Top
Fields
  NameDescription
Public fieldOnChangedAvailabilityEventHandler
Raised when the sensor gets connected or disconnected.
Top
See Also