VTK  9.2.6
vtkXMLTreeReader.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkXMLTreeReader.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=========================================================================*/
15/*-------------------------------------------------------------------------
16 Copyright 2008 Sandia Corporation.
17 Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
18 the U.S. Government retains certain rights in this software.
19-------------------------------------------------------------------------*/
93
94#ifndef vtkXMLTreeReader_h
95#define vtkXMLTreeReader_h
96
97#include "vtkIOInfovisModule.h" // For export macro
98#include "vtkTreeAlgorithm.h"
99
100class VTKIOINFOVIS_EXPORT vtkXMLTreeReader : public vtkTreeAlgorithm
101{
102public:
105 void PrintSelf(ostream& os, vtkIndent indent) override;
106
108
114
116
119 vtkGetStringMacro(XMLString);
120 vtkSetStringMacro(XMLString);
122
124
127 vtkGetStringMacro(EdgePedigreeIdArrayName);
128 vtkSetStringMacro(EdgePedigreeIdArrayName);
130
132
135 vtkGetStringMacro(VertexPedigreeIdArrayName);
136 vtkSetStringMacro(VertexPedigreeIdArrayName);
138
140
145 vtkSetMacro(GenerateEdgePedigreeIds, bool);
146 vtkGetMacro(GenerateEdgePedigreeIds, bool);
147 vtkBooleanMacro(GenerateEdgePedigreeIds, bool);
148 vtkSetMacro(GenerateVertexPedigreeIds, bool);
149 vtkGetMacro(GenerateVertexPedigreeIds, bool);
150 vtkBooleanMacro(GenerateVertexPedigreeIds, bool);
152
154
158 vtkGetMacro(MaskArrays, bool);
159 vtkSetMacro(MaskArrays, bool);
160 vtkBooleanMacro(MaskArrays, bool);
162
164
169 vtkGetMacro(ReadCharData, bool);
170 vtkSetMacro(ReadCharData, bool);
171 vtkBooleanMacro(ReadCharData, bool);
173
175
180 vtkGetMacro(ReadTagName, bool);
181 vtkSetMacro(ReadTagName, bool);
182 vtkBooleanMacro(ReadTagName, bool);
184
185 static const char* TagNameField;
186 static const char* CharDataField;
187
188protected:
191 char* FileName;
200
202
203private:
204 vtkXMLTreeReader(const vtkXMLTreeReader&) = delete;
205 void operator=(const vtkXMLTreeReader&) = delete;
206};
207
208#endif
a simple class to control print indentation
Definition vtkIndent.h:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkXMLTreeReader() override
static const char * TagNameField
static const char * CharDataField
vtkSetFilePathMacro(FileName)
If set, reads in the XML file specified.
vtkGetFilePathMacro(FileName)
If set, reads in the XML file specified.
static vtkXMLTreeReader * New()
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.