BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Public Member Functions | |
Object (GeometricID::Key) | |
virtual | ~Object () |
void | addExtrinsicRotation (Vector3D turn, Vector3D scale, Vector3D &rotate, Vector3D rotateExtrinsic, Vector3D &translate) |
void | transform (float scale, Vector3D rotate, Vector3D translate) |
void | transform (Vector3D scale, QQuaternion, Vector3D translate) |
void | transform (Vector3D scale, Vector3D rotate, Vector3D translate) |
void | transform (Vector3D turn, Vector3D scale, Vector3D rotate, Vector3D translate) |
Public Attributes | |
QColor | color |
Protected Attributes | |
bool | isNull |
Private Member Functions | |
void | draw (Canvas &) |
void | releaseGeometry () |
Private Attributes | |
GeometryHandle | geo |
GeometricID::Key | gky |
QMatrix4x4 | mat |
Model * | model |
Friends | |
class | Model |
GUI::RealSpace::Object::Object | ( | GeometricID::Key | gky_ | ) |
Definition at line 36 of file object.cpp.
|
virtual |
Definition at line 44 of file object.cpp.
References model, releaseGeometry(), and GUI::RealSpace::Model::rem().
void GUI::RealSpace::Object::addExtrinsicRotation | ( | Vector3D | turn, |
Vector3D | scale, | ||
Vector3D & | rotate, | ||
Vector3D | rotateExtrinsic, | ||
Vector3D & | translate | ||
) |
Definition at line 79 of file object.cpp.
References mat.
Referenced by GUI::RealSpace::Particles::Particle::addExtrinsicRotation().
|
private |
Definition at line 102 of file object.cpp.
References color, GUI::RealSpace::Canvas::draw(), geo, GUI::RealSpace::geometryStore(), GUI::RealSpace::GeometryStore::getGeometry(), gky, isNull, and mat.
|
private |
Definition at line 97 of file object.cpp.
References geo.
Referenced by ~Object(), and GUI::RealSpace::Model::rem().
Definition at line 51 of file object.cpp.
Referenced by GUI::RealSpace::Layer::Layer(), GUI::RealSpace::Particles::Particle::addTransform(), GUI::RealSpace::Particles::Particle::addTranslation(), GUI::RealSpace::Particles::Particle::fancy(), and GUI::RealSpace::Particles::Particle::transform().
void GUI::RealSpace::Object::transform | ( | Vector3D | turn, |
Vector3D | scale, | ||
Vector3D | rotate, | ||
Vector3D | translate | ||
) |
QColor GUI::RealSpace::Object::color |
Definition at line 35 of file object.h.
Referenced by GUI::RealSpace::BuilderUtils::applyParticleColor(), and draw().
|
private |
Definition at line 52 of file object.h.
Referenced by draw(), and releaseGeometry().
|
private |
|
protected |
Definition at line 46 of file object.h.
Referenced by GUI::RealSpace::Particles::BarGauss::BarGauss(), GUI::RealSpace::Particles::BarLorentz::BarLorentz(), GUI::RealSpace::Particles::Bipyramid4::Bipyramid4(), GUI::RealSpace::Particles::Box::Box(), GUI::RealSpace::Particles::CantellatedCube::CantellatedCube(), GUI::RealSpace::Particles::Cone::Cone(), GUI::RealSpace::Particles::CosineRippleBox::CosineRippleBox(), GUI::RealSpace::Particles::CosineRippleGauss::CosineRippleGauss(), GUI::RealSpace::Particles::CosineRippleLorentz::CosineRippleLorentz(), GUI::RealSpace::Particles::Cylinder::Cylinder(), GUI::RealSpace::Particles::Dodecahedron::Dodecahedron(), GUI::RealSpace::Particles::EllipsoidalCylinder::EllipsoidalCylinder(), GUI::RealSpace::Particles::HemiEllipsoid::HemiEllipsoid(), GUI::RealSpace::Particles::HorizontalCylinder::HorizontalCylinder(), GUI::RealSpace::Particles::Icosahedron::Icosahedron(), GUI::RealSpace::Particles::PlatonicOctahedron::PlatonicOctahedron(), GUI::RealSpace::Particles::PlatonicTetrahedron::PlatonicTetrahedron(), GUI::RealSpace::Particles::Prism3::Prism3(), GUI::RealSpace::Particles::Prism6::Prism6(), GUI::RealSpace::Particles::Pyramid2::Pyramid2(), GUI::RealSpace::Particles::Pyramid3::Pyramid3(), GUI::RealSpace::Particles::Pyramid4::Pyramid4(), GUI::RealSpace::Particles::Pyramid6::Pyramid6(), GUI::RealSpace::Particles::SawtoothRippleBox::SawtoothRippleBox(), GUI::RealSpace::Particles::SawtoothRippleGauss::SawtoothRippleGauss(), GUI::RealSpace::Particles::SawtoothRippleLorentz::SawtoothRippleLorentz(), GUI::RealSpace::Particles::Sphere::Sphere(), GUI::RealSpace::Particles::Spheroid::Spheroid(), GUI::RealSpace::Particles::TruncatedCube::TruncatedCube(), GUI::RealSpace::Particles::TruncatedSphere::TruncatedSphere(), GUI::RealSpace::Particles::TruncatedSpheroid::TruncatedSpheroid(), and draw().
|
private |
Definition at line 55 of file object.h.
Referenced by addExtrinsicRotation(), draw(), and transform().
|
private |
Definition at line 49 of file object.h.
Referenced by ~Object(), GUI::RealSpace::Model::add(), GUI::RealSpace::Model::addBlend(), and GUI::RealSpace::Model::rem().