VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Chemistry
vtkMoleculeAlgorithm.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkMoleculeAlgorithm.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
=========================================================================*/
32
#ifndef __vtkMoleculeAlgorithm_h
33
#define __vtkMoleculeAlgorithm_h
34
35
#include "
vtkAlgorithm.h
"
36
37
class
vtkDataSet
;
38
class
vtkMolecule
;
39
40
class
VTK_CHEMISTRY_EXPORT
vtkMoleculeAlgorithm
:
public
vtkAlgorithm
41
{
42
public
:
43
static
vtkMoleculeAlgorithm
*
New
();
44
vtkTypeMacro(
vtkMoleculeAlgorithm
,
vtkAlgorithm
);
45
void
PrintSelf
(ostream& os,
vtkIndent
indent);
46
48
49
vtkMolecule
* GetOutput();
50
vtkMolecule
* GetOutput(
int
);
51
virtual
void
SetOutput(
vtkDataObject
* d);
53
55
56
virtual
int
ProcessRequest
(
vtkInformation
*,
57
vtkInformationVector
**,
58
vtkInformationVector
*);
60
61
// this method is not recommended for use, but lots of old style filters
62
// use it
63
vtkDataObject
* GetInput();
64
vtkDataObject
*GetInput(
int
port
);
65
vtkMolecule
*GetMoleculeInput(
int
port
);
66
68
75
void
SetInput(
vtkDataObject
*);
76
void
SetInput(
int
,
vtkDataObject
*);
78
80
84
void
AddInput(
vtkDataObject
*);
85
void
AddInput(
int
,
vtkDataObject
*);
87
88
protected
:
89
vtkMoleculeAlgorithm
();
90
~
vtkMoleculeAlgorithm
();
91
92
// convenience method
93
virtual
int
RequestInformation(
vtkInformation
* request,
94
vtkInformationVector
** inputVector,
95
vtkInformationVector
* outputVector);
96
98
100
virtual
int
RequestData(
vtkInformation
* request,
101
vtkInformationVector
** inputVector,
102
vtkInformationVector
* outputVector);
104
106
108
virtual
int
RequestUpdateExtent(
vtkInformation
*,
109
vtkInformationVector
**,
110
vtkInformationVector
*);
112
114
115
virtual
void
ExecuteData(
vtkDataObject
*output);
116
virtual
void
Execute();
118
119
// see algorithm for more info
120
virtual
int
FillOutputPortInformation
(
int
port
,
vtkInformation
*
info
);
121
virtual
int
FillInputPortInformation
(
int
port
,
vtkInformation
*
info
);
122
123
private
:
124
vtkMoleculeAlgorithm
(
const
vtkMoleculeAlgorithm
&);
// Not implemented.
125
void
operator=(
const
vtkMoleculeAlgorithm
&);
// Not implemented.
126
};
127
128
#endif
Generated on Tue Jan 8 2013 05:45:22 for VTK by
1.8.1.2