BornAgain  1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
DefaultSceneAdaptor Class Reference

Description

Definition at line 48 of file ISceneAdaptor.h.

Inheritance diagram for DefaultSceneAdaptor:
[legend]
Collaboration diagram for DefaultSceneAdaptor:
[legend]

Signals

void update_request ()
 

Public Member Functions

 DefaultSceneAdaptor ()=default
 
qreal fromSceneX (qreal value) const override
 convert scene x-coordinate to native mask coordinate More...
 
qreal fromSceneY (qreal value) const override
 convert scene y-coordinate to native mask coordinate More...
 
qreal toSceneX (qreal value) const override
 convert native mask x-coordinate to scene coordinate More...
 
qreal toSceneY (qreal value) const override
 convert native mask y-coordinate to scene coordinate More...
 
virtual const QRectF & viewportRectangle () const
 Returns viewport rectangle in scene coordinates. More...
 

Protected Attributes

QRectF m_viewport_rectangle
 

Constructor & Destructor Documentation

◆ DefaultSceneAdaptor()

DefaultSceneAdaptor::DefaultSceneAdaptor ( )
default

Member Function Documentation

◆ fromSceneX()

qreal DefaultSceneAdaptor::fromSceneX ( qreal  ) const
inlineoverridevirtual

convert scene x-coordinate to native mask coordinate

Implements ISceneAdaptor.

Definition at line 54 of file ISceneAdaptor.h.

54 { return value; }

◆ fromSceneY()

qreal DefaultSceneAdaptor::fromSceneY ( qreal  ) const
inlineoverridevirtual

convert scene y-coordinate to native mask coordinate

Implements ISceneAdaptor.

Definition at line 55 of file ISceneAdaptor.h.

55 { return value; }

◆ toSceneX()

qreal DefaultSceneAdaptor::toSceneX ( qreal  ) const
inlineoverridevirtual

convert native mask x-coordinate to scene coordinate

Implements ISceneAdaptor.

Definition at line 52 of file ISceneAdaptor.h.

52 { return value; }

◆ toSceneY()

qreal DefaultSceneAdaptor::toSceneY ( qreal  ) const
inlineoverridevirtual

convert native mask y-coordinate to scene coordinate

Implements ISceneAdaptor.

Definition at line 53 of file ISceneAdaptor.h.

53 { return value; }

◆ update_request

void ISceneAdaptor::update_request ( )
signalinherited

◆ viewportRectangle()

virtual const QRectF& ISceneAdaptor::viewportRectangle ( ) const
inlinevirtualinherited

Member Data Documentation

◆ m_viewport_rectangle

QRectF ISceneAdaptor::m_viewport_rectangle
protectedinherited

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