Go to the documentation of this file.
26 #ifndef vtkXMLCompositeDataWriter_h
27 #define vtkXMLCompositeDataWriter_h
29 #include "vtkIOXMLModule.h"
36 class vtkXMLCompositeDataWriterInternals;
57 vtkGetMacro(GhostLevel,
int);
65 vtkGetMacro(WriteMetaFile,
int);
198 int& writerIdx,
const char* FileName);
int ProcessRequest(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
See the vtkAlgorithm for a desciption of what these do.
virtual void FillDataTypes(vtkCompositeDataSet *)
Determine the data types for each of the leaf nodes.
vtkXMLCompositeDataWriter()
virtual vtkExecutive * CreateDefaultExecutive()
Create a default executive.
int WriteMetaFile
Whether to write the collection file on this node.
virtual int WriteNonCompositeData(vtkDataObject *dObj, vtkXMLDataElement *element, int &writerIdx, const char *FileName)
Internal method to write a non vtkCompositeDataSet subclass as well as add in the file name to the me...
virtual void RemoveWrittenFiles(const char *SubDirectory)
Utility function to remove any already written files in case writer failed.
int WriteMetaFileIfRequested()
Write the collection file if it is requested.
vtkXMLWriter * GetWriter(int index)
Superclass for all sources, filters, and sinks in VTK.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
abstract base class for most VTK objects
static void ProgressCallbackFunction(vtkObject *, unsigned long, void *, void *)
abstract superclass for composite (multi-block or AMR) datasets
vtkStdString CreatePieceFileName(int Piece)
Create a filename for the given index.
Superclass for all pipeline executives in VTK.
void RemoveADirectory(const char *name)
const char * GetDefaultFileExtensionForDataSet(int dataset_type)
Returns the default extension to use for the given dataset type.
Superclass for VTK's XML file writers.
vtkCallbackCommand * ProgressObserver
virtual const char * GetDataSetName()
a simple class to control print indentation
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkXMLCompositeDataWriterInternals * Internal
Represents an XML element and those nested inside.
const char * GetFilePath()
void CreateWriters(vtkCompositeDataSet *)
int * GetDataTypesPointer()
Returns the array pointer to the array of leaf nodes.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
virtual void SetWriteMetaFile(int flag)
supports function callbacks
virtual const char * GetDefaultFileExtension()
Get the default file extension for files written by this writer.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Wrapper around std::string to keep symbols short.
virtual int GetDataSetMajorVersion()
Methods to define the file's major and minor version numbers.
virtual int GetDataSetMinorVersion()
unsigned int GetNumberOfDataTypes()
Returns the number of leaf nodes (also includes empty leaf nodes).
void MakeDirectory(const char *name)
general representation of visualization data
Writer for multi-group datasets.
virtual int WriteComposite(vtkCompositeDataSet *compositeData, vtkXMLDataElement *element, int &writerIdx)=0
Internal method called recursively to create the xml tree for the children of compositeData as well a...
~vtkXMLCompositeDataWriter()
vtkInformation * InputInformation
const char * GetFilePrefix()
virtual void ProgressCallback(vtkAlgorithm *w)