Preprocessor
-
class
ooc::preprocess::Preprocessor Index
Methods
AddPointCloudFile()AddPoints()AddPoints()Export()Initialize()OverwriteExistingFiles()Preprocessor()Run()SetCullingBoundingBox()SetCullingBoundingBox()SetDoublePrecision()SetLogFile()SetMaxMemoryUsage()SetMaxShellSize()SetSubSamplePercentage()SetUseLASZIP()~Preprocessor()
Variables
Methods
-
ooc::preprocess::Preprocessor::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.
-
ooc::preprocess::Preprocessor::~Preprocessor()
-
PreprocessStatus
ooc::preprocess::Preprocessor::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
ooc::preprocess::Preprocessor::Initialize() Prepares the starting spatial tree.
-
size_t
ooc::preprocess::Preprocessor::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
ooc::preprocess::Preprocessor::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
ooc::preprocess::Preprocessor::Export() Finalizes any spatial tree processing and exports data to the .ooc and accessory files.
-
void
ooc::preprocess::Preprocessor::AddPointCloudFile(wchar_t const *point_cloud_file)
-
void
ooc::preprocess::Preprocessor::SetCullingBoundingBox(Point const &min, Point const &max)
-
void
ooc::preprocess::Preprocessor::SetCullingBoundingBox(DPoint const &min, DPoint const &max)
-
void
ooc::preprocess::Preprocessor::SetMaxShellSize(int shell_size)
-
void
ooc::preprocess::Preprocessor::SetMaxMemoryUsage(size_t max_memory_usage)
-
void
ooc::preprocess::Preprocessor::SetSubSamplePercentage(double percentage)
-
void
ooc::preprocess::Preprocessor::OverwriteExistingFiles(bool overwrite)
-
void
ooc::preprocess::Preprocessor::SetDoublePrecision(bool doubled)
-
void
ooc::preprocess::Preprocessor::SetUseLASZIP(bool doubled)
-
void
ooc::preprocess::Preprocessor::SetLogFile(wchar_t const *log_file)
Variables
-
void *
ooc::preprocess::Preprocessor::opaque_point_cloud private
void