25 #ifndef vtkAbstractElectronicData_h
26 #define vtkAbstractElectronicData_h
28 #include "vtkCommonDataModelModule.h"
52 virtual vtkIdType GetNumberOfElectrons() = 0;
79 return static_cast<vtkIdType>((this->GetNumberOfElectrons() / 2) - 1);
86 return static_cast<vtkIdType>(this->GetNumberOfElectrons() / 2);
93 bool IsHOMO(
vtkIdType orbitalNumber) {
return (orbitalNumber == this->GetHOMOOrbitalNumber()); }
99 bool IsLUMO(
vtkIdType orbitalNumber) {
return (orbitalNumber == this->GetLUMOOrbitalNumber()); }
111 vtkGetMacro(Padding,
double);
bool IsLUMO(vtkIdType orbitalNumber)
Returns true if the given orbital number is the Lowest Unoccupied Molecular Orbital, false otherwise.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkImageData * GetLUMO()
Returns vtkImageData for the Lowest Unoccupied Molecular Orbital.
int GetDataObjectType() override
Returns VTK_ABSTRACT_ELECTRONIC_DATA.
Provides access to and storage of chemical electronic data.
#define VTK_ABSTRACT_ELECTRONIC_DATA
vtkIdType GetHOMOOrbitalNumber()
vtkImageData * GetHOMO()
Returns vtkImageData for the Highest Occupied Molecular Orbital.
a simple class to control print indentation
bool IsHOMO(vtkIdType orbitalNumber)
Returns true if the given orbital number is the Highest Occupied Molecular Orbital, false otherwise.
topologically and geometrically regular array of data
general representation of visualization data
vtkIdType GetLUMOOrbitalNumber()
virtual void DeepCopy(vtkDataObject *src)
Shallow and Deep copy.