BornAgain  1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
RotationItem Class Referenceabstract

Description

Definition at line 27 of file RotationItems.h.

Inheritance diagram for RotationItem:
[legend]

Public Member Functions

virtual ~RotationItem ()=default
 
RotMatrix rotation () const
 
virtual DoubleDescriptors rotationValues () const =0
 
virtual void serialize (Streamer &s)=0
 

Protected Member Functions

 RotationItem ()
 
virtual unique_ptr< IRotation > createRotation () const =0
 

Constructor & Destructor Documentation

◆ ~RotationItem()

virtual RotationItem::~RotationItem ( )
virtualdefault

◆ RotationItem()

RotationItem::RotationItem ( )
protected

Definition at line 25 of file RotationItems.cpp.

25 {}

Member Function Documentation

◆ createRotation()

virtual unique_ptr<IRotation> RotationItem::createRotation ( ) const
protectedpure virtual

◆ rotation()

RotMatrix RotationItem::rotation ( ) const

Definition at line 27 of file RotationItems.cpp.

28 {
29  auto p = createRotation();
30  return (p != nullptr) ? p->rotMatrix() : RotMatrix();
31 }
virtual unique_ptr< IRotation > createRotation() const =0

Referenced by ItemWithParticles::createRotation().

◆ rotationValues()

virtual DoubleDescriptors RotationItem::rotationValues ( ) const
pure virtual

◆ serialize()

virtual void RotationItem::serialize ( Streamer s)
pure virtual

The documentation for this class was generated from the following files: