VTK  9.2.6
vtkPointSetToMoleculeFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkPointSetToMoleculeFilter.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 /*
16  * @class vtkPointSetToMoleculeFilter
17  * @brief Converts a pointset into a molecule.
18  *
19  * vtkPointSetToMoleculeFilter is a filter that takes a vtkPointSet as input
20  * and generates a vtkMolecule.
21  * Each point of the given vtkPointSet will become an atom of the vtkMolecule.
22  * The vtkPointSet should provide a point data array (default is scalar one)
23  * to specify the atomic number of each atom.
24 
25  @par Tests:
26  @ref c2_vtk_t_vtkPointSetToMoleculeFilter "vtkPointSetToMoleculeFilter (Tests)"
27  */
28 
29 #ifndef vtkPointSetToMoleculeFilter_h
30 #define vtkPointSetToMoleculeFilter_h
31 
32 #include "vtkDomainsChemistryModule.h" // For export macro
33 #include "vtkMoleculeAlgorithm.h"
34 
35 class VTKDOMAINSCHEMISTRY_EXPORT vtkPointSetToMoleculeFilter : public vtkMoleculeAlgorithm
36 {
37 public:
40  void PrintSelf(ostream& os, vtkIndent indent) override;
41 
43 
48  vtkGetMacro(ConvertLinesIntoBonds, bool);
49  vtkSetMacro(ConvertLinesIntoBonds, bool);
50  vtkBooleanMacro(ConvertLinesIntoBonds, bool);
52 
53 protected:
55  ~vtkPointSetToMoleculeFilter() override = default;
56 
58 
60 
62 
63 private:
65  void operator=(const vtkPointSetToMoleculeFilter&) = delete;
66 };
67 
68 #endif
Store vtkAlgorithm input/output information.
static vtkMoleculeAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Superclass for algorithms that operate on vtkMolecules.
a simple class to control print indentation
Definition: vtkIndent.h:39
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
Store zero or more vtkInformation instances.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.