Open3D (C++ API)  0.19.0
Loading...
Searching...
No Matches
open3d::t::io::WritePointCloudOption Struct Reference

Optional parameters to WritePointCloud. More...

#include <PointCloudIO.h>

Public Types

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

Public Member Functions

 WritePointCloudOption (std::string format="auto", 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::string format, bool write_ascii, bool compressed=false, bool print_progress=false, std::function< bool(double)> update_progress={})
 WritePointCloudOption (std::function< bool(double)> up)

Data Fields

std::string format
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/4]

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

◆ WritePointCloudOption() [2/4]

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

◆ WritePointCloudOption() [3/4]

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

◆ WritePointCloudOption() [4/4]

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

Field Documentation

◆ 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.

◆ format

Specifies what format the contents of the file are (and what writer to use), default "auto" means to go off of file extension. Note: "auto" is incompatible when reading directly from memory.

◆ 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

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

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: