VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkOpenQubeElectronicData Class Reference

Provides access to and storage of electronic data calculated by OpenQube. More...

#include <vtkOpenQubeElectronicData.h>

Inheritance diagram for vtkOpenQubeElectronicData:
Inheritance graph
[legend]
Collaboration diagram for vtkOpenQubeElectronicData:
Collaboration graph
[legend]

Public Types

typedef vtkAbstractElectronicData Superclass
- Public Types inherited from vtkAbstractElectronicData
typedef vtkDataObject Superclass
- Public Types inherited from vtkDataObject
typedef vtkObject Superclass
enum  FieldAssociations {
  FIELD_ASSOCIATION_POINTS, FIELD_ASSOCIATION_CELLS, FIELD_ASSOCIATION_NONE, FIELD_ASSOCIATION_POINTS_THEN_CELLS,
  FIELD_ASSOCIATION_VERTICES, FIELD_ASSOCIATION_EDGES, FIELD_ASSOCIATION_ROWS, NUMBER_OF_ASSOCIATIONS
}
enum  AttributeTypes {
  POINT, CELL, FIELD, POINT_THEN_CELL,
  VERTEX, EDGE, ROW, NUMBER_OF_ATTRIBUTE_TYPES
}
enum  FieldOperations { FIELD_OPERATION_PRESERVED, FIELD_OPERATION_REINTERPOLATED, FIELD_OPERATION_MODIFIED, FIELD_OPERATION_REMOVED }
- Public Types inherited from vtkObject
typedef vtkObjectBase Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
vtkIdType GetNumberOfMOs ()
unsigned int GetNumberOfElectrons ()
vtkImageData * GetMO (vtkIdType orbitalNumber)
vtkImageData * GetElectronDensity ()
virtual void DeepCopy (vtkDataObject *obj)
virtual void SetBasisSet (OpenQube::BasisSet *)
virtual OpenQube::BasisSet * GetBasisSet ()
virtual void SetPadding (double)
virtual double GetPadding ()
virtual void SetSpacing (double)
virtual double GetSpacing ()
 vtkGetNewMacro (Images, vtkDataSetCollection)
- Public Member Functions inherited from vtkAbstractElectronicData
vtkImageData * GetHOMO ()
vtkImageData * GetLUMO ()
vtkIdType GetHOMOOrbitalNumber ()
vtkIdType GetLUMOOrbitalNumber ()
bool IsHOMO (vtkIdType orbitalNumber)
bool IsLUMO (vtkIdType orbitalNumber)
- Public Member Functions inherited from vtkDataObject
virtual vtkAlgorithmOutput * GetProducerPort ()
unsigned long int GetMTime ()
virtual void Initialize ()
void ReleaseData ()
int ShouldIReleaseData ()
virtual void Register (vtkObjectBase *o)
virtual void UnRegister (vtkObjectBase *o)
virtual void Update ()
virtual void UpdateInformation ()
virtual void PropagateUpdateExtent ()
virtual void TriggerAsynchronousUpdate ()
virtual void UpdateData ()
virtual unsigned long GetEstimatedMemorySize ()
virtual int GetDataObjectType ()
unsigned long GetUpdateTime ()
void SetUpdateExtentToWholeExtent ()
unsigned long GetPipelineMTime ()
virtual unsigned long GetActualMemorySize ()
void CopyInformation (vtkDataObject *data)
virtual void CopyInformationFromPipeline (vtkInformation *request)
void DataHasBeenGenerated ()
virtual void PrepareForNewData ()
virtual int GetExtentType ()
virtual void Crop ()
virtual vtkDataSetAttributes * GetAttributes (int type)
virtual vtkFieldData * GetAttributesAsFieldData (int type)
virtual int GetAttributeTypeForArray (vtkAbstractArray *arr)
virtual vtkIdType GetNumberOfElements (int type)
virtual vtkSource * GetSource ()
void SetSource (vtkSource *s)
virtual vtkInformation * GetInformation ()
virtual void SetInformation (vtkInformation *)
virtual vtkInformation * GetPipelineInformation ()
virtual void SetPipelineInformation (vtkInformation *)
virtual int GetDataReleased ()
void SetReleaseDataFlag (int)
int GetReleaseDataFlag ()
virtual void ReleaseDataFlagOn ()
virtual void ReleaseDataFlagOff ()
virtual void SetFieldData (vtkFieldData *)
virtual vtkFieldData * GetFieldData ()
virtual void SetUpdateExtent (int piece, int numPieces, int ghostLevel)
void SetUpdateExtent (int piece, int numPieces)
virtual void SetUpdateExtent (int x0, int x1, int y0, int y1, int z0, int z1)
virtual void SetUpdateExtent (int extent[6])
virtual int * GetUpdateExtent ()
virtual void GetUpdateExtent (int &x0, int &x1, int &y0, int &y1, int &z0, int &z1)
virtual void GetUpdateExtent (int extent[6])
virtual void CopyTypeSpecificInformation (vtkDataObject *data)
void SetUpdatePiece (int piece)
void SetUpdateNumberOfPieces (int num)
virtual int GetUpdatePiece ()
virtual int GetUpdateNumberOfPieces ()
void SetUpdateGhostLevel (int level)
virtual int GetUpdateGhostLevel ()
virtual void SetRequestExactExtent (int flag)
virtual int GetRequestExactExtent ()
virtual void RequestExactExtentOn ()
virtual void RequestExactExtentOff ()
virtual void SetWholeExtent (int x0, int x1, int y0, int y1, int z0, int z1)
virtual void SetWholeExtent (int extent[6])
virtual int * GetWholeExtent ()
virtual void GetWholeExtent (int &x0, int &x1, int &y0, int &y1, int &z0, int &z1)
virtual void GetWholeExtent (int extent[6])
virtual void SetWholeBoundingBox (double x0, double x1, double y0, double y1, double z0, double z1)
virtual void SetWholeBoundingBox (double bb[6])
virtual double * GetWholeBoundingBox ()
virtual void GetWholeBoundingBox (double &x0, double &x1, double &y0, double &y1, double &z0, double &z1)
virtual void GetWholeBoundingBox (double extent[6])
virtual void SetMaximumNumberOfPieces (int)
virtual int GetMaximumNumberOfPieces ()
virtual void CopyInformationToPipeline (vtkInformation *request, vtkInformation *input, vtkInformation *output, int forceCopy)
void CopyInformationToPipeline (vtkInformation *request, vtkInformation *input)
virtual void ShallowCopy (vtkDataObject *src)
void SetExtentTranslator (vtkExtentTranslator *translator)
vtkExtentTranslator * GetExtentTranslator ()
void GlobalReleaseDataFlagOn ()
void GlobalReleaseDataFlagOff ()
- Public Member Functions inherited from vtkObject
virtual void DebugOn ()
virtual void DebugOff ()
unsigned char GetDebug ()
void SetDebug (unsigned char debugFlag)
virtual void Modified ()
unsigned long AddObserver (unsigned long event, vtkCommand *, float priority=0.0f)
unsigned long AddObserver (const char *event, vtkCommand *, float priority=0.0f)
vtkCommand * GetCommand (unsigned long tag)
void RemoveObserver (vtkCommand *)
void RemoveObservers (unsigned long event, vtkCommand *)
void RemoveObservers (const char *event, vtkCommand *)
int HasObserver (unsigned long event, vtkCommand *)
int HasObserver (const char *event, vtkCommand *)
void RemoveObserver (unsigned long tag)
void RemoveObservers (unsigned long event)
void RemoveObservers (const char *event)
void RemoveAllObservers ()
int HasObserver (unsigned long event)
int HasObserver (const char *event)
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f)
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
int InvokeEvent (unsigned long event, void *callData)
int InvokeEvent (const char *event, void *callData)
int InvokeEvent (unsigned long event)
int InvokeEvent (const char *event)
- Public Member Functions inherited from vtkObjectBase
const char * GetClassName () const
virtual void Delete ()
virtual void FastDelete ()
void Print (ostream &os)
void SetReferenceCount (int)
void PrintRevisions (ostream &os)
virtual void PrintHeader (ostream &os, vtkIndent indent)
virtual void PrintTrailer (ostream &os, vtkIndent indent)
int GetReferenceCount ()

Static Public Member Functions

static vtkOpenQubeElectronicData * New ()
static int IsTypeOf (const char *type)
static vtkOpenQubeElectronicData * SafeDownCast (vtkObject *o)

Protected Member Functions

 vtkOpenQubeElectronicData ()
 ~vtkOpenQubeElectronicData ()
vtkImageData * CalculateMO (vtkIdType orbitalNumber)
vtkImageData * CalculateElectronDensity ()
void FillImageDataFromQube (OpenQube::Cube *qube, vtkImageData *image)
- Protected Member Functions inherited from vtkAbstractElectronicData
 vtkAbstractElectronicData ()
 ~vtkAbstractElectronicData ()
- Protected Member Functions inherited from vtkDataObject
 vtkDataObject ()
 ~vtkDataObject ()
vtkExecutive * GetExecutive ()
int GetPortNumber ()
virtual void ReportReferences (vtkGarbageCollector *)
vtkStreamingDemandDrivenPipeline * TrySDDP (const char *method)
- Protected Member Functions inherited from vtkObject
 vtkObject ()
virtual ~vtkObject ()
virtual void RegisterInternal (vtkObjectBase *, int check)
virtual void UnRegisterInternal (vtkObjectBase *, int check)
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL)
void InternalReleaseFocus ()
- Protected Member Functions inherited from vtkObjectBase
 vtkObjectBase ()
virtual ~vtkObjectBase ()
virtual void CollectRevisions (ostream &os)
 vtkObjectBase (const vtkObjectBase &)
void operator= (const vtkObjectBase &)

Protected Attributes

vtkNew< vtkDataSetCollection > Images
OpenQube::BasisSet * BasisSet
double Spacing
- Protected Attributes inherited from vtkAbstractElectronicData
double Padding
- Protected Attributes inherited from vtkDataObject
vtkFieldData * FieldData
vtkSource * Source
int DataReleased
vtkTimeStamp UpdateTime
vtkInformation * Information
vtkInformation * PipelineInformation
- Protected Attributes inherited from vtkObject
unsigned char Debug
vtkTimeStamp MTime
vtkSubjectHelper * SubjectHelper
- Protected Attributes inherited from vtkObjectBase
int ReferenceCount
vtkWeakPointerBase ** WeakPointers

Additional Inherited Members

- Protected Types inherited from vtkDataObject
typedef
vtkStreamingDemandDrivenPipeline 
SDDP
- Static Protected Attributes inherited from vtkDataObject
static const char AssociationNames [NUMBER_OF_ASSOCIATIONS][55]
- Friends inherited from vtkObject

Detailed Description

Provides access to and storage of electronic data calculated by OpenQube.

Tests:
vtkOpenQubeElectronicData (Tests)

Definition at line 37 of file vtkOpenQubeElectronicData.h.

Member Typedef Documentation

Definition at line 42 of file vtkOpenQubeElectronicData.h.

Constructor & Destructor Documentation

vtkOpenQubeElectronicData::vtkOpenQubeElectronicData ( )
protected
vtkOpenQubeElectronicData::~vtkOpenQubeElectronicData ( )
protected

Member Function Documentation

static vtkOpenQubeElectronicData* vtkOpenQubeElectronicData::New ( )
static

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkDataObject.

virtual const char* vtkOpenQubeElectronicData::GetClassName ( )
virtual

Reimplemented from vtkAbstractElectronicData.

static int vtkOpenQubeElectronicData::IsTypeOf ( const char *  name)
static

Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkAbstractElectronicData.

virtual int vtkOpenQubeElectronicData::IsA ( const char *  name)
virtual

Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkAbstractElectronicData.

static vtkOpenQubeElectronicData* vtkOpenQubeElectronicData::SafeDownCast ( vtkObject *  o)
static

Reimplemented from vtkAbstractElectronicData.

void vtkOpenQubeElectronicData::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
virtual

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkAbstractElectronicData.

vtkIdType vtkOpenQubeElectronicData::GetNumberOfMOs ( )
virtual

Returns the number of molecular orbitals in the OpenQube::BasisSet.

Implements vtkAbstractElectronicData.

unsigned int vtkOpenQubeElectronicData::GetNumberOfElectrons ( )
virtual

Returns the number of electrons in the molecule.

Implements vtkAbstractElectronicData.

vtkImageData* vtkOpenQubeElectronicData::GetMO ( vtkIdType  orbitalNumber)
virtual

Returns the vtkImageData for the requested molecular orbital. The data will be calculated when first requested, and cached for later requests.

Implements vtkAbstractElectronicData.

vtkImageData* vtkOpenQubeElectronicData::GetElectronDensity ( )
virtual

Returns vtkImageData for the molecule's electron density. The data will be calculated when first requested, and cached for later requests.

Implements vtkAbstractElectronicData.

virtual void vtkOpenQubeElectronicData::SetBasisSet ( OpenQube::BasisSet *  )
virtual

Set/Get the OpenQube::BasisSet object used to generate the image data

virtual OpenQube::BasisSet* vtkOpenQubeElectronicData::GetBasisSet ( )
virtual

Set/Get the OpenQube::BasisSet object used to generate the image data

virtual void vtkOpenQubeElectronicData::SetPadding ( double  )
virtual

Set/Get the padding around the molecule used in determining the image limits. Default: 2.0

virtual double vtkOpenQubeElectronicData::GetPadding ( )
virtual

Set/Get the padding around the molecule used in determining the image limits. Default: 2.0

Reimplemented from vtkAbstractElectronicData.

virtual void vtkOpenQubeElectronicData::SetSpacing ( double  )
virtual

Set/Get the interval distance between grid points. Default: 0.1

virtual double vtkOpenQubeElectronicData::GetSpacing ( )
virtual

Set/Get the interval distance between grid points. Default: 0.1

vtkOpenQubeElectronicData::vtkGetNewMacro ( Images  ,
vtkDataSetCollection   
)

Get the collection of cached images

virtual void vtkOpenQubeElectronicData::DeepCopy ( vtkDataObject *  obj)
virtual

Deep copies the data object into this.

Reimplemented from vtkAbstractElectronicData.

vtkImageData* vtkOpenQubeElectronicData::CalculateMO ( vtkIdType  orbitalNumber)
protected

Calculates and returns the requested vtkImageData. The data is added to the cache, but the cache is not searched in this function.

vtkImageData* vtkOpenQubeElectronicData::CalculateElectronDensity ( )
protected

Calculates and returns the requested vtkImageData. The data is added to the cache, but the cache is not searched in this function.

void vtkOpenQubeElectronicData::FillImageDataFromQube ( OpenQube::Cube *  qube,
vtkImageData *  image 
)
protected

Converts an OpenQube::Cube object into vtkImageData.

Member Data Documentation

vtkNew<vtkDataSetCollection> vtkOpenQubeElectronicData::Images
protected

Cache of calculated image data.

Definition at line 106 of file vtkOpenQubeElectronicData.h.

OpenQube::BasisSet* vtkOpenQubeElectronicData::BasisSet
protected

The OpenQube::BasisSet object used to calculate the images.

Definition at line 109 of file vtkOpenQubeElectronicData.h.

double vtkOpenQubeElectronicData::Spacing
protected

Used to determine the spacing of the image data.

Definition at line 112 of file vtkOpenQubeElectronicData.h.


The documentation for this class was generated from the following file: