VTK  9.3.0
vtkPointSetToMoleculeFilter.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 /*
4  * @class vtkPointSetToMoleculeFilter
5  * @brief Converts a pointset into a molecule.
6  *
7  * vtkPointSetToMoleculeFilter is a filter that takes a vtkPointSet as input
8  * and generates a vtkMolecule.
9  * Each point of the given vtkPointSet will become an atom of the vtkMolecule.
10  * The vtkPointSet should provide a point data array (default is scalar one)
11  * to specify the atomic number of each atom.
12 
13  @par Tests:
14  @ref c2_vtk_t_vtkPointSetToMoleculeFilter "vtkPointSetToMoleculeFilter (Tests)"
15  */
16 
17 #ifndef vtkPointSetToMoleculeFilter_h
18 #define vtkPointSetToMoleculeFilter_h
19 
20 #include "vtkDomainsChemistryModule.h" // For export macro
21 #include "vtkMoleculeAlgorithm.h"
22 
23 VTK_ABI_NAMESPACE_BEGIN
24 class VTKDOMAINSCHEMISTRY_EXPORT vtkPointSetToMoleculeFilter : public vtkMoleculeAlgorithm
25 {
26 public:
29  void PrintSelf(ostream& os, vtkIndent indent) override;
30 
32 
37  vtkGetMacro(ConvertLinesIntoBonds, bool);
38  vtkSetMacro(ConvertLinesIntoBonds, bool);
39  vtkBooleanMacro(ConvertLinesIntoBonds, bool);
41 
42 protected:
44  ~vtkPointSetToMoleculeFilter() override = default;
45 
47 
49 
51 
52 private:
54  void operator=(const vtkPointSetToMoleculeFilter&) = delete;
55 };
56 
57 VTK_ABI_NAMESPACE_END
58 #endif
a simple class to control print indentation
Definition: vtkIndent.h:29
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that operate on vtkMolecules.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
static vtkPointSetToMoleculeFilter * New()
~vtkPointSetToMoleculeFilter() override=default
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
@ info
Definition: vtkX3D.h:376
@ port
Definition: vtkX3D.h:447