14#ifndef vtkAMRVelodyneReader_h
15#define vtkAMRVelodyneReader_h
17#include "vtkIOAMRModule.h"
19#include <unordered_map>
22VTK_ABI_NAMESPACE_BEGIN
78 const char* vtkNotUsed(field))
override
93 void CalculateSpacing(
double* dx,
int lvl,
double* spacing);
94 void CalculateBlockDims(
int* bDims,
bool isFull,
int* curDims);
95 void MarkFileAsRead(
char* fN);
96 bool IsFileRead(
char* fN);
97 bool IsFileRead(
const char* fN);
98 void UpdateFileName(
int index);
99 std::vector<vtkOverlappingAMR*> amrVector;
100 std::vector<double> timeList;
101 std::vector<std::string> fileList;
102 std::unordered_map<std::string, bool> LoadedHash;
103 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 GetBlockLevel(int blockIdx) override
See vtkAMRBaseReader::GetBlockLevel.
int GetNumberOfLevels() override
Returns the total number of levels.
void SetUpDataArraySelections() override
See vtkAMRBaseReader::SetUpDataArraySelections.
int GetNumberOfBlocks() override
Returns the total number of blocks.
void ReadMetaData() override
See vtkAMRBaseReader::ReadMetaData.
~vtkAMRVelodyneReader() override
void GetAMRGridData(int blockIdx, vtkUniformGrid *block, const char *field) override
See vtkAMRBaseReader::GetAMRGridData.
void GetAMRGridPointData(int vtkNotUsed(blockIdx), vtkUniformGrid *vtkNotUsed(block), const char *vtkNotUsed(field)) override
See vtkAMRBaseReader::GetAMRGridData.
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 SetFileName(VTK_FILEPATH const char *fileName) override
Set/Get the filename.
int RequestData(vtkInformation *vtkNotUsed(request), vtkInformationVector **vtkNotUsed(inputVector), vtkInformationVector *outputVector) override
static vtkAMRVelodyneReader * New()
vtkUniformGrid * GetAMRGrid(int blockIdx) override
See vtkAMRBaseReader::GetAMRGrid.
a simple class to control print indentation
hierarchical dataset of vtkUniformGrids