VTK: Domains/Chemistry/vtkMoleculeToAtomBallFilter.h Source File

| VTK 9.3.1

vtkMoleculeToAtomBallFilter.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
22 #ifndef vtkMoleculeToAtomBallFilter_h
23 #define vtkMoleculeToAtomBallFilter_h
24
25 #include "vtkDomainsChemistryModule.h" // For export macro
26 #include "vtkMoleculeToPolyDataFilter.h"
27
28 VTK_ABI_NAMESPACE_BEGIN
29 class vtkMolecule;
30
31 class VTKDOMAINSCHEMISTRY_EXPORT vtkMoleculeToAtomBallFilter : public vtkMoleculeToPolyDataFilter
32 {
33 public:
34 vtkTypeMacro(vtkMoleculeToAtomBallFilter, vtkMoleculeToPolyDataFilter);
35 void PrintSelf(ostream& os, vtkIndent indent) override;
36
37 static vtkMoleculeToAtomBallFilter* New();
38
39 enum
40 {
41 CovalentRadius = 0,
42 VDWRadius,
43 UnitRadius
44 }; // TODO Custom radii from array/fieldData
45
46 vtkGetMacro(RadiusSource, int);
47 vtkSetMacro(RadiusSource, int);
48
49 vtkGetMacro(Resolution, int);
50 vtkSetMacro(Resolution, int);
51
52 vtkGetMacro(RadiusScale, double);
53 vtkSetMacro(RadiusScale, double);
54
55 protected:
56 vtkMoleculeToAtomBallFilter();
57 ~vtkMoleculeToAtomBallFilter() override;
58
59 int RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) override;
60
61 int Resolution;
62 double RadiusScale;
63 int RadiusSource;
64
65 private:
66 vtkMoleculeToAtomBallFilter(const vtkMoleculeToAtomBallFilter&) = delete;
67 void operator=(const vtkMoleculeToAtomBallFilter&) = delete;
68 };
69
70 VTK_ABI_NAMESPACE_END
71 #endif
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:38
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:40
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:72
vtkMoleculeToAtomBallFilter
Generate polydata with spheres representing atoms.
Definition: vtkMoleculeToAtomBallFilter.h:32
vtkMoleculeToAtomBallFilter::vtkMoleculeToAtomBallFilter
vtkMoleculeToAtomBallFilter()
vtkMoleculeToAtomBallFilter::~vtkMoleculeToAtomBallFilter
~vtkMoleculeToAtomBallFilter() override
vtkMoleculeToAtomBallFilter::RadiusScale
double RadiusScale
Definition: vtkMoleculeToAtomBallFilter.h:62
vtkMoleculeToAtomBallFilter::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkMoleculeToAtomBallFilter::RadiusSource
int RadiusSource
Definition: vtkMoleculeToAtomBallFilter.h:63
vtkMoleculeToAtomBallFilter::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkMoleculeToAtomBallFilter::Resolution
int Resolution
Definition: vtkMoleculeToAtomBallFilter.h:61
vtkMoleculeToAtomBallFilter::VDWRadius
@ VDWRadius
Definition: vtkMoleculeToAtomBallFilter.h:42
vtkMoleculeToAtomBallFilter::New
static vtkMoleculeToAtomBallFilter * New()
vtkMoleculeToPolyDataFilter
abstract filter class
Definition: vtkMoleculeToPolyDataFilter.h:22
vtkMolecule
class describing a molecule
Definition: vtkMolecule.h:84
vtkMoleculeToPolyDataFilter.h