VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Filtering
vtkTrivialProducer.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkTrivialProducer.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
=========================================================================*/
28
#ifndef __vtkTrivialProducer_h
29
#define __vtkTrivialProducer_h
30
31
#include "
vtkAlgorithm.h
"
32
33
class
vtkDataObject
;
34
35
class
VTK_FILTERING_EXPORT
vtkTrivialProducer
:
public
vtkAlgorithm
36
{
37
public
:
38
static
vtkTrivialProducer
*
New
();
39
vtkTypeMacro(
vtkTrivialProducer
,
vtkAlgorithm
);
40
void
PrintSelf
(ostream& os,
vtkIndent
indent);
41
43
46
virtual
int
ProcessRequest
(
vtkInformation
*,
47
vtkInformationVector
**,
48
vtkInformationVector
*);
50
53
virtual
void
SetOutput(
vtkDataObject
* output);
54
56
58
virtual
unsigned
long
GetMTime
();
59
protected
:
60
vtkTrivialProducer
();
61
~
vtkTrivialProducer
();
63
64
virtual
int
FillInputPortInformation
(
int
,
vtkInformation
*);
65
virtual
int
FillOutputPortInformation
(
int
,
vtkInformation
*);
66
virtual
vtkExecutive
*
CreateDefaultExecutive
();
67
68
// The real data object.
69
vtkDataObject
*
Output
;
70
71
virtual
void
ReportReferences
(
vtkGarbageCollector
*);
72
private
:
73
vtkTrivialProducer
(
const
vtkTrivialProducer
&);
// Not implemented.
74
void
operator=(
const
vtkTrivialProducer
&);
// Not implemented.
75
};
76
77
#endif
Generated on Tue Jan 8 2013 05:45:26 for VTK by
1.8.1.2