Class ADTF31xxSensorFrameInfo
Defined in File adtf31xx_sensor_frame_info.h
Class Documentation
-
class ADTF31xxSensorFrameInfo
This is the class for adtf31xx sensor frame.
Public Functions
-
inline ADTF31xxSensorFrameInfo(int image_width, int image_height)
Constructor.
- Parameters:
image_width – - Image Width
image_height – - Image Height
-
inline unsigned short *getDepthFrame() const
Get the depth image frame.
- Returns:
unsigned short* depth image pointer
-
inline unsigned short *getIRFrame() const
Get the IR image frame.
- Returns:
unsigned short* IR image pointer
-
inline short *getRotatedXYZFrame() const
Get the Rotated point cloud frame.
- Returns:
short* point cloud pointer
-
inline unsigned char *getCompressedDepthFrame() const
Get Compressed depth image frame.
- Returns:
unsigned char* compressed depth image pointer
-
inline rclcpp::Time *getFrameTimestampPtr()
Get Frame Timestamp Pointer.
- Returns:
rclcpp::Time* Frame Timnestamp pointer
-
inline rclcpp::Time getFrameTimestamp() const
Get Frame Timestamp.
- Returns:
rclcpp::Time Frame Timestamp
-
inline int getCompressedDepthFrameSize() const
Gives compressed depth image size.
- Returns:
int size of compressed depth image
-
inline void setCompressedDepthFrameSize(int compressed_depth_frame_size)
Set the Compressed depth image size.
- Parameters:
compressed_depth_frame_size – size of compressed depth image
-
inline ADTF31xxSensorFrameInfo &operator=(const ADTF31xxSensorFrameInfo &rhs)
-
inline ADTF31xxSensorFrameInfo(int image_width, int image_height)