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 =========================================================================*/
32 #ifndef vtkMoleculeAlgorithm_h
33 #define vtkMoleculeAlgorithm_h
34 
35 #include "vtkDomainsChemistryModule.h" // For export macro
36 #include "vtkAlgorithm.h"
37 
38 class vtkDataSet;
39 class vtkMolecule;
40 
42 {
43 public:
46  void PrintSelf(ostream& os, vtkIndent indent);
47 
49 
52  virtual void SetOutput(vtkMolecule* d);
54 
56 
61 
62  // this method is not recommended for use, but lots of old style filters
63  // use it
67 
69 
79 
81 
88 
89 protected:
92 
93  // convenience method
94  virtual int RequestInformation(vtkInformation* request,
95  vtkInformationVector** inputVector,
96  vtkInformationVector* outputVector);
97 
99 
101  virtual int RequestData(vtkInformation* request,
102  vtkInformationVector** inputVector,
103  vtkInformationVector* outputVector);
105 
107 
113 
114  // see algorithm for more info
117 
118 private:
119  vtkMoleculeAlgorithm(const vtkMoleculeAlgorithm&); // Not implemented.
120  void operator=(const vtkMoleculeAlgorithm&); // Not implemented.
121 };
122 
123 #endif
vtkMoleculeAlgorithm
Superclass for algorithms that operate on vtkMolecules.
Definition: vtkMoleculeAlgorithm.h:42
vtkMoleculeAlgorithm::FillInputPortInformation
virtual int FillInputPortInformation(int port, vtkInformation *info)
vtkMoleculeAlgorithm::ProcessRequest
virtual int ProcessRequest(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkAlgorithm
Superclass for all sources, filters, and sinks in VTK.
Definition: vtkAlgorithm.h:62
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkMoleculeAlgorithm::vtkMoleculeAlgorithm
vtkMoleculeAlgorithm()
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkMoleculeAlgorithm::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkMoleculeAlgorithm::AddInputData
void AddInputData(vtkDataObject *)
vtkMoleculeAlgorithm::RequestUpdateExtent
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkMoleculeAlgorithm::SetInputData
void SetInputData(vtkDataObject *)
vtkAlgorithm.h
vtkX3D::port
@ port
Definition: vtkX3D.h:447
vtkMoleculeAlgorithm::GetInput
vtkDataObject * GetInput(int port)
vtkDomainsChemistryModule.h
vtkMoleculeAlgorithm::GetOutput
vtkMolecule * GetOutput(int)
VTKDOMAINSCHEMISTRY_EXPORT
#define VTKDOMAINSCHEMISTRY_EXPORT
Definition: vtkDomainsChemistryModule.h:15
vtkMoleculeAlgorithm::FillOutputPortInformation
virtual int FillOutputPortInformation(int port, vtkInformation *info)
vtkMoleculeAlgorithm::GetMoleculeInput
vtkMolecule * GetMoleculeInput(int port)
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkMolecule
class describing a molecule
Definition: vtkMolecule.h:89
vtkDataSet
abstract class to specify dataset behavior
Definition: vtkDataSet.h:62
vtkMoleculeAlgorithm::AddInputData
void AddInputData(int, vtkDataObject *)
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkX3D::info
@ info
Definition: vtkX3D.h:376
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::~vtkMoleculeAlgorithm
~vtkMoleculeAlgorithm()
vtkMoleculeAlgorithm::GetOutput
vtkMolecule * GetOutput()
vtkMoleculeAlgorithm::New
static vtkMoleculeAlgorithm * New()
vtkMoleculeAlgorithm::GetInput
vtkDataObject * GetInput()
vtkMoleculeAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)