#include <OpenNI.h>
Public Member Functions | |
SensorType | getSensorType () const |
const Array< VideoMode > & | getSupportedVideoModes () const |
Private Member Functions | |
void | _setInternal (const OniSensorInfo *pInfo) |
SensorInfo & | operator= (const SensorInfo &) |
SensorInfo (const SensorInfo &) | |
SensorInfo () | |
SensorInfo (const OniSensorInfo *pInfo) | |
Private Attributes | |
const OniSensorInfo * | m_pInfo |
Array< VideoMode > | m_videoModes |
Friends | |
class | Device |
class | VideoStream |
The SensorInfo class encapsulates all info related to a specific sensor in a specific device. A Device object holds a SensorInfo object for each sensor it contains. A VideoStream object holds one SensorInfo object, describing the sensor used to produce that stream.
A given SensorInfo object will contain the type of the sensor (Depth, IR or Color), and a list of all video modes that the sensor can support. Each available video mode will have a single VideoMode object that can be queried to get the details of that mode.
SensorInfo objects should be the only source of VideoMode objects for the vast majority of application programs.
Application programs will never directly instantiate objects of type SensorInfo. In fact, no public constructors are provided. SensorInfo objects should be obtained either from a Device or VideoStream, and in turn be used to provide available video modes for that sensor.
openni::SensorInfo::SensorInfo | ( | const SensorInfo & | ) | [private] |
openni::SensorInfo::SensorInfo | ( | ) | [inline, private] |
openni::SensorInfo::SensorInfo | ( | const OniSensorInfo * | pInfo | ) | [inline, private] |
void openni::SensorInfo::_setInternal | ( | const OniSensorInfo * | pInfo | ) | [inline, private] |
SensorType openni::SensorInfo::getSensorType | ( | ) | const [inline] |
const Array<VideoMode>& openni::SensorInfo::getSupportedVideoModes | ( | ) | const [inline] |
SensorInfo& openni::SensorInfo::operator= | ( | const SensorInfo & | ) | [private] |
friend class VideoStream [friend] |
const OniSensorInfo* openni::SensorInfo::m_pInfo [private] |
Array<VideoMode> openni::SensorInfo::m_videoModes [private] |