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 -------------------------------------------------------------------------*/
93 #ifndef vtkXMLTreeReader_h
94 #define vtkXMLTreeReader_h
95 
96 #include "vtkIOInfovisModule.h" // For export macro
97 #include "vtkTreeAlgorithm.h"
98 
100 {
101 public:
102  static vtkXMLTreeReader* New();
104  void PrintSelf(ostream& os, vtkIndent indent);
105 
107 
108  vtkGetStringMacro(FileName);
109  vtkSetStringMacro(FileName);
111 
113 
114  vtkGetStringMacro(XMLString);
115  vtkSetStringMacro(XMLString);
117 
119 
120  vtkGetStringMacro(EdgePedigreeIdArrayName);
121  vtkSetStringMacro(EdgePedigreeIdArrayName);
123 
125 
126  vtkGetStringMacro(VertexPedigreeIdArrayName);
127  vtkSetStringMacro(VertexPedigreeIdArrayName);
129 
131 
134  vtkSetMacro(GenerateEdgePedigreeIds, bool);
135  vtkGetMacro(GenerateEdgePedigreeIds, bool);
136  vtkBooleanMacro(GenerateEdgePedigreeIds, bool);
137  vtkSetMacro(GenerateVertexPedigreeIds, bool);
138  vtkGetMacro(GenerateVertexPedigreeIds, bool);
139  vtkBooleanMacro(GenerateVertexPedigreeIds, bool);
141 
143 
145  vtkGetMacro(MaskArrays, bool);
146  vtkSetMacro(MaskArrays, bool);
147  vtkBooleanMacro(MaskArrays, bool);
149 
151 
154  vtkGetMacro(ReadCharData, bool);
155  vtkSetMacro(ReadCharData, bool);
156  vtkBooleanMacro(ReadCharData, bool);
158 
160 
162  vtkGetMacro(ReadTagName, bool);
163  vtkSetMacro(ReadTagName, bool);
164  vtkBooleanMacro(ReadTagName, bool);
166 
167 
168  static const char * TagNameField;
169  static const char * CharDataField;
170 
171 protected:
173  ~vtkXMLTreeReader();
174  char* FileName;
175  char* XMLString;
183 
184  int RequestData(
188 
189 private:
190  vtkXMLTreeReader(const vtkXMLTreeReader&); // Not implemented
191  void operator=(const vtkXMLTreeReader&); // Not implemented
192 };
193 
194 #endif
195 
Superclass for algorithms that produce only Tree as output.
Store vtkAlgorithm input/output information.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
#define VTKIOINFOVIS_EXPORT
void PrintSelf(ostream &os, vtkIndent indent)
static const char * TagNameField
a simple class to control print indentation
Definition: vtkIndent.h:38
static const char * CharDataField
Store zero or more vtkInformation instances.
static vtkTreeAlgorithm * New()
reads an XML file into a vtkTree
char * EdgePedigreeIdArrayName
char * VertexPedigreeIdArrayName