63class VTKIOHDF_EXPORT vtkHDFWriter :
public vtkWriter
67 vtkHDFWriter(
const vtkHDFWriter&) =
delete;
68 void operator=(
const vtkHDFWriter&) =
delete;
71 static vtkHDFWriter*
New();
96 vtkSetMacro(Overwrite,
bool);
97 vtkGetMacro(Overwrite,
bool);
106 vtkSetMacro(WriteAllTimeSteps,
bool);
107 vtkGetMacro(WriteAllTimeSteps,
bool);
123 vtkSetMacro(ChunkSize,
int);
124 vtkGetMacro(ChunkSize,
int);
140 vtkSetClampMacro(CompressionLevel,
int, 0, 9);
141 vtkGetMacro(CompressionLevel,
int);
152 vtkSetMacro(UseExternalComposite,
bool);
153 vtkGetMacro(UseExternalComposite,
bool);
171 vtkSetMacro(UseExternalTimeSteps,
bool);
172 vtkGetMacro(UseExternalTimeSteps,
bool);
185 vtkSetMacro(UseExternalPartitions,
bool);
186 vtkGetMacro(UseExternalPartitions,
bool);
237 bool WriteDatasetToFile(
hid_t group,
vtkPolyData* input,
unsigned int partId = 0);
250 bool UpdateStepsGroup(
hid_t group,
vtkPolyData* input,
unsigned int partId);
260 bool InitializeTemporalPolyData(
hid_t group);
261 bool InitializeTemporalUnstructuredGrid(
hid_t group);
262 bool InitializeTemporalPolyhedra(
hid_t group);
263 bool InitializeTemporalHTG(
hid_t group);
275 bool InitializePrimitiveDataset(
hid_t group);
276 bool InitializePolyhedraDatasets(
hid_t group);
377 bool AppendDataSetAttributes(
379 bool AppendFieldDataArrays(
hid_t group,
vtkDataObject* input,
unsigned int partId = 0);
396 bool AppendExternalBlock(
vtkDataObject* block,
const std::string& blockName);
417 const std::string& uniqueSubTreeName);
425 bool AppendCompositeSubfilesDataObject(
const std::string& uniqueSubTreeName);
432 const std::string& offsetsGroupName,
unsigned int partId);
434 const std::string& arrayName,
const std::string& offsetsGroupName,
unsigned int partId);
440 bool AppendTimeValues(
hid_t group);
445 bool HasGeometryChangedFromPreviousStep(
vtkDataSet* input);
453 std::unique_ptr<Implementation> Impl;
456 char* FileName =
nullptr;
457 bool Overwrite =
true;
458 bool WriteAllTimeSteps =
true;
459 bool UseExternalComposite =
false;
460 bool UseExternalTimeSteps =
false;
461 bool UseExternalPartitions =
false;
462 int ChunkSize = 25000;
463 int CompressionLevel = 0;
466 std::vector<double> timeSteps;
467 bool IsTemporal =
false;
468 int CurrentTimeIndex = 0;
469 int NumberOfTimeSteps = 1;
471 std::map<vtkIdType, vtkMTimeType> CompositeMeshMTime;
476 int CurrentPiece = 0;
477 bool UsesDummyController =
false;
478 std::vector<vtkIdType> PointOffsets;
479 std::vector<vtkIdType> CellOffsets;
480 std::vector<vtkIdType> ConnectivityIdOffsets;
vtkTypeBool ProcessRequest(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
Override vtkWriter's ProcessRequest method, in order to dispatch the request not only to RequestData ...