PointWriter is the base for writing LiDAR files.
More...
#include <PointWriter.h>
List of all members.
Detailed Description
The PointWriter is the base class for writing LiDAR point clouds.
Definition at line 24 of file PointWriter.h.
Member Typedef Documentation
Member Function Documentation
This method returns the metadata that will be writen to the output file.
This method returns the quantization offset for X, Y, and Z channels. It returns NULL then the point cloud is not quantized or quantization is unknown.
- Note:
- By default this will be the same as the PointSources' offset.
Implemented in SimplePointWriter.
This method returns the quantization scale factors for X, Y, and Z channels. It returns NULL then the point cloud is not quantized or quantization is unknown.
- Note:
- By default this will be the same as the PointSources' scale.
Implemented in SimplePointWriter.
- Parameters:
-
bounds | the region of interest |
fraction | the fraction of the points you want |
This method sets the metadata that will be written to the output file. By default the metadata from the PointSource is not copied.
- Parameters:
-
metadata | the source metadata |
This method set the output files quantization values.
- Parameters:
-
scale | the quantization scale factor (may be NULL) |
offset | the quantization offset (may be NULL) |
- Note:
- Some file format requier quantization, so make sure you call this if needed.
-
The default values are the input PointSource values.
Implemented in SimplePointWriter.
This method take a list of channels and returns the supported channels.
- Parameters:
-
inputPointInfo | a list of channels |
supportedPointInfo | a filtered version of inputPointInfo |
- Returns:
- returns true if channels were removed
Implemented in TXTPointWriter.
This method writes the output file.
- Parameters:
-
bounds | the region of interest (HUGE_VAL are handled) |
fraction | the fraction of the points you want (use 1.0 for all the points and use 0.1 to keep every tenth point) |
pointInfo | the list of channels to be extracted |
delegate | a ProgressDelegate for feedback (can be NULL) |
- Returns:
- returns the number of points writen
Implemented in SimplePointWriter.
The documentation for this class was generated from the following file: