Public Member Functions | Private Attributes | List of all members
rs2::points Class Reference

#include <rs_frame.hpp>

Inheritance diagram for rs2::points:
Inheritance graph
[legend]

Public Member Functions

void export_to_ply (const std::string &fname, video_frame texture)
 
const texture_coordinateget_texture_coordinates () const
 
const vertexget_vertices () const
 
 points ()
 
 points (const frame &f)
 
size_t size () const
 
- Public Member Functions inherited from rs2::frame
frame apply_filter (filter_interface &filter)
 
template<class T >
as () const
 
 frame ()
 
 frame (rs2_frame *ref)
 
 frame (frame &&other) noexcept
 
 frame (const frame &other)
 
rs2_frameget () const
 
const voidget_data () const
 
const int get_data_size () const
 
rs2_metadata_type get_frame_metadata (rs2_frame_metadata_value frame_metadata) const
 
unsigned long long get_frame_number () const
 
rs2_timestamp_domain get_frame_timestamp_domain () const
 
stream_profile get_profile () const
 
rs2_sensorget_sensor ()
 
double get_timestamp () const
 
template<class T >
bool is () const
 
void keep ()
 
 operator bool () const
 
 operator rs2_frame * ()
 
frameoperator= (frame other)
 
bool supports_frame_metadata (rs2_frame_metadata_value frame_metadata) const
 
void swap (frame &other)
 
 ~frame ()
 

Private Attributes

size_t _size
 

Additional Inherited Members

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

Detailed Description

Definition at line 735 of file rs_frame.hpp.

Constructor & Destructor Documentation

rs2::points::points ( )
inline

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

Definition at line 741 of file rs_frame.hpp.

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

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

Parameters
[in]frame- existing frame instance

Definition at line 747 of file rs_frame.hpp.

Member Function Documentation

void rs2::points::export_to_ply ( const std::string fname,
video_frame  texture 
)
inline

Export the point cloud to a PLY file

Parameters
[in]stringfname - file name of the PLY to be saved
[in]video_frametexture - the texture for the PLY.

Definition at line 780 of file rs_frame.hpp.

const texture_coordinate* rs2::points::get_texture_coordinates ( ) const
inline

Retrieve the texture coordinates (uv map) for the point cloud

Returns
texture_coordinate* - pointer of texture coordinates.

Definition at line 792 of file rs_frame.hpp.

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

Retrieve the vertices of the point cloud

Parameters
[in]vertex*- pointer of vertex sturcture

Definition at line 767 of file rs_frame.hpp.

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

Definition at line 800 of file rs_frame.hpp.

Member Data Documentation

size_t rs2::points::_size
private

Definition at line 806 of file rs_frame.hpp.


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


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:41