VTK  9.0.2
vtkMoleculeToAtomBallFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkMoleculeToAtomBallFilter.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 =========================================================================*/
34 #ifndef vtkMoleculeToAtomBallFilter_h
35 #define vtkMoleculeToAtomBallFilter_h
36 
37 #include "vtkDomainsChemistryModule.h" // For export macro
39 
40 class vtkMolecule;
41 
42 class VTKDOMAINSCHEMISTRY_EXPORT vtkMoleculeToAtomBallFilter : public vtkMoleculeToPolyDataFilter
43 {
44 public:
46  void PrintSelf(ostream& os, vtkIndent indent) override;
47 
49 
50  enum
51  {
52  CovalentRadius = 0,
54  UnitRadius
55  }; // TODO Custom radii from array/fieldData
56 
57  vtkGetMacro(RadiusSource, int);
58  vtkSetMacro(RadiusSource, int);
59 
60  vtkGetMacro(Resolution, int);
61  vtkSetMacro(Resolution, int);
62 
63  vtkGetMacro(RadiusScale, double);
64  vtkSetMacro(RadiusScale, double);
65 
66 protected:
69 
71 
73  double RadiusScale;
75 
76 private:
78  void operator=(const vtkMoleculeToAtomBallFilter&) = delete;
79 };
80 
81 #endif
a simple class to control print indentation
Definition: vtkIndent.h:34
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Generate polydata with spheres representing atoms.
~vtkMoleculeToAtomBallFilter() override
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
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 vtkMoleculeToAtomBallFilter * New()
class describing a molecule
Definition: vtkMolecule.h:92