BALL::CrystalInfo Class Reference

#include <BALL/XRAY/crystalInfo.h>

Inheritance diagram for BALL::CrystalInfo:
Inheritance graph
[legend]

List of all members.

Classes

struct  Default
struct  Option

Public Member Functions

bool setSpaceGroup (const String &sg)
const StringgetSpaceGroup () const
void setCellDimensions (const Vector3 &dim)
void setCellEdgeLengthA (const float &a)
const floatgetCellEdgeLengthA () const
void setCellEdgeLengthB (const float &b)
const floatgetCellEdgeLengthB () const
void setCellEdgeLengthC (const float &c)
const floatgetCellEdgeLengthC () const
void setCellAngles (const Angle &alpha, const Angle &beta, const Angle &gamma)
void setCellAngleAlpha (const Angle &alpha)
const AnglegetCellAngleAlpha () const
void setCellAngleBeta (const Angle &beta)
const AnglegetCellAngleBeta () const
void setCellAngleGamma (const Angle &gamma)
const AnglegetCellAngleGamma () const
void setZScore (const int &zscore)
const int & getZScore () const
Size getNumberOfSymOps () const
const Matrix4x4getSymOp (Position p) const
Size getNumberOfNCSSymOps () const
const Matrix4x4getNCS (Position p) const throw (Exception::IndexOverflow)
Matrix4x4getNCS (Position p) throw (Exception::IndexOverflow)
bool isgivenNCS (Position p) const throw (Exception::IndexOverflow)
bool isgivenNCS (Position p) throw (Exception::IndexOverflow)
bool insertNCS (Position p, Matrix4x4 ncsm, bool is_given=0) throw (Exception::IndexOverflow)
void pushbackNCS (Matrix4x4 ncsm, bool is_given=0)
bool eraseNCS (Position p) throw (Exception::IndexOverflow)
const Matrix4x4getCart2Frac () const
const Matrix4x4getFrac2Cart () const
Constructors and Destructor

 CrystalInfo ()
 CrystalInfo (String group, Vector3 dim, Angle alpha, Angle beta, Angle gamma)
 CrystalInfo (const CrystalInfo &ci)
 ~CrystalInfo () throw ()
Storable Interface

void persistentWrite (PersistenceManager &pm, const char *name) const throw (Exception::GeneralException)
void persistentRead (PersistenceManager &pm) throw (Exception::GeneralException)

Protected Member Functions

void calculateMatrices_ ()
bool retrieveSymOps_ (const String &sg)

Protected Attributes

String space_group_
Vector3 cell_dimensions_
Angle alpha_
Angle beta_
Angle gamma_
int z_score_
String filename_
Matrix4x4 cart2frac_
Matrix4x4 frac2cart_
vector< Matrix4x4ncs_symops_
vector< boolncs_isgiven_
vector< Matrix4x4sg_symops_

Detailed Description

CrystalInfo class.

Definition at line 36 of file crystalInfo.h.


Constructor & Destructor Documentation

BALL::CrystalInfo::CrystalInfo (  ) 

Default constructor

BALL::CrystalInfo::CrystalInfo ( String  group,
Vector3  dim,
Angle  alpha,
Angle  beta,
Angle  gamma 
)

Detailed Constructor

BALL::CrystalInfo::CrystalInfo ( const CrystalInfo ci  ) 

Copy Constructor

BALL::CrystalInfo::~CrystalInfo (  )  throw ()

Default Constructor


Member Function Documentation

void BALL::CrystalInfo::calculateMatrices_ (  )  [protected]
bool BALL::CrystalInfo::eraseNCS ( Position  p  )  throw (Exception::IndexOverflow)
const Matrix4x4& BALL::CrystalInfo::getCart2Frac (  )  const
const Angle& BALL::CrystalInfo::getCellAngleAlpha (  )  const
const Angle& BALL::CrystalInfo::getCellAngleBeta (  )  const
const Angle& BALL::CrystalInfo::getCellAngleGamma (  )  const
const float& BALL::CrystalInfo::getCellEdgeLengthA (  )  const
const float& BALL::CrystalInfo::getCellEdgeLengthB (  )  const
const float& BALL::CrystalInfo::getCellEdgeLengthC (  )  const
const Matrix4x4& BALL::CrystalInfo::getFrac2Cart (  )  const
Matrix4x4& BALL::CrystalInfo::getNCS ( Position  p  )  throw (Exception::IndexOverflow)
const Matrix4x4& BALL::CrystalInfo::getNCS ( Position  p  )  const throw (Exception::IndexOverflow)
Size BALL::CrystalInfo::getNumberOfNCSSymOps (  )  const
Size BALL::CrystalInfo::getNumberOfSymOps (  )  const
const String& BALL::CrystalInfo::getSpaceGroup (  )  const
const Matrix4x4& BALL::CrystalInfo::getSymOp ( Position  p  )  const
const int& BALL::CrystalInfo::getZScore (  )  const
bool BALL::CrystalInfo::insertNCS ( Position  p,
Matrix4x4  ncsm,
bool  is_given = 0 
) throw (Exception::IndexOverflow)
bool BALL::CrystalInfo::isgivenNCS ( Position  p  )  throw (Exception::IndexOverflow)
bool BALL::CrystalInfo::isgivenNCS ( Position  p  )  const throw (Exception::IndexOverflow)
void BALL::CrystalInfo::persistentRead ( PersistenceManager pm  )  throw (Exception::GeneralException) [virtual]

Persistent stream reading.

Reimplemented from BALL::PersistentObject.

void BALL::CrystalInfo::persistentWrite ( PersistenceManager pm,
const char *  name 
) const throw (Exception::GeneralException) [virtual]

Persistent stream writing.

Reimplemented from BALL::PersistentObject.

void BALL::CrystalInfo::pushbackNCS ( Matrix4x4  ncsm,
bool  is_given = 0 
)
bool BALL::CrystalInfo::retrieveSymOps_ ( const String sg  )  [protected]
void BALL::CrystalInfo::setCellAngleAlpha ( const Angle alpha  ) 
void BALL::CrystalInfo::setCellAngleBeta ( const Angle beta  ) 
void BALL::CrystalInfo::setCellAngleGamma ( const Angle gamma  ) 
void BALL::CrystalInfo::setCellAngles ( const Angle alpha,
const Angle beta,
const Angle gamma 
)
void BALL::CrystalInfo::setCellDimensions ( const Vector3 dim  ) 
void BALL::CrystalInfo::setCellEdgeLengthA ( const float a  ) 
void BALL::CrystalInfo::setCellEdgeLengthB ( const float b  ) 
void BALL::CrystalInfo::setCellEdgeLengthC ( const float c  ) 
bool BALL::CrystalInfo::setSpaceGroup ( const String sg  ) 
void BALL::CrystalInfo::setZScore ( const int &  zscore  ) 

Member Data Documentation

Definition at line 169 of file crystalInfo.h.

Definition at line 169 of file crystalInfo.h.

Definition at line 173 of file crystalInfo.h.

Definition at line 168 of file crystalInfo.h.

Definition at line 171 of file crystalInfo.h.

Definition at line 174 of file crystalInfo.h.

Definition at line 169 of file crystalInfo.h.

Definition at line 177 of file crystalInfo.h.

Definition at line 176 of file crystalInfo.h.

Definition at line 178 of file crystalInfo.h.

Definition at line 167 of file crystalInfo.h.

int BALL::CrystalInfo::z_score_ [protected]

Definition at line 170 of file crystalInfo.h.

Generated by  doxygen 1.6.3