VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Infovis
vtkDataObjectToTable.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkDataObjectToTable.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
-------------------------------------------------------------------------*/
34
#ifndef __vtkDataObjectToTable_h
35
#define __vtkDataObjectToTable_h
36
37
#include "
vtkTableAlgorithm.h
"
38
39
class
VTK_INFOVIS_EXPORT
vtkDataObjectToTable
:
public
vtkTableAlgorithm
40
{
41
public
:
42
static
vtkDataObjectToTable
*
New
();
43
vtkTypeMacro(
vtkDataObjectToTable
,
vtkTableAlgorithm
);
44
void
PrintSelf
(ostream& os,
vtkIndent
indent);
45
46
//BTX
47
enum
48
{
49
FIELD_DATA = 0,
50
POINT_DATA = 1,
51
CELL_DATA = 2,
52
VERTEX_DATA = 3,
53
EDGE_DATA = 4
54
};
55
//ETX
56
58
60
vtkGetMacro(FieldType,
int
);
61
vtkSetClampMacro(FieldType,
int
, 0, 4);
63
64
protected
:
65
vtkDataObjectToTable
();
66
~
vtkDataObjectToTable
();
67
68
int
FillInputPortInformation
(
int
port
,
vtkInformation
*
info
);
69
70
int
RequestData
(
71
vtkInformation
*,
72
vtkInformationVector
**,
73
vtkInformationVector
*);
74
75
int
FieldType
;
76
77
private
:
78
vtkDataObjectToTable
(
const
vtkDataObjectToTable
&);
// Not implemented
79
void
operator=(
const
vtkDataObjectToTable
&);
// Not implemented
80
};
81
82
#endif
83
Generated on Wed Nov 21 2012 21:33:57 for VTK by
1.8.2