RealSenseInterface class abstract

An interface for reading the RealSense camera.

Constructors

RealSenseInterface()
A const constructor.
const
RealSenseInterface.forPlatform()
Decides which implementation to use depending on platform.
factory

Properties

depthResolution Resolution
The resolution of the depth frames.
no setter
hashCode int
The hash code for this object.
no setterinherited
rgbResolution Resolution
The resolution of the RGB frames.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scale double
The depth scale -- each pixel in the depth frame is an integer multiple of this, in meters.
no setter

Methods

dispose() → void
Releases the RealSense. Calling init again should re-open the device.
getFrames() Pointer<NativeFrames>
Gets the currently available frames. May return nullptr.
getName() String
Gets the name and model of the camera.
init() bool
Initializes the RealSense. Returns whether the initialization was successful.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
startStream() bool
Starts the RealSense stream and waits for a valid frame.
stopStream() → void
Stops the stream but keeps the device alive.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited