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
27 
28 VTK_ABI_NAMESPACE_BEGIN
29 class vtkMolecule;
30 
31 class VTKDOMAINSCHEMISTRY_EXPORT vtkMoleculeToAtomBallFilter : public vtkMoleculeToPolyDataFilter
32 {
33 public:
35  void PrintSelf(ostream& os, vtkIndent indent) override;
36 
38 
39  enum
40  {
41  CovalentRadius = 0,
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:
57  ~vtkMoleculeToAtomBallFilter() override;
58 
60 
62  double RadiusScale;
64 
65 private:
67  void operator=(const vtkMoleculeToAtomBallFilter&) = delete;
68 };
69 
70 VTK_ABI_NAMESPACE_END
71 #endif
Generate polydata with spheres representing atoms.
Store vtkAlgorithm input/output information.
class describing a molecule
Definition: vtkMolecule.h:83
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkPolyDataAlgorithm * New()
a simple class to control print indentation
Definition: vtkIndent.h:28
Store zero or more vtkInformation instances.