VTK
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
44 {
45  public:
47  void PrintSelf(ostream& os, vtkIndent indent) override;
48 
50 
51  enum {
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:
68  ~vtkMoleculeToAtomBallFilter() override;
69 
71  vtkInformationVector *) override;
72 
74  double RadiusScale;
76 
77 private:
79  void operator=(const vtkMoleculeToAtomBallFilter&) = delete;
80 };
81 
82 #endif
Generate polydata with spheres representing atoms.
Store vtkAlgorithm input/output information.
class describing a molecule
Definition: vtkMolecule.h:94
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:39
Store zero or more vtkInformation instances.