26 #ifndef vtkXMLCompositeDataWriter_h 27 #define vtkXMLCompositeDataWriter_h 29 #include "vtkIOXMLModule.h" 36 class vtkXMLCompositeDataWriterInternals;
57 vtkGetMacro(GhostLevel,
int);
58 vtkSetMacro(GhostLevel,
int);
65 vtkGetMacro(WriteMetaFile,
int);
66 virtual void SetWriteMetaFile(
int flag);
114 unsigned int GetNumberOfDataTypes();
119 int* GetDataTypesPointer();
126 void SplitFileName();
127 const char* GetFilePrefix();
128 const char* GetFilePath();
134 const char* GetDefaultFileExtensionForDataSet(
int dataset_type);
141 int WriteMetaFileIfRequested();
144 void MakeDirectory(
const char*
name);
147 void RemoveADirectory(
const char*
name);
163 static void ProgressCallbackFunction(
vtkObject*,
unsigned long,
void*,
void*);
179 virtual int WriteComposite(
192 virtual int WriteNonCompositeData(
199 virtual void RemoveWrittenFiles(
const char* SubDirectory);
virtual const char * GetDataSetName()=0
Wrapper around std::string to keep symbols short.
abstract base class for most VTK objects
Represents an XML element and those nested inside.
virtual vtkExecutive * CreateDefaultExecutive()
Create a default executive.
int GetDataSetMajorVersion() override
Methods to define the file's major and minor version numbers.
Superclass for all pipeline executives in VTK.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkTypeBool ProcessRequest(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
Upstream/Downstream requests form the generalized interface through which executives invoke a algorit...
supports function callbacks
Superclass for all sources, filters, and sinks in VTK.
abstract superclass for composite (multi-block or AMR) datasets
int GetDataSetMinorVersion() override
Superclass for VTK's XML file writers.
a simple class to control print indentation
virtual const char * GetDefaultFileExtension()=0
Get the default file extension for files written by this writer.
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
Writer for multi-group datasets.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkXMLCompositeDataWriterInternals * Internal
int WriteMetaFile
Whether to write the collection file on this node.
std::map< DataSetType, DataSet > Piece
vtkCallbackCommand * InternalProgressObserver
general representation of visualization data
vtkInformation * InputInformation