VTK  9.1.0
vtkMoleculeAppend.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkMoleculeAppend.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  =========================================================================*/
15 
30 #ifndef vtkMoleculeAppend_h
31 #define vtkMoleculeAppend_h
32 
33 #include "vtkFiltersCoreModule.h" // For export macro
34 #include "vtkMoleculeAlgorithm.h"
35 
36 class VTKFILTERSCORE_EXPORT vtkMoleculeAppend : public vtkMoleculeAlgorithm
37 {
38 public:
41  void PrintSelf(ostream& os, vtkIndent indent) override;
42 
44 
50  vtkDataObject* GetInput() { return this->GetInput(0); }
52 
54 
59  vtkGetMacro(MergeCoincidentAtoms, bool);
60  vtkSetMacro(MergeCoincidentAtoms, bool);
61  vtkBooleanMacro(MergeCoincidentAtoms, bool);
62  // @}
63 
64 protected:
66  ~vtkMoleculeAppend() override = default;
67 
69 
70  // see vtkAlgorithm for docs.
72 
73  // Check arrays information : name, type and number of components.
75 
77 
78 private:
79  vtkMoleculeAppend(const vtkMoleculeAppend&) = delete;
80  void operator=(const vtkMoleculeAppend&) = delete;
81 };
82 
83 #endif
vtkMoleculeAlgorithm
Superclass for algorithms that operate on vtkMolecules.
Definition: vtkMoleculeAlgorithm.h:43
vtkMoleculeAppend::~vtkMoleculeAppend
~vtkMoleculeAppend() override=default
Specify if coincident atoms (atom with exactly the same position) should be merged into one.
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:145
vtkMoleculeAppend::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkMoleculeAppend
Appends one or more molecules into a single molecule.
Definition: vtkMoleculeAppend.h:37
vtkMoleculeAlgorithm.h
vtkMoleculeAppend::vtkMoleculeAppend
vtkMoleculeAppend()
Specify if coincident atoms (atom with exactly the same position) should be merged into one.
vtkMoleculeAppend::CheckArrays
bool CheckArrays(vtkAbstractArray *array1, vtkAbstractArray *array2)
Specify if coincident atoms (atom with exactly the same position) should be merged into one.
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:113
vtkMoleculeAppend::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Specify if coincident atoms (atom with exactly the same position) should be merged into one.
vtkMoleculeAppend::GetInput
vtkDataObject * GetInput()
Get one input to this filter.
Definition: vtkMoleculeAppend.h:50
vtkMoleculeAppend::GetInput
vtkDataObject * GetInput(int idx)
Get one input to this filter.
vtkMoleculeAppend::New
static vtkMoleculeAppend * New()
vtkAbstractArray
Abstract superclass for all arrays.
Definition: vtkAbstractArray.h:76
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:183
vtkMoleculeAppend::MergeCoincidentAtoms
bool MergeCoincidentAtoms
Specify if coincident atoms (atom with exactly the same position) should be merged into one.
Definition: vtkMoleculeAppend.h:76
vtkMoleculeAppend::FillInputPortInformation
int FillInputPortInformation(int, vtkInformation *) override
Specify if coincident atoms (atom with exactly the same position) should be merged into one.
vtkDataObject
general representation of visualization data
Definition: vtkDataObject.h:169