VTK  9.3.20240907
vtkSimpleBondPerceiver.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
25#ifndef vtkSimpleBondPerceiver_h
26#define vtkSimpleBondPerceiver_h
27
28#include "vtkDomainsChemistryModule.h" // For export macro
30
31VTK_ABI_NAMESPACE_BEGIN
32class vtkDataSet;
33class vtkMolecule;
35
36class VTKDOMAINSCHEMISTRY_EXPORT vtkSimpleBondPerceiver : public vtkMoleculeAlgorithm
37{
38public:
41 void PrintSelf(ostream& os, vtkIndent indent) override;
42
44
47 vtkSetMacro(Tolerance, float);
48 vtkGetMacro(Tolerance, float);
50
52
56 vtkGetMacro(IsToleranceAbsolute, bool);
57 vtkSetMacro(IsToleranceAbsolute, bool);
59
60protected:
63
64 int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
65 vtkInformationVector* outputVector) override;
66
70 virtual void ComputeBonds(vtkMolecule* molecule);
71
78
79 float Tolerance;
81
82private:
84 void operator=(const vtkSimpleBondPerceiver&) = delete;
85};
86
87VTK_ABI_NAMESPACE_END
88#endif
abstract class to specify dataset behavior
Definition vtkDataSet.h:166
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.
class describing a molecule
Definition vtkMolecule.h:84
Access to information about the elements.
Create a simple guess of a molecule's topology.
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.
static vtkSimpleBondPerceiver * New()
double GetCovalentRadiusWithTolerance(vtkPeriodicTable *table, vtkIdType atomicNumber)
Get the covalent radius corresponding to atomic number, modulated by Tolerance.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void ComputeBonds(vtkMolecule *molecule)
Compute the bonds of input molecule.
~vtkSimpleBondPerceiver() override
int vtkIdType
Definition vtkType.h:315