RealSense Cross Platform API
RealSense Cross-platform API
Public Member Functions | List of all members
rs2::labeled_points Class Reference

#include <rs_frame.hpp>

Inheritance diagram for rs2::labeled_points:
rs2::frame

Public Member Functions

 labeled_points ()
 
 labeled_points (const frame &f)
 
const vertexget_vertices () const
 
const uint8_t * get_labels () const
 
size_t size () const
 
unsigned int get_width () const
 
unsigned int get_height () const
 
unsigned int get_bits_per_pixel () const
 
- Public Member Functions inherited from rs2::frame
 frame ()
 
 frame (rs2_frame *ref)
 
 frame (frame &&other) noexcept
 
frameoperator= (frame other)
 
 frame (const frame &other)
 
void swap (frame &other)
 
 ~frame ()
 
void keep ()
 
 operator bool () const
 
rs2_sensorget_sensor ()
 
double get_timestamp () const
 
rs2_timestamp_domain get_frame_timestamp_domain () const
 
rs2_metadata_type get_frame_metadata (rs2_frame_metadata_value frame_metadata) const
 
bool supports_frame_metadata (rs2_frame_metadata_value frame_metadata) const
 
unsigned long long get_frame_number () const
 
const int get_data_size () const
 
const void * get_data () const
 
stream_profile get_profile () const
 
template<class T >
bool is () const
 
template<class T >
as () const
 
rs2_frameget () const
 
 operator rs2_frame * ()
 
frame apply_filter (filter_interface &filter)
 

Additional Inherited Members

- Protected Member Functions inherited from rs2::frame
void add_ref () const
 
void reset ()
 

Constructor & Destructor Documentation

◆ labeled_points() [1/2]

rs2::labeled_points::labeled_points ( )
inline

Extends the frame class with additional point cloud related attributes and functions

◆ labeled_points() [2/2]

rs2::labeled_points::labeled_points ( const frame f)
inline

Extends the frame class with additional point cloud related attributes and functions

Parameters
[in]frame- existing frame instance

Member Function Documentation

◆ get_bits_per_pixel()

unsigned int rs2::labeled_points::get_bits_per_pixel ( ) const
inline

retrieve bits per pixel

Returns
number of bits per one pixel

◆ get_height()

unsigned int rs2::labeled_points::get_height ( ) const
inline

returns labeled point cloud height in pixels

Returns
frame height in pixels

◆ get_labels()

const uint8_t* rs2::labeled_points::get_labels ( ) const
inline

Retrieve the attributes of the point cloud stream

Parameters
[out]attributes*- pointer of attributes structure

◆ get_vertices()

const vertex* rs2::labeled_points::get_vertices ( ) const
inline

Retrieve the vertices of the point cloud

Parameters
[in]vertex*- pointer of vertex structure

◆ get_width()

unsigned int rs2::labeled_points::get_width ( ) const
inline

returns labeled point cloud width in pixels

Returns
frame width in pixels

◆ size()

size_t rs2::labeled_points::size ( ) const
inline

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