cctw
0.2.1
|
#include <cctwunitcell.h>
Public Member Functions | |
CctwUnitCell () | |
CctwUnitCell (double a, double b, double c, double alpha, double beta, double gamma) | |
CctwUnitCell (CctwDoubleVector3D lengths, CctwDoubleVector3D angles) | |
double | a () const |
double & | a () |
double | b () const |
double & | b () |
double | c () const |
double & | c () |
double | alpha () const |
double & | alpha () |
double | beta () const |
double & | beta () |
double | gamma () const |
double & | gamma () |
void | setValue (double a, double b, double c, double alpha, double beta, double gamma) |
void | setValue (CctwDoubleVector3D lengths, CctwDoubleVector3D angles) |
CctwDoubleVector3D | lengths () const |
CctwDoubleVector3D | angles () const |
bool | operator== (const CctwUnitCell &cell) const |
bool | operator!= (const CctwUnitCell &cell) const |
void | setSettingsValue (QSettings *settings, QString name) |
Static Public Member Functions | |
static void | customSaver (const QVariant &val, QSettings *settings, QString name) |
Private Attributes | |
double | m_A |
double | m_B |
double | m_C |
double | m_Alpha |
double | m_Beta |
double | m_Gamma |
Definition at line 9 of file cctwunitcell.h.
CctwUnitCell::CctwUnitCell | ( | ) |
Definition at line 3 of file cctwunitcell.cpp.
CctwUnitCell::CctwUnitCell | ( | double | a, |
double | b, | ||
double | c, | ||
double | alpha, | ||
double | beta, | ||
double | gamma | ||
) |
Definition at line 13 of file cctwunitcell.cpp.
CctwUnitCell::CctwUnitCell | ( | CctwDoubleVector3D | lengths, |
CctwDoubleVector3D | angles | ||
) |
Definition at line 23 of file cctwunitcell.cpp.
double CctwUnitCell::a | ( | ) | const |
Definition at line 33 of file cctwunitcell.cpp.
References m_A.
Referenced by CctwqtSetupTransformDialog::copyDialogToParameters(), CctwqtSetupTransformDialog::copyParametersToDialog(), CctwCrystalCoordinateTransform::createBMatrix(), CctwUnitCellProperty::fromScriptValue(), operator!=(), operator<<(), operator==(), operator>>(), CctwObject::scriptValueLiteral(), setSettingsValue(), setValue(), CctwUnitCellProperty::toScriptValue(), and CctwUnitCellProperty::toString().
double & CctwUnitCell::a | ( | ) |
Definition at line 38 of file cctwunitcell.cpp.
References m_A.
double CctwUnitCell::alpha | ( | ) | const |
Definition at line 63 of file cctwunitcell.cpp.
References m_Alpha.
Referenced by CctwqtSetupTransformDialog::copyDialogToParameters(), CctwqtSetupTransformDialog::copyParametersToDialog(), CctwCrystalCoordinateTransform::createBMatrix(), CctwUnitCellProperty::fromScriptValue(), operator!=(), operator<<(), operator==(), operator>>(), CctwObject::scriptValueLiteral(), setSettingsValue(), setValue(), CctwUnitCellProperty::toScriptValue(), and CctwUnitCellProperty::toString().
double & CctwUnitCell::alpha | ( | ) |
Definition at line 68 of file cctwunitcell.cpp.
References m_Alpha.
CctwDoubleVector3D CctwUnitCell::angles | ( | ) | const |
double CctwUnitCell::b | ( | ) | const |
Definition at line 43 of file cctwunitcell.cpp.
References m_B.
Referenced by CctwqtSetupTransformDialog::copyDialogToParameters(), CctwqtSetupTransformDialog::copyParametersToDialog(), CctwCrystalCoordinateTransform::createBMatrix(), CctwUnitCellProperty::fromScriptValue(), operator!=(), operator<<(), operator==(), operator>>(), CctwObject::scriptValueLiteral(), setSettingsValue(), setValue(), CctwUnitCellProperty::toScriptValue(), and CctwUnitCellProperty::toString().
double & CctwUnitCell::b | ( | ) |
Definition at line 48 of file cctwunitcell.cpp.
References m_B.
double CctwUnitCell::beta | ( | ) | const |
Definition at line 73 of file cctwunitcell.cpp.
References m_Beta.
Referenced by CctwqtSetupTransformDialog::copyDialogToParameters(), CctwqtSetupTransformDialog::copyParametersToDialog(), CctwCrystalCoordinateTransform::createBMatrix(), CctwUnitCellProperty::fromScriptValue(), operator!=(), operator<<(), operator==(), operator>>(), CctwObject::scriptValueLiteral(), setSettingsValue(), setValue(), CctwUnitCellProperty::toScriptValue(), and CctwUnitCellProperty::toString().
double & CctwUnitCell::beta | ( | ) |
Definition at line 78 of file cctwunitcell.cpp.
References m_Beta.
double CctwUnitCell::c | ( | ) | const |
Definition at line 53 of file cctwunitcell.cpp.
References m_C.
Referenced by CctwqtSetupTransformDialog::copyDialogToParameters(), CctwqtSetupTransformDialog::copyParametersToDialog(), CctwCrystalCoordinateTransform::createBMatrix(), CctwUnitCellProperty::fromScriptValue(), operator!=(), operator<<(), operator==(), operator>>(), CctwObject::scriptValueLiteral(), setSettingsValue(), setValue(), CctwUnitCellProperty::toScriptValue(), and CctwUnitCellProperty::toString().
double & CctwUnitCell::c | ( | ) |
Definition at line 58 of file cctwunitcell.cpp.
References m_C.
|
static |
Definition at line 150 of file cctwunitcell.cpp.
References setSettingsValue().
Referenced by CctwUnitCellProperty::registerMetaTypes().
double CctwUnitCell::gamma | ( | ) | const |
Definition at line 83 of file cctwunitcell.cpp.
References m_Gamma.
Referenced by CctwqtSetupTransformDialog::copyDialogToParameters(), CctwqtSetupTransformDialog::copyParametersToDialog(), CctwCrystalCoordinateTransform::createBMatrix(), CctwUnitCellProperty::fromScriptValue(), operator!=(), operator<<(), operator==(), operator>>(), CctwObject::scriptValueLiteral(), setSettingsValue(), setValue(), CctwUnitCellProperty::toScriptValue(), and CctwUnitCellProperty::toString().
double & CctwUnitCell::gamma | ( | ) |
Definition at line 88 of file cctwunitcell.cpp.
References m_Gamma.
CctwDoubleVector3D CctwUnitCell::lengths | ( | ) | const |
Definition at line 114 of file cctwunitcell.cpp.
bool CctwUnitCell::operator!= | ( | const CctwUnitCell & | cell | ) | const |
bool CctwUnitCell::operator== | ( | const CctwUnitCell & | cell | ) | const |
void CctwUnitCell::setSettingsValue | ( | QSettings * | settings, |
QString | name | ||
) |
Definition at line 136 of file cctwunitcell.cpp.
References a(), alpha(), b(), beta(), c(), and gamma().
Referenced by customSaver().
void CctwUnitCell::setValue | ( | double | a, |
double | b, | ||
double | c, | ||
double | alpha, | ||
double | beta, | ||
double | gamma | ||
) |
void CctwUnitCell::setValue | ( | CctwDoubleVector3D | lengths, |
CctwDoubleVector3D | angles | ||
) |
Definition at line 103 of file cctwunitcell.cpp.
References m_A, m_Alpha, m_B, m_Beta, m_C, m_Gamma, CctwVector3D< T >::x(), CctwVector3D< T >::y(), and CctwVector3D< T >::z().
|
private |
Definition at line 47 of file cctwunitcell.h.
Referenced by a(), lengths(), and setValue().
|
private |
Definition at line 50 of file cctwunitcell.h.
Referenced by alpha(), angles(), and setValue().
|
private |
Definition at line 48 of file cctwunitcell.h.
Referenced by b(), lengths(), and setValue().
|
private |
Definition at line 51 of file cctwunitcell.h.
Referenced by angles(), beta(), and setValue().
|
private |
Definition at line 49 of file cctwunitcell.h.
Referenced by c(), lengths(), and setValue().
|
private |
Definition at line 52 of file cctwunitcell.h.
Referenced by angles(), gamma(), and setValue().