VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Infovis
vtkStringToCategory.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkStringToCategory.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
-------------------------------------------------------------------------*/
44
#ifndef __vtkStringToCategory_h
45
#define __vtkStringToCategory_h
46
47
#include "
vtkDataObjectAlgorithm.h
"
48
49
class
VTK_INFOVIS_EXPORT
vtkStringToCategory
:
public
vtkDataObjectAlgorithm
50
{
51
public
:
52
static
vtkStringToCategory
*
New
();
53
vtkTypeMacro(
vtkStringToCategory
,
vtkDataObjectAlgorithm
);
54
void
PrintSelf
(ostream& os,
vtkIndent
indent);
55
57
58
vtkSetStringMacro(CategoryArrayName);
59
vtkGetStringMacro(CategoryArrayName);
61
63
64
virtual
int
ProcessRequest
(
vtkInformation
* request,
65
vtkInformationVector
** inputVector,
66
vtkInformationVector
* outputVector);
68
69
protected
:
70
vtkStringToCategory
();
71
~
vtkStringToCategory
();
72
74
75
virtual
int
RequestDataObject
(
vtkInformation
* request,
76
vtkInformationVector
** inputVector,
77
vtkInformationVector
* outputVector);
79
80
int
RequestData
(
81
vtkInformation
*,
82
vtkInformationVector
**,
83
vtkInformationVector
*);
84
85
virtual
int
FillOutputPortInformation
(
int
port
,
vtkInformation
*
info
);
86
87
char
*
CategoryArrayName
;
88
89
private
:
90
vtkStringToCategory
(
const
vtkStringToCategory
&);
// Not implemented
91
void
operator=(
const
vtkStringToCategory
&);
// Not implemented
92
};
93
94
#endif
95
Generated on Fri Aug 2 2013 12:19:59 for VTK by
1.8.4