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
=========================================================================*/
25
#ifndef __vtkTrivialProducer_h
26
#define __vtkTrivialProducer_h
27
28
#include "
vtkAlgorithm.h
"
29
30
class
vtkDataObject
;
31
32
class
VTK_FILTERING_EXPORT
vtkTrivialProducer
:
public
vtkAlgorithm
33
{
34
public
:
35
static
vtkTrivialProducer
*
New
();
36
vtkTypeMacro(
vtkTrivialProducer
,
vtkAlgorithm
);
37
void
PrintSelf
(ostream& os,
vtkIndent
indent);
38
40
43
virtual
int
ProcessRequest
(
vtkInformation
*,
44
vtkInformationVector
**,
45
vtkInformationVector
*);
47
50
virtual
void
SetOutput(
vtkDataObject
* output);
51
53
55
virtual
unsigned
long
GetMTime
();
56
protected
:
57
vtkTrivialProducer
();
58
~
vtkTrivialProducer
();
60
61
virtual
int
FillInputPortInformation
(
int
,
vtkInformation
*);
62
virtual
int
FillOutputPortInformation
(
int
,
vtkInformation
*);
63
virtual
vtkExecutive
*
CreateDefaultExecutive
();
64
65
// The real data object.
66
vtkDataObject
*
Output
;
67
68
virtual
void
ReportReferences
(
vtkGarbageCollector
*);
69
private
:
70
vtkTrivialProducer
(
const
vtkTrivialProducer
&);
// Not implemented.
71
void
operator=(
const
vtkTrivialProducer
&);
// Not implemented.
72
};
73
74
#endif
Generated on Thu Mar 13 2014 08:09:57 for VTK by
1.8.1.2