39#include "vtkIOHDFModule.h"
45VTK_ABI_NAMESPACE_BEGIN
95 vtkSetMacro(Overwrite,
bool);
96 vtkGetMacro(Overwrite,
bool);
105 vtkSetMacro(WriteAllTimeSteps,
bool);
106 vtkGetMacro(WriteAllTimeSteps,
bool);
122 vtkSetMacro(ChunkSize,
int);
123 vtkGetMacro(ChunkSize,
int);
139 vtkSetClampMacro(CompressionLevel,
int, 0, 9);
140 vtkGetMacro(CompressionLevel,
int);
151 vtkSetMacro(UseExternalComposite,
bool);
152 vtkGetMacro(UseExternalComposite,
bool);
170 vtkSetMacro(UseExternalTimeSteps,
bool);
171 vtkGetMacro(UseExternalTimeSteps,
bool);
184 vtkSetMacro(UseExternalPartitions,
bool);
185 vtkGetMacro(UseExternalPartitions,
bool);
235 bool WriteDatasetToFile(
hid_t group,
vtkPolyData* input,
unsigned int partId = 0);
254 bool InitializeTemporalPolyData(
hid_t group);
255 bool InitializeTemporalUnstructuredGrid(
hid_t group);
266 bool InitializePrimitiveDataset(
hid_t group);
323 bool AppendDataSetAttributes(
hid_t group,
vtkDataObject* input,
unsigned int partId = 0);
324 bool AppendFieldDataArrays(
hid_t group,
vtkDataObject* input,
unsigned int partId = 0);
341 bool AppendExternalBlock(
vtkDataObject* block,
const std::string& blockName);
362 const std::string& uniqueSubTreeName);
370 void AppendCompositeSubfilesDataObject(
const std::string& uniqueSubTreeName);
377 const std::string& offsetsGroupName);
379 const std::string& arrayName,
const std::string& offsetsGroupName);
385 bool AppendTimeValues(
hid_t group);
390 bool HasGeometryChangedFromPreviousStep(
vtkDataSet* input);
398 std::unique_ptr<Implementation> Impl;
401 char* FileName =
nullptr;
402 bool Overwrite =
true;
403 bool WriteAllTimeSteps =
true;
404 bool UseExternalComposite =
false;
405 bool UseExternalTimeSteps =
false;
406 bool UseExternalPartitions =
false;
407 int ChunkSize = 25000;
408 int CompressionLevel = 0;
411 std::vector<double> timeSteps;
412 bool IsTemporal =
false;
413 int CurrentTimeIndex = 0;
414 int NumberOfTimeSteps = 1;
416 std::map<vtkIdType, vtkMTimeType> CompositeMeshMTime;
421 int CurrentPiece = 0;
422 bool UsesDummyController =
false;
423 std::vector<vtkIdType> PointOffsets;
424 std::vector<vtkIdType> CellOffsets;
425 std::vector<vtkIdType> ConnectivityIdOffsets;
Abstract superclass for all arrays.
object to represent cell connectivity
superclass for composite data iterators
provides implementation for most abstract methods in the superclass vtkCompositeDataSet
general representation of visualization data
abstract class to specify dataset behavior
Write a data object to a VTKHDF file.
vtkTypeBool ProcessRequest(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
Override vtkWriter's ProcessRequest method, in order to dispatch the request not only to RequestData ...
virtual int RequestUpdateExtent(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkSetFilePathMacro(FileName)
Get/Set the file name of the vtkHDF file.
static vtkHDFWriter * New()
virtual void SetController(vtkMultiProcessController *)
Set and get the controller.
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
vtkGetFilePathMacro(FileName)
Get/Set the file name of the vtkHDF file.
int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
a simple class to control print indentation
Composite dataset that organizes datasets into blocks.
Multiprocessing communication superclass.
Composite dataset that groups datasets as a collection.
composite dataset to encapsulates a dataset consisting of partitions.
concrete class for storing a set of points
represent and manipulate 3D points
concrete dataset represents vertices, lines, polygons, and triangle strips
dataset represents arbitrary combinations of all possible cell types
abstract class to write data to file(s)
virtual void WriteData()=0
vtkTypeUInt32 vtkMTimeType