BornAgain
1.19.0
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 |
RealSpace::Object::Object | ( | GeometricID::Key | gky_ | ) |
Definition at line 34 of file object.cpp.
|
virtual |
Definition at line 38 of file object.cpp.
References model, releaseGeometry(), and RealSpace::Model::rem().
void RealSpace::Object::addExtrinsicRotation | ( | Vector3D | turn, |
Vector3D | scale, | ||
Vector3D & | rotate, | ||
Vector3D | rotateExtrinsic, | ||
Vector3D & | translate | ||
) |
Definition at line 73 of file object.cpp.
References mat.
Referenced by RealSpace::Particles::Particle::addExtrinsicRotation().
|
private |
Definition at line 96 of file object.cpp.
References color, RealSpace::Canvas::draw(), geo, RealSpace::geometryStore(), RealSpace::GeometryStore::getGeometry(), gky, isNull, and mat.
|
private |
Definition at line 91 of file object.cpp.
References geo.
Referenced by ~Object(), and RealSpace::Model::rem().
Definition at line 45 of file object.cpp.
Referenced by RealSpace::Layer::Layer(), RealSpace::Particles::Particle::addTransform(), RealSpace::Particles::Particle::addTranslation(), RealSpace::Particles::Particle::fancy(), and RealSpace::Particles::Particle::transform().
void RealSpace::Object::transform | ( | Vector3D | turn, |
Vector3D | scale, | ||
Vector3D | rotate, | ||
Vector3D | translate | ||
) |
QColor RealSpace::Object::color |
Definition at line 34 of file object.h.
Referenced by RealSpaceBuilderUtils::applyParticleColor(), and draw().
|
private |
Definition at line 51 of file object.h.
Referenced by draw(), and releaseGeometry().
|
private |
|
protected |
Definition at line 45 of file object.h.
Referenced by RealSpace::Particles::AnisoPyramid::AnisoPyramid(), RealSpace::Particles::BarGauss::BarGauss(), RealSpace::Particles::BarLorentz::BarLorentz(), RealSpace::Particles::Box::Box(), RealSpace::Particles::Cone::Cone(), RealSpace::Particles::Cone6::Cone6(), RealSpace::Particles::CosineRippleBox::CosineRippleBox(), RealSpace::Particles::CosineRippleGauss::CosineRippleGauss(), RealSpace::Particles::CosineRippleLorentz::CosineRippleLorentz(), RealSpace::Particles::Cuboctahedron::Cuboctahedron(), RealSpace::Particles::Cylinder::Cylinder(), RealSpace::Particles::Dodecahedron::Dodecahedron(), RealSpace::Particles::EllipsoidalCylinder::EllipsoidalCylinder(), RealSpace::Particles::FullSphere::FullSphere(), RealSpace::Particles::FullSpheroid::FullSpheroid(), RealSpace::Particles::HemiEllipsoid::HemiEllipsoid(), RealSpace::Particles::Icosahedron::Icosahedron(), RealSpace::Particles::Prism3::Prism3(), RealSpace::Particles::Prism6::Prism6(), RealSpace::Particles::Pyramid::Pyramid(), RealSpace::Particles::SawtoothRippleBox::SawtoothRippleBox(), RealSpace::Particles::SawtoothRippleGauss::SawtoothRippleGauss(), RealSpace::Particles::SawtoothRippleLorentz::SawtoothRippleLorentz(), RealSpace::Particles::Tetrahedron::Tetrahedron(), RealSpace::Particles::TruncatedCube::TruncatedCube(), RealSpace::Particles::TruncatedSphere::TruncatedSphere(), RealSpace::Particles::TruncatedSpheroid::TruncatedSpheroid(), and draw().
|
private |
Definition at line 54 of file object.h.
Referenced by addExtrinsicRotation(), draw(), and transform().
|
private |
Definition at line 48 of file object.h.
Referenced by ~Object(), RealSpace::Model::add(), RealSpace::Model::addBlend(), and RealSpace::Model::rem().