VTK
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-------------------------------------------------------------------------*/
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);
106
108
112 vtkSetStringMacro(FileName);
114
116
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
186 static const char * TagNameField;
187 static const char * CharDataField;
188
189protected:
192 char* FileName;
201
206
207private:
208 vtkXMLTreeReader(const vtkXMLTreeReader&) VTK_DELETE_FUNCTION;
209 void operator=(const vtkXMLTreeReader&) VTK_DELETE_FUNCTION;
210};
211
212#endif
213
a simple class to control print indentation
Definition: vtkIndent.h:40
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
char * VertexPedigreeIdArrayName
static const char * TagNameField
static const char * CharDataField
char * EdgePedigreeIdArrayName
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
static vtkXMLTreeReader * New()
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.