BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Definition at line 48 of file ISceneAdaptor.h.
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 |
|
default |
|
inlineoverridevirtual |
convert scene x-coordinate to native mask coordinate
Implements ISceneAdaptor.
Definition at line 54 of file ISceneAdaptor.h.
|
inlineoverridevirtual |
convert scene y-coordinate to native mask coordinate
Implements ISceneAdaptor.
Definition at line 55 of file ISceneAdaptor.h.
|
inlineoverridevirtual |
convert native mask x-coordinate to scene coordinate
Implements ISceneAdaptor.
Definition at line 52 of file ISceneAdaptor.h.
|
inlineoverridevirtual |
convert native mask y-coordinate to scene coordinate
Implements ISceneAdaptor.
Definition at line 53 of file ISceneAdaptor.h.
|
signalinherited |
Referenced by ColorMapSceneAdaptor::eventFilter(), and IShape2DView::setSceneAdaptor().
|
inlinevirtualinherited |
Returns viewport rectangle in scene coordinates.
Reimplemented in ColorMapSceneAdaptor.
Definition at line 39 of file ISceneAdaptor.h.
References ISceneAdaptor::m_viewport_rectangle.
Referenced by RegionOfInterestView::boundingRect(), VerticalLineView::update_view(), HorizontalLineView::update_view(), MaskAllView::update_view(), MaskContainerView::update_view(), and RegionOfInterestView::update_view().
|
protectedinherited |
Definition at line 45 of file ISceneAdaptor.h.
Referenced by ColorMapSceneAdaptor::eventFilter(), ISceneAdaptor::viewportRectangle(), and ColorMapSceneAdaptor::viewportRectangle().