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

#include <rs_export.hpp>

Inheritance diagram for rs2::save_to_ply:
Inheritance graph

Public Member Functions

 save_to_ply (std::string filename="RealSense Pointcloud ", pointcloud pc=pointcloud())
- Public Member Functions inherited from rs2::filter
template<class T >
as () const
 filter (std::shared_ptr< rs2_processing_block > block, int queue_size=1)
template<class S >
 filter (S processing_function, int queue_size=1)
rs2_processing_blockget () const
frame_queue get_queue ()
template<class T >
bool is () const
 operator bool () const
rs2::frame process (rs2::frame frame) const override
- Public Member Functions inherited from rs2::processing_block
rs2_processing_blockget () const
const char * get_info (rs2_camera_info info) const
void invoke (frame f) const
 operator rs2_options * () const
template<class S >
S & operator>> (S &on_frame)
 processing_block (std::shared_ptr< rs2_processing_block > block)
template<class S >
 processing_block (S processing_function)
template<class S >
void start (S on_frame)
bool supports (rs2_camera_info info) const
- Public Member Functions inherited from rs2::options
float get_option (rs2_option option) const
const char * get_option_description (rs2_option option) const
const char * get_option_name (rs2_option option) const
option_range get_option_range (rs2_option option) const
const char * get_option_value_description (rs2_option option, float val) const
std::vector< rs2_optionget_supported_options ()
bool is_option_read_only (rs2_option option) const
optionsoperator= (const options &other)
 options (const options &other)
void set_option (rs2_option option, float value) const
bool supports (rs2_option option) const
virtual ~options ()=default
- Public Member Functions inherited from rs2::filter_interface
virtual ~filter_interface ()=default

Static Public Attributes

static const auto OPTION_IGNORE_COLOR = rs2_option(RS2_OPTION_COUNT + 10)
static const auto OPTION_PLY_BINARY = rs2_option(RS2_OPTION_COUNT + 12)
static const auto OPTION_PLY_MESH = rs2_option(RS2_OPTION_COUNT + 11)
static const auto OPTION_PLY_NORMALS = rs2_option(RS2_OPTION_COUNT + 13)
static const auto OPTION_PLY_THRESHOLD = rs2_option(RS2_OPTION_COUNT + 14)

Private Member Functions

void export_to_ply (points p, video_frame color)
void func (frame data, frame_source &source)
std::array< uint8_t, 3 > get_texcolor (const video_frame &texture, const uint8_t *texture_data, float u, float v)

Private Attributes

pointcloud _pc
std::string fname

Additional Inherited Members

- Protected Member Functions inherited from rs2::processing_block
void register_simple_option (rs2_option option_id, option_range range)
- Protected Member Functions inherited from rs2::options
template<class T >
optionsoperator= (const T &dev)
 options (rs2_options *o=nullptr)
- Protected Attributes inherited from rs2::filter
frame_queue _queue
- Protected Attributes inherited from rs2::processing_block
std::shared_ptr< rs2_processing_block_block

Detailed Description

Definition at line 34 of file rs_export.hpp.

Constructor & Destructor Documentation

rs2::save_to_ply::save_to_ply ( std::string  filename = "RealSense Pointcloud ",
pointcloud  pc = pointcloud() 

Definition at line 43 of file rs_export.hpp.

Member Function Documentation

void rs2::save_to_ply::export_to_ply ( points  p,
video_frame  color 

Definition at line 77 of file rs_export.hpp.

void rs2::save_to_ply::func ( frame  data,
frame_source source 

Definition at line 54 of file rs_export.hpp.

std::array<uint8_t, 3> rs2::save_to_ply::get_texcolor ( const video_frame texture,
const uint8_t texture_data,
float  u,
float  v 

Definition at line 278 of file rs_export.hpp.

Member Data Documentation

pointcloud rs2::save_to_ply::_pc

Definition at line 288 of file rs_export.hpp.

std::string rs2::save_to_ply::fname

Definition at line 287 of file rs_export.hpp.

const rs2_option rs2::save_to_ply::OPTION_IGNORE_COLOR = rs2_option(RS2_OPTION_COUNT + 10)

Definition at line 37 of file rs_export.hpp.

const rs2_option rs2::save_to_ply::OPTION_PLY_BINARY = rs2_option(RS2_OPTION_COUNT + 12)

Definition at line 39 of file rs_export.hpp.

const rs2_option rs2::save_to_ply::OPTION_PLY_MESH = rs2_option(RS2_OPTION_COUNT + 11)

Definition at line 38 of file rs_export.hpp.

const rs2_option rs2::save_to_ply::OPTION_PLY_NORMALS = rs2_option(RS2_OPTION_COUNT + 13)

Definition at line 40 of file rs_export.hpp.

const auto rs2::save_to_ply::OPTION_PLY_THRESHOLD = rs2_option(RS2_OPTION_COUNT + 14)

Definition at line 41 of file rs_export.hpp.

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

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