VTK
vtkXMLMultiBlockDataWriter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkXMLMultiBlockDataWriter.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
25 #ifndef vtkXMLMultiBlockDataWriter_h
26 #define vtkXMLMultiBlockDataWriter_h
27 
28 #include "vtkIOXMLModule.h" // For export macro
30 
32 {
33 public:
36  void PrintSelf(ostream& os, vtkIndent indent);
37 
39 
40  virtual const char* GetDefaultFileExtension()
41  { return "vtm"; }
43 
44 //BTX
45 protected:
48 
50 
51  // Internal method called recursively to create the xml tree for the children
52  // of compositeData.
53  virtual int WriteComposite(vtkCompositeDataSet* compositeData,
54  vtkXMLDataElement* parent, int &writerIdx);
55 
56 private:
57  vtkXMLMultiBlockDataWriter(const vtkXMLMultiBlockDataWriter&); // Not implemented.
58  void operator=(const vtkXMLMultiBlockDataWriter&); // Not implemented.
59 //ETX
60 };
61 
62 #endif
63 
64 
VTKIOXML_EXPORT
#define VTKIOXML_EXPORT
Definition: vtkIOXMLModule.h:15
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkXMLMultiBlockDataWriter::~vtkXMLMultiBlockDataWriter
~vtkXMLMultiBlockDataWriter()
vtkXMLMultiBlockDataWriter::WriteComposite
virtual int WriteComposite(vtkCompositeDataSet *compositeData, vtkXMLDataElement *parent, int &writerIdx)
vtkXMLMultiBlockDataWriter::FillInputPortInformation
virtual int FillInputPortInformation(int port, vtkInformation *info)
vtkCompositeDataSet
abstract superclass for composite (multi-block or AMR) datasets
Definition: vtkCompositeDataSet.h:51
vtkXMLMultiBlockDataWriter::GetDefaultFileExtension
virtual const char * GetDefaultFileExtension()
Definition: vtkXMLMultiBlockDataWriter.h:40
vtkIOXMLModule.h
vtkX3D::port
@ port
Definition: vtkX3D.h:447
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkXMLDataElement
Represents an XML element and those nested inside.
Definition: vtkXMLDataElement.h:36
vtkXMLCompositeDataWriter.h
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkX3D::info
@ info
Definition: vtkX3D.h:376
vtkXMLMultiBlockDataWriter
writer for vtkMultiBlockDataSet.
Definition: vtkXMLMultiBlockDataWriter.h:32
vtkXMLMultiBlockDataWriter::vtkXMLMultiBlockDataWriter
vtkXMLMultiBlockDataWriter()
vtkXMLMultiBlockDataWriter::New
static vtkXMLMultiBlockDataWriter * New()
vtkXMLMultiBlockDataWriter::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkXMLCompositeDataWriter
Writer for multi-group datasets.
Definition: vtkXMLCompositeDataWriter.h:38