Preprocessor
Functions
PreprocessStatus |
|
void |
|
size_t |
|
size_t |
|
PreprocessStatus |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
Detailed Description
-
class Preprocessor
Public Functions
-
Preprocessor(wchar_t const *output_file_name)
Creates the class object which handles OOC data processing.
- Parameters
output_file_name – The name of the output file, also used as the basis for accessory file and folder names.
-
~Preprocessor()
-
PreprocessStatus Run()
Old-style data conversion. Given input “PointCloud” file(s), and any desired special options, reads the input and processes it into a spatial tree, writing the output .ooc and associated files) at the end.
-
void Initialize()
Prepares the starting spatial tree.
-
size_t AddPoints(size_t count, float const *points, float const *intensities = nullptr, unsigned char const *colors = nullptr)
Add points to the spatial tree.
- Parameters
count – The number of points being added.
points – The single-precision point data, [3*count] float values
intensities – Optional. Intensity values associated with the points, [count] float values.
colors – Optional, RGB color values associated with the points, [3*count] unsigned char values.
- Returns
the number of points actually added (options may filter input points).
-
size_t AddPoints(size_t count, double const *dpoints, float const *intensities = nullptr, unsigned char const *colors = nullptr)
Add points to the spatial tree.
- Parameters
count – The number of points being added.
dpoints – The double-precision point data, [3*count] double values
intensities – Optional. Intensity values associated with the points, [count] float values.
colors – Optional, RGB color values associated with the points, [3*count] unsigned char values.
- Returns
the number of points actually added (options may filter input points).
-
PreprocessStatus Export()
Finalizes any spatial tree processing and exports data to the .ooc and accessory files.
-
void AddPointCloudFile(wchar_t const *point_cloud_file)
-
void SetMaxShellSize(int shell_size)
-
void SetMaxMemoryUsage(size_t max_memory_usage)
-
void SetSubSamplePercentage(double percentage)
-
void OverwriteExistingFiles(bool overwrite)
-
void SetDoublePrecision(bool doubled)
-
void SetUseLASZIP(bool doubled)
-
void SetLogFile(wchar_t const *log_file)
-
Preprocessor(wchar_t const *output_file_name)