VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Infovis
vtkGenerateIndexArray.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkGenerateIndexArray.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 __vtkGenerateIndexArray_h
45
#define __vtkGenerateIndexArray_h
46
47
#include "
vtkDataObjectAlgorithm.h
"
48
49
class
VTK_INFOVIS_EXPORT
vtkGenerateIndexArray
:
public
vtkDataObjectAlgorithm
50
{
51
public
:
52
static
vtkGenerateIndexArray
*
New
();
53
54
vtkTypeMacro(
vtkGenerateIndexArray
,
vtkDataObjectAlgorithm
);
55
void
PrintSelf
(ostream& os,
vtkIndent
indent);
56
58
59
vtkSetStringMacro(ArrayName);
60
vtkGetStringMacro(ArrayName);
62
64
65
vtkSetMacro(FieldType,
int
);
66
vtkGetMacro(FieldType,
int
);
68
70
71
vtkSetStringMacro(ReferenceArrayName);
72
vtkGetStringMacro(ReferenceArrayName);
74
76
78
vtkSetMacro(PedigreeID,
int
);
79
vtkGetMacro(PedigreeID,
int
);
81
82
//BTX
83
enum
84
{
85
ROW_DATA = 0,
86
POINT_DATA = 1,
87
CELL_DATA = 2,
88
VERTEX_DATA = 3,
89
EDGE_DATA = 4
90
};
91
//ETX
92
93
protected
:
94
vtkGenerateIndexArray
();
95
~
vtkGenerateIndexArray
();
96
97
virtual
int
ProcessRequest
(
98
vtkInformation
* request,
99
vtkInformationVector
** inputVector,
100
vtkInformationVector
* outputVector);
101
102
virtual
int
RequestDataObject
(
103
vtkInformation
* request,
104
vtkInformationVector
** inputVector,
105
vtkInformationVector
* outputVector);
106
107
int
RequestData
(
108
vtkInformation
*,
109
vtkInformationVector
**,
110
vtkInformationVector
*);
111
112
char
*
ArrayName
;
113
int
FieldType
;
114
char
*
ReferenceArrayName
;
115
int
PedigreeID
;
116
117
private
:
118
vtkGenerateIndexArray
(
const
vtkGenerateIndexArray
&);
// Not implemented.
119
void
operator=(
const
vtkGenerateIndexArray
&);
// Not implemented.
120
};
121
122
#endif
123
Generated on Sun Sep 9 2012 13:03:41 for VTK by
1.8.1.2