VTK
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 =========================================================================*/
33 #ifndef vtkMoleculeAlgorithm_h
34 #define vtkMoleculeAlgorithm_h
35 
36 #include "vtkCommonExecutionModelModule.h" // For export macro
37 #include "vtkAlgorithm.h"
38 
39 class vtkDataSet;
40 class vtkMolecule;
41 
42 class VTKCOMMONEXECUTIONMODEL_EXPORT vtkMoleculeAlgorithm : public vtkAlgorithm
43 {
44 public:
47  void PrintSelf(ostream& os, vtkIndent indent) override;
48 
50 
55  virtual void SetOutput(vtkMolecule* d);
57 
63  vtkInformationVector*) override;
64 
65  // this method is not recommended for use, but lots of old style filters
66  // use it
70 
72 
84 
86 
95 
96 protected:
99 
100  // convenience method
101  virtual int RequestInformation(vtkInformation* request,
102  vtkInformationVector** inputVector,
103  vtkInformationVector* outputVector);
104 
109  virtual int RequestData(vtkInformation* request,
110  vtkInformationVector** inputVector,
111  vtkInformationVector* outputVector);
112 
120 
121  // see algorithm for more info
124 
125 private:
127  void operator=(const vtkMoleculeAlgorithm&) = delete;
128 };
129 
130 #endif
vtkMoleculeAlgorithm
Superclass for algorithms that operate on vtkMolecules.
Definition: vtkMoleculeAlgorithm.h:43
vtkAlgorithm
Superclass for all sources, filters, and sinks in VTK.
Definition: vtkAlgorithm.h:60
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:42
vtkMoleculeAlgorithm::vtkMoleculeAlgorithm
vtkMoleculeAlgorithm()
vtkMoleculeAlgorithm::ProcessRequest
int ProcessRequest(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
see vtkAlgorithm for details
vtkMoleculeAlgorithm::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
vtkMoleculeAlgorithm::AddInputData
void AddInputData(vtkDataObject *)
Add an input of this algorithm.
vtkMoleculeAlgorithm::RequestUpdateExtent
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
vtkMoleculeAlgorithm::SetInputData
void SetInputData(vtkDataObject *)
Set an input of this algorithm.
vtkAlgorithm.h
vtkX3D::port
@ port
Definition: vtkX3D.h:447
vtkMoleculeAlgorithm::GetInput
vtkDataObject * GetInput(int port)
vtkMoleculeAlgorithm::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkMoleculeAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkMoleculeAlgorithm::GetOutput
vtkMolecule * GetOutput(int)
vtkMoleculeAlgorithm::GetMoleculeInput
vtkMolecule * GetMoleculeInput(int port)
vtkMoleculeAlgorithm::~vtkMoleculeAlgorithm
~vtkMoleculeAlgorithm() override
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:40
vtkMolecule
class describing a molecule
Definition: vtkMolecule.h:95
vtkDataSet
abstract class to specify dataset behavior
Definition: vtkDataSet.h:63
vtkMoleculeAlgorithm::AddInputData
void AddInputData(int, vtkDataObject *)
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:87
vtkX3D::info
@ info
Definition: vtkX3D.h:376
vtkMoleculeAlgorithm::FillOutputPortInformation
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
vtkMoleculeAlgorithm::RequestInformation
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkMoleculeAlgorithm::SetOutput
virtual void SetOutput(vtkMolecule *d)
vtkMoleculeAlgorithm::SetInputData
void SetInputData(int, vtkDataObject *)
vtkDataObject
general representation of visualization data
Definition: vtkDataObject.h:65
vtkMoleculeAlgorithm::GetOutput
vtkMolecule * GetOutput()
Get the output data object for a port on this algorithm.
vtkMoleculeAlgorithm::New
static vtkMoleculeAlgorithm * New()
vtkMoleculeAlgorithm::GetInput
vtkDataObject * GetInput()