23#ifndef vtkAMRVelodyneReader_h
24#define vtkAMRVelodyneReader_h
26#include "vtkIOAMRModule.h"
28#include <unordered_map>
86 const char* vtkNotUsed(
field))
override
102 void CalculateSpacing(
double* dx,
int lvl,
double*
spacing);
103 void CalculateBlockDims(
int* bDims,
bool isFull,
int* curDims);
104 void MarkFileAsRead(
char* fN);
105 bool IsFileRead(
char* fN);
106 bool IsFileRead(
const char* fN);
107 void UpdateFileName(
int index);
108 std::vector<vtkOverlappingAMR*> amrVector;
109 std::vector<double> timeList;
110 std::vector<std::string> fileList;
111 std::unordered_map<std::string, bool> LoadedHash;
112 unsigned int currentIndex;
An abstract class that encapsulates common functionality for all AMR readers.
Consists of the low-level Velodyne Reader used by the vtkAMRVelodyneReader.
A concrete instance of vtkAMRBaseReader that implements functionality for reading Velodyne AMR datase...
int RequestInformation(vtkInformation *rqst, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
Standard Pipeline methods, subclasses may override this method if needed.
int GetNumberOfLevels() override
Returns the total number of levels.
void SetUpDataArraySelections() override
See vtkAMRBaseReader::SetUpDataArraySelections.
void GetAMRGridData(const int blockIdx, vtkUniformGrid *block, const char *field) override
See vtkAMRBaseReader::GetAMRGridData.
int GetNumberOfBlocks() override
Returns the total number of blocks.
void ReadMetaData() override
See vtkAMRBaseReader::ReadMetaData.
~vtkAMRVelodyneReader() override
int GetBlockLevel(const int blockIdx) override
See vtkAMRBaseReader::GetBlockLevel.
vtkOverlappingAMR * GetOutput()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int FillMetaData() override
See vtkAMRBaseReader::FillMetaData.
void GetAMRGridPointData(const int vtkNotUsed(blockIdx), vtkUniformGrid *vtkNotUsed(block), const char *vtkNotUsed(field)) override
See vtkAMRBaseReader::GetAMRGridData.
void SetFileName(VTK_FILEPATH const char *fileName) override
Set/Get the filename.
vtkUniformGrid * GetAMRGrid(const int blockIdx) override
See vtkAMRBaseReader::GetAMRGrid.
int RequestData(vtkInformation *vtkNotUsed(request), vtkInformationVector **vtkNotUsed(inputVector), vtkInformationVector *outputVector) override
static vtkAMRVelodyneReader * New()
a simple class to control print indentation
hierarchical dataset of vtkUniformGrids