18#ifndef vtkOpenVDBReader_h 
   19#define vtkOpenVDBReader_h 
   22#include "vtkIOOpenVDBModule.h"     
   26VTK_ABI_NAMESPACE_BEGIN
 
   27class vtkOpenVDBReaderInternals;
 
   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);
 
  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;
 
Store on/off settings for data arrays, etc.
 
a simple class to control print indentation
 
Allocate and hold a VTK object.
 
OpenVDB reader Reader for OpenVDB files.
 
const char * GetFileExtensions()
Get the file extensions for this format.
 
bool CanReadFile(const char *)
Returns whether a file can be read by the reader or not.
 
int NumberOfGrids()
Get the total number of grids available in the file.
 
const char * GetGridsSelectionArrayName(int index)
Standard interface to a vtkDataArraySelection object, allowing the user to choose the grids they want...
 
vtkNew< vtkDataArraySelection > GridSelection
 
int RequestDataObject(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
Methods for subclasses to override to handle different pipeline requests.
 
static vtkOpenVDBReader * New()
 
int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
Methods for subclasses to override to handle different pipeline requests.
 
void SetGridsSelectionArrayStatus(const char *name, int status)
Standard interface to a vtkDataArraySelection object, allowing the user to choose the grids they want...
 
vtkGetFilePathMacro(FileName)
Set/get the file name to be opened by the reader.
 
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
 
int GetGridsSelectionArrayStatus(const char *name)
Standard interface to a vtkDataArraySelection object, allowing the user to choose the grids they want...
 
int GetNumberOfGridsSelectionArrays()
Standard interface to a vtkDataArraySelection object, allowing the user to choose the grids they want...
 
vtkSetFilePathMacro(FileName)
Set/get the file name to be opened by the reader.
 
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
Methods for subclasses to override to handle different pipeline requests.
 
const char * GetDescriptiveName()
Return a descriptive name for the file format that might be useful in a GUI.
 
int GetGridArrayType(int index)
Get the VTK object type corresponding to a given grid index.
 
const char * GetGridArrayName(int index)
Get the name of the grid with the given index in the input.
 
~vtkOpenVDBReader() override
 
Superclass for algorithms that produce vtkPartitionedDataSetCollectionAlgorithm.