PointCloudCrafter
Loading...
Searching...
No Matches
config::ModifierConfig Struct Reference

Common modifier configuration. More...

#include <cli_config.hpp>

Inheritance diagram for config::ModifierConfig:

Public Member Functions

pointcloudcrafter::tools::formats::FileFormat get_load_format () const
 Get the load format based on flags.
pointcloudcrafter::tools::formats::FileFormat get_save_format () const
 Get the save format based on flags.
void add_modifier_options (CLI::App *app)
 Add common modifier CLI options to the given app.

Public Attributes

std::string transform_file {}
std::vector< double > cropbox {}
double cropsphere {0.0}
double cropcylinder {0.0}
std::vector< double > voxelfilter {}
std::pair< double, int > outlier_radius_filter {}
std::pair< double, int > outlier_stat_filter {}
int64_t max_frames {-1}
int64_t skip_frames {0}
int64_t stride_frames {1}
std::string out_dir {}
bool timestamps {false}
bool sequential_names {false}
bool inverse_crop {false}
double split_grid_size {0.0}
bool load_pcd {true}
bool load_ply {false}
bool load_txt {false}
bool load_kitti {false}
bool load_nuscenes {false}
bool load_obj {false}
bool save_pcd {false}
bool save_ply {false}
bool save_txt {false}
bool save_kitti {false}
bool save_nuscenes {false}

Detailed Description

Common modifier configuration.

Member Function Documentation

◆ add_modifier_options()

void config::ModifierConfig::add_modifier_options ( CLI::App * app)
inline

Add common modifier CLI options to the given app.

Parameters
appCLI app

◆ get_load_format()

pointcloudcrafter::tools::formats::FileFormat config::ModifierConfig::get_load_format ( ) const
inline

Get the load format based on flags.

Returns
FileFormat enum value

◆ get_save_format()

pointcloudcrafter::tools::formats::FileFormat config::ModifierConfig::get_save_format ( ) const
inline

Get the save format based on flags.

Returns
FileFormat enum value (default: same as load format)

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