5 namespace oni {
namespace driver {
30 virtual OniStatus setProperty(
int propertyId,
const void*
data,
int dataSize);
31 virtual OniStatus getProperty(
int propertyId,
void*
data,
int*
dataSize);
32 virtual OniBool isPropertySupported(
int propertyId);
34 virtual OniStatus invoke(
int commandId,
void*
data,
int dataSize);
35 virtual OniBool isCommandSupported(
int commandId);
37 virtual OniStatus
start();
40 virtual OniStatus convertDepthToColorCoordinates(StreamBase* colorStream,
int depthX,
int depthY, OniDepthPixel depthZ,
int* pColorX,
int* pColorY);
44 inline OniSensorType
getOniType()
const {
return m_oniType; }
47 inline const OniVideoMode&
getVideoMode()
const {
return m_videoMode; }
58 void onStreamStarted();
59 void onPipelineStarted();
61 void updateIntrinsics();
63 bool isVideoModeSupported(OniVideoMode* reqMode);
65 bool getTable(
void*
dst,
int*
size,
const std::vector<uint16_t>&
table);
66 bool setTable(
const void*
src,
int size, std::vector<uint16_t>& table);
std::vector< uint16_t > m_d2s
rs2_extrinsics m_extrinsicsDepthToColor
class Rs2Device * getDevice()
static const textual_icon stop
std::vector< Rs2StreamProfileInfo > m_profiles
rs2_format
A stream's format identifies how binary data is encoded within a frame.
rs2_stream
Streams are different types of data provided by RealSense devices.
bool m_needUpdateExtrinsicsDepthToColor
GLenum GLenum GLsizei void * table
Cross-stream extrinsics: encodes the topology describing how the different devices are oriented...
class Rs2Device * m_device
rs2_intrinsics m_intrinsics
OniSensorType getOniType() const
const rs2_stream_profile * profile
std::vector< uint16_t > m_s2d
rs2_stream getRsType() const
const OniVideoMode & getVideoMode() const