VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
TextAnalysis
vtkQtXMLProcessor.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkQtXMLProcessor.h
5
6
-------------------------------------------------------------------------
7
Copyright 2008 Sandia Corporation.
8
Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
9
the U.S. Government retains certain rights in this software.
10
-------------------------------------------------------------------------
11
12
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
13
All rights reserved.
14
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
15
16
This software is distributed WITHOUT ANY WARRANTY; without even
17
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
18
PURPOSE. See the above copyright notice for more information.
19
20
=========================================================================*/
21
110
#ifndef __vtkQtXMLProcessor_h
111
#define __vtkQtXMLProcessor_h
112
113
#include "
vtkPassInputTypeAlgorithm.h
"
114
115
#include "
vtkStdString.h
"
//avoids an error when building plugins
116
117
class
VTK_TEXT_ANALYSIS_EXPORT
vtkQtXMLProcessor
:
118
public
vtkPassInputTypeAlgorithm
119
{
120
public
:
121
static
vtkQtXMLProcessor
*
New
();
122
vtkTypeMacro(
vtkQtXMLProcessor
,
vtkPassInputTypeAlgorithm
);
123
void
PrintSelf
(ostream& os,
vtkIndent
indent);
124
125
//BTX
126
enum
127
{
128
ROW_DOMAIN = 0,
129
DATA_OBJECT_DOMAIN = 1,
130
VALUE_DOMAIN = 2
131
};
132
133
enum
134
{
135
XQUERY = 0,
136
XSLT = 1
137
};
138
139
//ETX
140
142
144
vtkGetMacro(FieldType,
int
);
145
vtkSetMacro(FieldType,
int
);
147
149
150
vtkGetMacro(InputDomain,
int
);
151
vtkSetMacro(InputDomain,
int
);
153
155
156
vtkGetMacro(QueryType,
int
);
157
vtkSetMacro(QueryType,
int
);
159
161
162
vtkSetStringMacro(Query);
163
vtkGetStringMacro(Query);
165
167
168
vtkSetStringMacro(OutputArray);
169
vtkGetStringMacro(OutputArray);
171
173
175
void
MapArrayName(
const
vtkStdString
& from,
const
vtkStdString
& to);
176
void
ClearArrayNameMap();
178
179
//BTX
180
protected
:
181
vtkQtXMLProcessor
();
182
~
vtkQtXMLProcessor
();
183
184
int
FillOutputPortInformation
(
int
port
,
vtkInformation
*
info
);
185
186
int
RequestData
(
187
vtkInformation
*,
188
vtkInformationVector
**,
189
vtkInformationVector
*);
190
191
private
:
192
vtkQtXMLProcessor
(
const
vtkQtXMLProcessor
&);
// Not implemented
193
void
operator=(
const
vtkQtXMLProcessor
&);
// Not implemented
194
195
class
XMLAdapter;
196
class
Internals;
197
Internals*
const
Implementation;
198
199
int
FieldType;
200
int
InputDomain;
201
int
QueryType;
202
char
* Query;
203
char
* OutputArray;
204
//ETX
205
};
206
207
#endif
208
Generated on Fri Aug 2 2013 12:20:03 for VTK by
1.8.4