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
35
36class VTKFILTERSCORE_EXPORT vtkMoleculeAppend : public vtkMoleculeAlgorithm
37{
38public:
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
64protected:
66 ~vtkMoleculeAppend() override = default;
67
69
70 // see vtkAlgorithm for docs.
72
73 // Check arrays information : name, type and number of components.
75
77
78private:
79 vtkMoleculeAppend(const vtkMoleculeAppend&) = delete;
80 void operator=(const vtkMoleculeAppend&) = delete;
81};
82
83#endif
Abstract superclass for all arrays.
general representation of visualization data
a simple class to control print indentation
Definition: vtkIndent.h:113
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.