MarsSDK
Public Member Functions | Protected Attributes | List of all members
Stream Class Reference

Parent class used for image streams from the camera. More...

#include <MarsSDK.h>

Inheritance diagram for Stream:
ColorStream DepthStream

Public Member Functions

int getWidth ()
 Returns the Stream's width, in pixels. More...
 
int getHeight ()
 Returns the Stream's height, in pixels. More...
 
int getSize ()
 Returns the Stream's size, in pixels. More...
 

Protected Attributes

CLibTof * camera
 Instance of camera in external Sunny Mars API.
 
int width
 Stream's width, in pixels.
 
int height
 Stream's height, in pixels.
 
int size
 Stream's size, in pixels.
 

Detailed Description

Parent class used for image streams from the camera.

Member Function Documentation

◆ getHeight()

int Stream::getHeight ( )

Returns the Stream's height, in pixels.

Returns
height

◆ getSize()

int Stream::getSize ( )

Returns the Stream's size, in pixels.

Returns
size

◆ getWidth()

int Stream::getWidth ( )

Returns the Stream's width, in pixels.

Returns
width

The documentation for this class was generated from the following file: