21#ifndef vtkPDALReader_h
22#define vtkPDALReader_h
24#include <vtkIOPDALModule.h>
33VTK_ABI_NAMESPACE_BEGIN
52 vtkGetMacro(OffsetAsString, std::string);
67 vtkSetMacro(ApplyOffset,
bool);
68 vtkGetMacro(ApplyOffset,
bool);
69 vtkBooleanMacro(ApplyOffset,
bool);
98 char* FileName =
nullptr;
99 bool ApplyOffset =
false;
100 bool HasOffset =
false;
a simple class to control print indentation
Reads LIDAR data using the PDAL library.
static vtkPDALReader * New()
std::array< double, 3 > GetLasOffsets(pdal::Stage *reader)
Get LAS file offsets from PDAL metadata returns 0,0,0 if offsets are not available.
vtkGetFilePathMacro(FileName)
Name of the file that will be opened.
void operator=(const vtkPDALReader &)=delete
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Provide metadata (offsets) for preview in the pipeline.
void ReadPointRecordData(pdal::Stage &reader, vtkPolyData *pointsPolyData)
Read point record data i.e.
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
Core implementation of the data set reader.
~vtkPDALReader() override
vtkPDALReader(const vtkPDALReader &)=delete
std::string OffsetAsString
vtkSetFilePathMacro(FileName)
Name of the file that will be opened.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Superclass for algorithms that produce only polydata as output.
concrete dataset represents vertices, lines, polygons, and triangle strips