20 #ifndef vtkOpenVDBReader_h
21 #define vtkOpenVDBReader_h
24 #include "vtkIOOpenVDBModule.h"
28 VTK_ABI_NAMESPACE_BEGIN
30 class vtkOpenVDBReaderInternals;
57 const char* GetFileExtensions();
63 vtkSetFilePathMacro(FileName);
64 vtkGetFilePathMacro(FileName);
79 const char* GetDescriptiveName();
89 vtkSetClampMacro(DownsamplingFactor,
float, 0.01, 1.0);
90 vtkGetMacro(DownsamplingFactor,
float);
102 vtkSetMacro(MergeImageVolumes,
bool);
103 vtkGetMacro(MergeImageVolumes,
bool);
104 vtkBooleanMacro(MergeImageVolumes,
bool);
115 vtkGetMacro(MergePointSets,
bool);
116 vtkSetMacro(MergePointSets,
bool);
117 vtkBooleanMacro(MergePointSets,
bool);
129 int GetNumberOfGridsSelectionArrays();
130 const char* GetGridsSelectionArrayName(
int index);
131 int GetGridsSelectionArrayStatus(
const char*
name);
132 void SetGridsSelectionArrayStatus(
const char*
name,
int status);
139 const char* GetGridArrayName(
int index);
146 int GetGridArrayType(
int index);
163 void InitializeData();
165 float DownsamplingFactor = 1.0;
167 char* FileName =
nullptr;
169 bool MergeImageVolumes =
false;
170 bool MergePointSets =
false;
172 bool DataCorrect =
true;
176 constexpr
static const char* FILE_EXTENSIONS =
".vdb";
177 constexpr
static const char* DESCRIPTIVE_NAME =
"OpenVDB volumetric data file format";
194 std::unique_ptr<vtkOpenVDBReaderInternals> Internals;
197 VTK_ABI_NAMESPACE_END
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Abstract class used for custom streams.
vtkTypeUInt32 vtkMTimeType
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.
virtual vtkMTimeType GetMTime()
Return this object's modified time.
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()