VTK  9.0.1
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 
43 
49  vtkDataObject* GetInput() { return this->GetInput(0); }
51 
53 
58  vtkGetMacro(MergeCoincidentAtoms, bool);
59  vtkSetMacro(MergeCoincidentAtoms, bool);
60  vtkBooleanMacro(MergeCoincidentAtoms, bool);
61  // @}
62 
63 protected:
65  ~vtkMoleculeAppend() override = default;
66 
68 
69  // see vtkAlgorithm for docs.
71 
72  // Check arrays information : name, type and number of components.
74 
76 
77 private:
78  vtkMoleculeAppend(const vtkMoleculeAppend&) = delete;
79  void operator=(const vtkMoleculeAppend&) = delete;
80 };
81 
82 #endif
Abstract superclass for all arrays.
general representation of visualization data
Definition: vtkDataObject.h:60
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.
vtkDataObject * GetInput(int num)
Get one input to this filter.
bool CheckArrays(vtkAbstractArray *array1, vtkAbstractArray *array2)
vtkDataObject * GetInput()
~vtkMoleculeAppend() override=default
int FillInputPortInformation(int, vtkInformation *) override
Fill the input port information objects for this algorithm.
static vtkMoleculeAppend * New()
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.