VTK  9.3.0
vtkXMLTreeReader.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-FileCopyrightText: Copyright 2008 Sandia Corporation
3// SPDX-License-Identifier: LicenseRef-BSD-3-Clause-Sandia-USGov
78#ifndef vtkXMLTreeReader_h
79#define vtkXMLTreeReader_h
80
81#include "vtkIOInfovisModule.h" // For export macro
82#include "vtkTreeAlgorithm.h"
83
84VTK_ABI_NAMESPACE_BEGIN
85class VTKIOINFOVIS_EXPORT vtkXMLTreeReader : public vtkTreeAlgorithm
86{
87public:
90 void PrintSelf(ostream& os, vtkIndent indent) override;
91
93
99
101
104 vtkGetStringMacro(XMLString);
105 vtkSetStringMacro(XMLString);
107
109
112 vtkGetStringMacro(EdgePedigreeIdArrayName);
113 vtkSetStringMacro(EdgePedigreeIdArrayName);
115
117
120 vtkGetStringMacro(VertexPedigreeIdArrayName);
121 vtkSetStringMacro(VertexPedigreeIdArrayName);
123
125
130 vtkSetMacro(GenerateEdgePedigreeIds, bool);
131 vtkGetMacro(GenerateEdgePedigreeIds, bool);
132 vtkBooleanMacro(GenerateEdgePedigreeIds, bool);
133 vtkSetMacro(GenerateVertexPedigreeIds, bool);
134 vtkGetMacro(GenerateVertexPedigreeIds, bool);
135 vtkBooleanMacro(GenerateVertexPedigreeIds, bool);
137
139
143 vtkGetMacro(MaskArrays, bool);
144 vtkSetMacro(MaskArrays, bool);
145 vtkBooleanMacro(MaskArrays, bool);
147
149
154 vtkGetMacro(ReadCharData, bool);
155 vtkSetMacro(ReadCharData, bool);
156 vtkBooleanMacro(ReadCharData, bool);
158
160
165 vtkGetMacro(ReadTagName, bool);
166 vtkSetMacro(ReadTagName, bool);
167 vtkBooleanMacro(ReadTagName, bool);
169
170 static const char* TagNameField;
171 static const char* CharDataField;
172
173protected:
176 char* FileName;
185
187
188private:
189 vtkXMLTreeReader(const vtkXMLTreeReader&) = delete;
190 void operator=(const vtkXMLTreeReader&) = delete;
191};
192
193VTK_ABI_NAMESPACE_END
194#endif
a simple class to control print indentation
Definition vtkIndent.h:29
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only Tree as output.
reads an XML file into a vtkTree
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.