12#ifndef vtkOpenQubeElectronicData_h
13#define vtkOpenQubeElectronicData_h
16#include "vtkDomainsChemistryModule.h"
25VTK_ABI_NAMESPACE_BEGIN
68 vtkSetMacro(BasisSet, OpenQube::BasisSet*);
69 vtkGetMacro(BasisSet, OpenQube::BasisSet*);
77 vtkSetMacro(Padding,
double);
78 vtkGetMacro(Padding,
double);
85 vtkSetMacro(Spacing,
double);
86 vtkGetMacro(Spacing,
double);
Provides access to and storage of chemical electronic data.
general representation of visualization data
maintain an unordered list of dataset objects
topologically and geometrically regular array of data
a simple class to control print indentation
Allocate and hold a VTK object.
Provides access to and storage of electronic data calculated by OpenQube.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual void DeepCopy(vtkDataObject *obj)
Deep copies the data object into this.
vtkImageData * GetElectronDensity()
Returns vtkImageData for the molecule's electron density.
vtkNew< vtkDataSetCollection > Images
Cache of calculated image data.
static vtkOpenQubeElectronicData * New()
unsigned int GetNumberOfElectrons()
Returns the number of electrons in the molecule.
OpenQube::BasisSet * BasisSet
The OpenQube::BasisSet object used to calculate the images.
vtkImageData * CalculateMO(vtkIdType orbitalNumber)
Calculates and returns the requested vtkImageData.
double Spacing
Used to determine the spacing of the image data.
vtkGetNewMacro(Images, vtkDataSetCollection)
Get the collection of cached images.
~vtkOpenQubeElectronicData() override
vtkImageData * GetMO(vtkIdType orbitalNumber)
Returns the vtkImageData for the requested molecular orbital.
int GetDataObjectType() override
Returns VTK_OPEN_QUBE_ELECTRONIC_DATA.
vtkOpenQubeElectronicData()
void FillImageDataFromQube(OpenQube::Cube *qube, vtkImageData *image)
Converts an OpenQube::Cube object into vtkImageData.
vtkImageData * CalculateElectronDensity()
Calculates and returns the requested vtkImageData.
vtkIdType GetNumberOfMOs()
Returns the number of molecular orbitals in the OpenQube::BasisSet.
#define VTK_OPEN_QUBE_ELECTRONIC_DATA