VTK  9.4.20241218
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
26
27VTK_ABI_NAMESPACE_BEGIN
28class VTKFILTERSCORE_EXPORT vtkMoleculeAppend : public vtkMoleculeAlgorithm
29{
30public:
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
56protected:
58 ~vtkMoleculeAppend() override = default;
59
61
62 // see vtkAlgorithm for docs.
64
65 // Check arrays information : name, type and number of components.
67
69
70private:
71 vtkMoleculeAppend(const vtkMoleculeAppend&) = delete;
72 void operator=(const vtkMoleculeAppend&) = delete;
73};
74
75VTK_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.
static vtkMoleculeAppend * New()
~vtkMoleculeAppend() override=default
Specify if coincident atoms (atom with exactly the same position) should be merged into one.
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.
vtkDataObject * GetInput(int idx)
Get one input to this filter.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Specify if coincident atoms (atom with exactly the same position) should be merged into one.