Open3D (C++ API)  0.12.0
Public Types | Public Member Functions | Data Fields
open3d::io::WritePointCloudOption Struct Reference

Optional parameters to WritePointCloud. More...

#include <PointCloudIO.h>

Public Types

enum  IsAscii : bool { IsAscii::Binary = false, IsAscii::Ascii = true }
 
enum  Compressed : bool { Compressed::Uncompressed = false, Compressed::Compressed = true }
 

Public Member Functions

 WritePointCloudOption (IsAscii write_ascii=IsAscii::Binary, Compressed compressed=Compressed::Uncompressed, bool print_progress=false, std::function< bool(double)> update_progress={})
 
 WritePointCloudOption (bool write_ascii, bool compressed=false, bool print_progress=false, std::function< bool(double)> update_progress={})
 
 WritePointCloudOption (std::function< bool(double)> up)
 

Data Fields

IsAscii write_ascii
 
Compressed compressed
 
bool print_progress
 
std::function< bool(double)> update_progress
 

Detailed Description

Optional parameters to WritePointCloud.

Member Enumeration Documentation

◆ Compressed

Enumerator
Uncompressed 
Compressed 

◆ IsAscii

Enumerator
Binary 
Ascii 

Constructor & Destructor Documentation

◆ WritePointCloudOption() [1/3]

open3d::io::WritePointCloudOption::WritePointCloudOption ( IsAscii  write_ascii = IsAscii::Binary,
Compressed  compressed = Compressed::Uncompressed,
bool  print_progress = false,
std::function< bool(double)>  update_progress = {} 
)
inline

◆ WritePointCloudOption() [2/3]

open3d::io::WritePointCloudOption::WritePointCloudOption ( bool  write_ascii,
bool  compressed = false,
bool  print_progress = false,
std::function< bool(double)>  update_progress = {} 
)
inline

◆ WritePointCloudOption() [3/3]

open3d::io::WritePointCloudOption::WritePointCloudOption ( std::function< bool(double)>  up)
inline

Field Documentation

◆ compressed

Compressed open3d::io::WritePointCloudOption::compressed

Whether to save Compressed or Uncompressed. Currently, only PCD is capable of compressing, and only if using IsAscii::Binary, all other formats ignore this.

◆ print_progress

bool open3d::io::WritePointCloudOption::print_progress

Print progress to stdout about loading progress. Also see update_progress if you want to have your own progress indicators or to be able to cancel loading.

◆ update_progress

std::function<bool(double)> open3d::io::WritePointCloudOption::update_progress

Callback to invoke as reading is progressing, parameter is percentage completion (0.-100.) return true indicates to continue loading, false means to try to stop loading and cleanup

◆ write_ascii

IsAscii open3d::io::WritePointCloudOption::write_ascii

Whether to save in Ascii or Binary. Some savers are capable of doing either, other ignore this.


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