Class IInputSensor
Defined in File input_sensor.h
Inheritance Relationships
Derived Types
public InputSensorADTF31XX
(Class InputSensorADTF31XX)public InputSensorFileRosbagBin
(Class InputSensorFileRosbagBin)
Class Documentation
-
class IInputSensor
This is input base class.
Subclassed by InputSensorADTF31XX, InputSensorFileRosbagBin
Public Functions
-
virtual void openSensor(std::string sensor_name, int input_image_width, int input_image_height, std::string config_file_name, std::string input_sensor_ip) = 0
-
virtual void getIntrinsics(CameraIntrinsics *camera_intrinsics) = 0
-
virtual void getExtrinsics(CameraExtrinsics *camera_extrinsics) = 0
-
virtual bool readNextFrame(unsigned short *depth_frame, unsigned short *ab_frame, unsigned short *conf_frame, short *xyz_frame) = 0
-
inline bool isOpened()
function to check whether input is opened
- Returns:
true if the input sensor opened
- Returns:
false if the input sensor is not opened
-
inline int getFrameWidth()
Get the Frame Width object Only integer scaling is supported.
- Returns:
int
-
inline int getFrameHeight()
Get the Frame Height object Only integer scaling is supported.
- Returns:
int
-
inline void setFrameWidth(int frm_width)
Set the Frame Width object Only integer scaling is supported.
- Returns:
int
-
inline void setFrameHeight(int frm_height)
Sett the Frame Height object Only integer scaling is supported.
- Returns:
int
-
virtual void openSensor(std::string sensor_name, int input_image_width, int input_image_height, std::string config_file_name, std::string input_sensor_ip) = 0