VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
dox
Infovis
Core
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 "vtkInfovisCoreModule.h"
// For export macro
38
#include "vtkTableAlgorithm.h"
39
40
class
VTKINFOVISCORE_EXPORT
vtkDataObjectToTable
:
public
vtkTableAlgorithm
41
{
42
public
:
43
static
vtkDataObjectToTable
* New();
44
vtkTypeMacro(
vtkDataObjectToTable
,vtkTableAlgorithm);
45
void
PrintSelf(ostream& os, vtkIndent indent);
46
47
//BTX
48
enum
49
{
50
FIELD_DATA = 0,
51
POINT_DATA = 1,
52
CELL_DATA = 2,
53
VERTEX_DATA = 3,
54
EDGE_DATA = 4
55
};
56
//ETX
57
59
61
vtkGetMacro(FieldType,
int
);
62
vtkSetClampMacro(FieldType,
int
, 0, 4);
64
65
protected
:
66
vtkDataObjectToTable
();
67
~
vtkDataObjectToTable
();
68
69
int
FillInputPortInformation(
int
port, vtkInformation* info);
70
71
int
RequestData(
72
vtkInformation*,
73
vtkInformationVector**,
74
vtkInformationVector*);
75
76
int
FieldType
;
77
78
private
:
79
vtkDataObjectToTable
(
const
vtkDataObjectToTable
&);
// Not implemented
80
void
operator=(
const
vtkDataObjectToTable
&);
// Not implemented
81
};
82
83
#endif
84
vtkDataObjectToTable
extract field data as a table
Definition:
vtkDataObjectToTable.h:40
vtkDataObjectToTable::FieldType
int FieldType
Definition:
vtkDataObjectToTable.h:76
Generated on Sat May 10 2014 05:42:50 for VTK by
1.8.6