VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
IO
Core
vtkTableReader.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkTableReader.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
=========================================================================*/
33
#ifndef __vtkTableReader_h
34
#define __vtkTableReader_h
35
36
#include "vtkIOCoreModule.h"
// For export macro
37
#include "
vtkDataReader.h
"
38
39
class
vtkTable
;
40
41
class
VTKIOCORE_EXPORT
vtkTableReader
:
public
vtkDataReader
42
{
43
public
:
44
static
vtkTableReader
*
New
();
45
vtkTypeMacro(
vtkTableReader
,
vtkDataReader
);
46
void
PrintSelf
(ostream& os,
vtkIndent
indent);
47
49
50
vtkTable
*GetOutput();
51
vtkTable
*GetOutput(
int
idx);
52
void
SetOutput(
vtkTable
*output);
54
55
protected
:
56
vtkTableReader
();
57
~
vtkTableReader
();
58
59
virtual
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
60
vtkInformationVector
*);
61
62
// Since the Outputs[0] has the same UpdateExtent format
63
// as the generic DataObject we can copy the UpdateExtent
64
// as a default behavior.
65
virtual
int
RequestUpdateExtent
(
vtkInformation
*,
vtkInformationVector
**,
66
vtkInformationVector
*);
67
68
virtual
int
FillOutputPortInformation
(
int
,
vtkInformation
*);
69
private
:
70
vtkTableReader
(
const
vtkTableReader
&);
// Not implemented.
71
void
operator=(
const
vtkTableReader
&);
// Not implemented.
72
};
73
74
#endif
75
76
Generated on Thu May 24 2012 22:22:28 for VTK by
1.8.1