#include <BALL/XRAY/crystalInfo.h>
Classes | |
struct | Default |
struct | Option |
Public Member Functions | |
bool | setSpaceGroup (const String &sg) |
const String & | getSpaceGroup () const |
void | setCellDimensions (const Vector3 &dim) |
void | setCellEdgeLengthA (const float &a) |
const float & | getCellEdgeLengthA () const |
void | setCellEdgeLengthB (const float &b) |
const float & | getCellEdgeLengthB () const |
void | setCellEdgeLengthC (const float &c) |
const float & | getCellEdgeLengthC () const |
void | setCellAngles (const Angle &alpha, const Angle &beta, const Angle &gamma) |
void | setCellAngleAlpha (const Angle &alpha) |
const Angle & | getCellAngleAlpha () const |
void | setCellAngleBeta (const Angle &beta) |
const Angle & | getCellAngleBeta () const |
void | setCellAngleGamma (const Angle &gamma) |
const Angle & | getCellAngleGamma () const |
void | setZScore (const int &zscore) |
const int & | getZScore () const |
Size | getNumberOfSymOps () const |
const Matrix4x4 & | getSymOp (Position p) const |
Size | getNumberOfNCSSymOps () const |
const Matrix4x4 & | getNCS (Position p) const throw (Exception::IndexOverflow) |
Matrix4x4 & | getNCS (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 Matrix4x4 & | getCart2Frac () const |
const Matrix4x4 & | getFrac2Cart () 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< Matrix4x4 > | ncs_symops_ |
vector< bool > | ncs_isgiven_ |
vector< Matrix4x4 > | sg_symops_ |
CrystalInfo class.
Definition at line 36 of file crystalInfo.h.
BALL::CrystalInfo::CrystalInfo | ( | ) |
Default constructor
Detailed Constructor
BALL::CrystalInfo::CrystalInfo | ( | const CrystalInfo & | ci | ) |
Copy Constructor
BALL::CrystalInfo::~CrystalInfo | ( | ) | throw () |
Default Constructor
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 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::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 | ) |
void BALL::CrystalInfo::setZScore | ( | const int & | zscore | ) |
Angle BALL::CrystalInfo::alpha_ [protected] |
Definition at line 169 of file crystalInfo.h.
Angle BALL::CrystalInfo::beta_ [protected] |
Definition at line 169 of file crystalInfo.h.
Matrix4x4 BALL::CrystalInfo::cart2frac_ [protected] |
Definition at line 173 of file crystalInfo.h.
Vector3 BALL::CrystalInfo::cell_dimensions_ [protected] |
Definition at line 168 of file crystalInfo.h.
String BALL::CrystalInfo::filename_ [protected] |
Definition at line 171 of file crystalInfo.h.
Matrix4x4 BALL::CrystalInfo::frac2cart_ [protected] |
Definition at line 174 of file crystalInfo.h.
Angle BALL::CrystalInfo::gamma_ [protected] |
Definition at line 169 of file crystalInfo.h.
vector<bool> BALL::CrystalInfo::ncs_isgiven_ [protected] |
Definition at line 177 of file crystalInfo.h.
vector<Matrix4x4> BALL::CrystalInfo::ncs_symops_ [protected] |
Definition at line 176 of file crystalInfo.h.
vector<Matrix4x4> BALL::CrystalInfo::sg_symops_ [protected] |
Definition at line 178 of file crystalInfo.h.
String BALL::CrystalInfo::space_group_ [protected] |
Definition at line 167 of file crystalInfo.h.
int BALL::CrystalInfo::z_score_ [protected] |
Definition at line 170 of file crystalInfo.h.