VTK  9.2.20230322
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 
33 #ifndef vtkMoleculeAppend_h
34 #define vtkMoleculeAppend_h
35 
36 #include "vtkFiltersCoreModule.h" // For export macro
37 #include "vtkMoleculeAlgorithm.h"
38 
39 VTK_ABI_NAMESPACE_BEGIN
40 class VTKFILTERSCORE_EXPORT vtkMoleculeAppend : public vtkMoleculeAlgorithm
41 {
42 public:
45  void PrintSelf(ostream& os, vtkIndent indent) override;
46 
48 
54  vtkDataObject* GetInput() { return this->GetInput(0); }
56 
58 
63  vtkGetMacro(MergeCoincidentAtoms, bool);
64  vtkSetMacro(MergeCoincidentAtoms, bool);
65  vtkBooleanMacro(MergeCoincidentAtoms, bool);
66  // @}
67 
68 protected:
70  ~vtkMoleculeAppend() override = default;
71 
73 
74  // see vtkAlgorithm for docs.
76 
77  // Check arrays information : name, type and number of components.
79 
81 
82 private:
83  vtkMoleculeAppend(const vtkMoleculeAppend&) = delete;
84  void operator=(const vtkMoleculeAppend&) = delete;
85 };
86 
87 VTK_ABI_NAMESPACE_END
88 #endif
Abstract superclass for all arrays.
general representation of visualization data
a simple class to control print indentation
Definition: vtkIndent.h:120
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that operate on vtkMolecules.
Appends one or more molecules into a single molecule.
vtkMoleculeAppend()
Specify if coincident atoms (atom with exactly the same position) should be merged into one.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
bool CheckArrays(vtkAbstractArray *array1, vtkAbstractArray *array2)
Specify if coincident atoms (atom with exactly the same position) should be merged into one.
vtkDataObject * GetInput()
Get one input to this filter.
~vtkMoleculeAppend() override=default
Specify if coincident atoms (atom with exactly the same position) should be merged into one.
vtkDataObject * GetInput(int idx)
Get one input to this filter.
int FillInputPortInformation(int, vtkInformation *) override
Specify if coincident atoms (atom with exactly the same position) should be merged into one.
bool MergeCoincidentAtoms
Specify if coincident atoms (atom with exactly the same position) should be merged into one.
static vtkMoleculeAppend * New()
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Specify if coincident atoms (atom with exactly the same position) should be merged into one.