15#include "vtkIOHDFModule.h"
20VTK_ABI_NAMESPACE_BEGIN
89 vtkSetMacro(Overwrite,
bool);
90 vtkGetMacro(Overwrite,
bool);
98 vtkSetMacro(WriteAllTimeSteps,
bool);
99 vtkGetMacro(WriteAllTimeSteps,
bool);
115 vtkSetMacro(ChunkSize,
int);
116 vtkGetMacro(ChunkSize,
int);
132 vtkSetClampMacro(CompressionLevel,
int, 0, 9);
133 vtkGetMacro(CompressionLevel,
int);
144 vtkSetMacro(UseExternalComposite,
bool);
145 vtkGetMacro(UseExternalComposite,
bool);
163 vtkSetMacro(UseExternalTimeSteps,
bool);
164 vtkGetMacro(UseExternalTimeSteps,
bool);
177 vtkSetMacro(UseExternalPartitions,
bool);
178 vtkGetMacro(UseExternalPartitions,
bool);
228 bool WriteDatasetToFile(
hid_t group,
vtkPolyData* input,
unsigned int partId = 0);
247 bool InitializeTemporalPolyData();
248 bool InitializeTemporalUnstructuredGrid();
259 bool InitializePrimitiveDataset(
hid_t group);
316 bool AppendDataSetAttributes(
hid_t group,
vtkDataObject* input,
unsigned int partId = 0);
317 bool AppendFieldDataArrays(
hid_t group,
vtkDataObject* input,
unsigned int partId = 0);
334 bool AppendExternalBlock(
vtkDataObject* block,
const std::string& blockName);
354 bool AppendDataArrayOffset(
355 vtkAbstractArray* array,
const std::string& arrayName,
const std::string& offsetsGroupName);
356 bool AppendDataArraySizeOffset(
357 vtkAbstractArray* array,
const std::string& arrayName,
const std::string& offsetsGroupName);
363 bool AppendTimeValues(
hid_t group);
368 bool HasGeometryChangedFromPreviousStep(
vtkDataSet* input);
376 std::unique_ptr<Implementation> Impl;
379 char* FileName =
nullptr;
380 bool Overwrite =
true;
381 bool WriteAllTimeSteps =
true;
382 bool UseExternalComposite =
false;
383 bool UseExternalTimeSteps =
false;
384 bool UseExternalPartitions =
false;
385 int ChunkSize = 25000;
386 int CompressionLevel = 0;
389 double* timeSteps =
nullptr;
390 bool IsTemporal =
false;
391 int CurrentTimeIndex = 0;
392 int NumberOfTimeSteps = 1;
398 int CurrentPiece = 0;
399 bool UsesDummyController =
false;
400 std::vector<vtkIdType> PointOffsets;
401 std::vector<vtkIdType> CellOffsets;
402 std::vector<vtkIdType> ConnectivityIdOffsets;
Abstract superclass for all arrays.
object to represent cell connectivity
provides implementation for most abstract methods in the superclass vtkCompositeDataSet
general representation of visualization data
abstract class to specify dataset behavior
Writes input dataset 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