VTK  9.3.20240329
vtkMoleculeAppend.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
3 
21 #ifndef vtkMoleculeAppend_h
22 #define vtkMoleculeAppend_h
23 
24 #include "vtkFiltersCoreModule.h" // For export macro
25 #include "vtkMoleculeAlgorithm.h"
26 
27 VTK_ABI_NAMESPACE_BEGIN
28 class VTKFILTERSCORE_EXPORT vtkMoleculeAppend : public vtkMoleculeAlgorithm
29 {
30 public:
33  void PrintSelf(ostream& os, vtkIndent indent) override;
34 
36 
42  vtkDataObject* GetInput() { return this->GetInput(0); }
44 
46 
51  vtkGetMacro(MergeCoincidentAtoms, bool);
52  vtkSetMacro(MergeCoincidentAtoms, bool);
53  vtkBooleanMacro(MergeCoincidentAtoms, bool);
54  // @}
55 
56 protected:
58  ~vtkMoleculeAppend() override = default;
59 
61 
62  // see vtkAlgorithm for docs.
64 
65  // Check arrays information : name, type and number of components.
67 
69 
70 private:
71  vtkMoleculeAppend(const vtkMoleculeAppend&) = delete;
72  void operator=(const vtkMoleculeAppend&) = delete;
73 };
74 
75 VTK_ABI_NAMESPACE_END
76 #endif
Abstract superclass for all arrays.
general representation of visualization data
a simple class to control print indentation
Definition: vtkIndent.h:108
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.