VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Infovis
Core
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 "vtkInfovisCoreModule.h"
// For export macro
48
#include "
vtkDataObjectAlgorithm.h
"
49
50
class
VTKINFOVISCORE_EXPORT
vtkStringToCategory
:
public
vtkDataObjectAlgorithm
51
{
52
public
:
53
static
vtkStringToCategory
*
New
();
54
vtkTypeMacro(
vtkStringToCategory
,
vtkDataObjectAlgorithm
);
55
void
PrintSelf
(ostream& os,
vtkIndent
indent);
56
58
59
vtkSetStringMacro(CategoryArrayName);
60
vtkGetStringMacro
(CategoryArrayName);
62
64
65
virtual
int
ProcessRequest
(
vtkInformation
* request,
66
vtkInformationVector
** inputVector,
67
vtkInformationVector
* outputVector);
69
70
protected
:
71
vtkStringToCategory
();
72
~
vtkStringToCategory
();
73
75
76
virtual
int
RequestDataObject
(
vtkInformation
* request,
77
vtkInformationVector
** inputVector,
78
vtkInformationVector
* outputVector);
80
81
int
RequestData
(
82
vtkInformation
*,
83
vtkInformationVector
**,
84
vtkInformationVector
*);
85
86
virtual
int
FillOutputPortInformation
(
int
port
,
vtkInformation
*
info
);
87
88
char
*
CategoryArrayName
;
89
90
private
:
91
vtkStringToCategory
(
const
vtkStringToCategory
&);
// Not implemented
92
void
operator=(
const
vtkStringToCategory
&);
// Not implemented
93
};
94
95
#endif
96
Generated on Thu May 24 2012 22:22:26 for VTK by
1.8.1