VTK
vtkOpenQubeElectronicData.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkOpenQubeElectronicData.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 =========================================================================*/
23 #ifndef vtkOpenQubeElectronicData_h
24 #define vtkOpenQubeElectronicData_h
25 
26 #include "vtkDomainsChemistryModule.h" // For export macro
28 #include "vtkNew.h" // for vtkNew
29 
30 namespace OpenQube {
31  class BasisSet;
32  class Cube;
33 }
34 
35 class vtkImageData;
37 
40 {
41 public:
44  void PrintSelf(ostream& os, vtkIndent indent);
45 
48 
50  unsigned int GetNumberOfElectrons();
51 
55  vtkImageData * GetMO(vtkIdType orbitalNumber);
56 
61 
63 
64  vtkSetMacro(BasisSet, OpenQube::BasisSet*);
65  vtkGetMacro(BasisSet, OpenQube::BasisSet*);
67 
69 
71  vtkSetMacro(Padding, double);
72  vtkGetMacro(Padding, double);
74 
76 
77  vtkSetMacro(Spacing, double);
78  vtkGetMacro(Spacing, double);
80 
82 
83  vtkGetNewMacro(Images, vtkDataSetCollection);
85 
87  virtual void DeepCopy(vtkDataObject *obj);
88 
89 protected:
92 
94 
96  vtkImageData * CalculateMO(vtkIdType orbitalNumber);
97  vtkImageData * CalculateElectronDensity();
99 
101 
102  void FillImageDataFromQube(OpenQube::Cube *qube,
105 
108 
110  OpenQube::BasisSet *BasisSet;
111 
113  double Spacing;
114 
115 private:
116  // Not implemented:
118  void operator=(const vtkOpenQubeElectronicData&);
119 };
120 
121 #endif
maintain an unordered list of dataset objects
vtkNew< vtkDataSetCollection > Images
virtual void PrintSelf(ostream &os, vtkIndent indent)
static vtkDataObject * New()
virtual vtkIdType GetNumberOfElectrons()=0
int vtkIdType
Definition: vtkType.h:275
Provides access to and storage of chemical electronic data.
virtual vtkImageData * GetElectronDensity()=0
#define VTKDOMAINSCHEMISTRY_EXPORT
a simple class to control print indentation
Definition: vtkIndent.h:38
topologically and geometrically regular array of data
Definition: vtkImageData.h:44
virtual vtkIdType GetNumberOfMOs()=0
Provides access to and storage of electronic data calculated by OpenQube.
virtual vtkImageData * GetMO(vtkIdType orbitalNumber)=0
virtual void DeepCopy(vtkDataObject *obj)
general representation of visualization data
Definition: vtkDataObject.h:64