18 #ifndef vtkOpenVDBReader_h
19 #define vtkOpenVDBReader_h
22 #include "vtkIOOpenVDBModule.h"
26 VTK_ABI_NAMESPACE_BEGIN
27 class vtkOpenVDBReaderInternals;
47 const char* GetFileExtensions();
53 vtkSetFilePathMacro(FileName);
54 vtkGetFilePathMacro(FileName);
60 const char* GetDescriptiveName();
70 vtkSetClampMacro(DownsamplingFactor,
float, 0.01, 1.0);
71 vtkGetMacro(DownsamplingFactor,
float);
83 vtkSetMacro(MergeImageVolumes,
bool);
84 vtkGetMacro(MergeImageVolumes,
bool);
85 vtkBooleanMacro(MergeImageVolumes,
bool);
96 vtkGetMacro(MergePointSets,
bool);
97 vtkSetMacro(MergePointSets,
bool);
98 vtkBooleanMacro(MergePointSets,
bool);
110 int GetNumberOfGridsSelectionArrays();
111 const char* GetGridsSelectionArrayName(
int index);
112 int GetGridsSelectionArrayStatus(
const char*
name);
113 void SetGridsSelectionArrayStatus(
const char*
name,
int status);
120 const char* GetGridArrayName(
int index);
127 int GetGridArrayType(
int index);
139 void InitializeData();
141 float DownsamplingFactor = 1.0;
143 char* FileName =
nullptr;
145 bool MergeImageVolumes =
false;
146 bool MergePointSets =
false;
148 bool DataCorrect =
true;
152 constexpr
static const char* FILE_EXTENSIONS =
".vdb";
153 constexpr
static const char* DESCRIPTIVE_NAME =
"OpenVDB volumetric data file format";
168 std::unique_ptr<vtkOpenVDBReaderInternals> Internals;
171 VTK_ABI_NAMESPACE_END
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Methods for subclasses to override to handle different pipeline requests.
OpenVDB reader Reader for OpenVDB files.
vtkNew< vtkDataArraySelection > GridSelection
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Methods for subclasses to override to handle different pipeline requests.
a simple class to control print indentation
Store on/off settings for data arrays, etc.
Superclass for algorithms that produce vtkPartitionedDataSetCollectionAlgorithm.
virtual int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Methods for subclasses to override to handle different pipeline requests.
static vtkAlgorithm * New()