VTK  9.2.5
vtkSimpleBondPerceiver.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkSimpleBondPerceiver.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=========================================================================*/
37#ifndef vtkSimpleBondPerceiver_h
38#define vtkSimpleBondPerceiver_h
39
40#include "vtkDomainsChemistryModule.h" // For export macro
42
43class vtkDataSet;
44class vtkMolecule;
46
47class VTKDOMAINSCHEMISTRY_EXPORT vtkSimpleBondPerceiver : public vtkMoleculeAlgorithm
48{
49public:
52 void PrintSelf(ostream& os, vtkIndent indent) override;
53
55
58 vtkSetMacro(Tolerance, float);
59 vtkGetMacro(Tolerance, float);
61
63
67 vtkGetMacro(IsToleranceAbsolute, bool);
68 vtkSetMacro(IsToleranceAbsolute, bool);
70
71protected:
74
75 int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
76 vtkInformationVector* outputVector) override;
77
81 virtual void ComputeBonds(vtkMolecule* molecule);
82
89
90 float Tolerance;
92
93private:
95 void operator=(const vtkSimpleBondPerceiver&) = delete;
96};
97
98#endif
abstract class to specify dataset behavior
Definition: vtkDataSet.h:63
a simple class to control print indentation
Definition: vtkIndent.h:40
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:95
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:332