26 #ifndef vtkXMLCompositeDataWriter_h 27 #define vtkXMLCompositeDataWriter_h 29 #include "vtkIOXMLModule.h" 36 class vtkXMLCompositeDataWriterInternals;
57 vtkGetMacro(GhostLevel,
int);
65 vtkGetMacro(WriteMetaFile,
int);
66 virtual
void SetWriteMetaFile(
int flag);
74 vtkInformationVector*) VTK_OVERRIDE;
78 ~vtkXMLCompositeDataWriter() VTK_OVERRIDE;
85 int GetDataSetMajorVersion() VTK_OVERRIDE {
return 1; }
98 int RequestUpdateExtent(
117 unsigned int GetNumberOfDataTypes();
122 int* GetDataTypesPointer();
129 void SplitFileName();
130 const char* GetFilePrefix();
131 const char* GetFilePath();
137 const char* GetDefaultFileExtensionForDataSet(
int dataset_type);
144 int WriteMetaFileIfRequested();
147 void MakeDirectory(
const char*
name);
150 void RemoveADirectory(
const char*
name);
166 static void ProgressCallbackFunction(
vtkObject*,
unsigned long,
void*,
196 virtual int WriteNonCompositeData(
198 int& writerIdx,
const char* FileName);
204 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.
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.
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.
vtkCallbackCommand * ProgressObserver
Writer for multi-group datasets.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkXMLCompositeDataWriterInternals * Internal
int WriteMetaFile
Whether to write the collection file on this node.
general representation of visualization data
vtkInformation * InputInformation