OTB  6.7.0
Orfeo Toolbox
Classes | Public Slots | Signals | Public Member Functions | Protected Member Functions | List of all members
mvd::AbstractImageViewManipulator Class Referenceabstract

#include <mvdAbstractImageViewManipulator.h>

+ Inheritance diagram for mvd::AbstractImageViewManipulator:
+ Collaboration diagram for mvd::AbstractImageViewManipulator:

Classes

struct  MouseContext
 
struct  NavigationContext
 

Public Slots

virtual void CenterOn (const PointType &point)=0
 
virtual void ZoomTo (double scale)=0
 

Signals

void CenterRoiRequested (const PointType &center)
 
void RefreshViewRequested ()
 
void RoiChanged (const PointType &origin, const SizeType &size, const SpacingType &spacing, const PointType &center)
 
void ZoomToExtentRequested ()
 
void ZoomToFullResolutionRequested ()
 

Public Member Functions

virtual PointType GetCenter () const =0
 
virtual ZoomType GetFixedZoomType () const =0
 
virtual PointType GetOrigin () const =0
 
virtual SpacingType GetSpacing () const =0
 
virtual SizeType GetViewportSize () const =0
 
virtual void KeyPressEvent (QKeyEvent *event)=0
 
virtual void KeyReleaseEvent (QKeyEvent *event)=0
 
virtual void MouseDoubleClickEvent (QMouseEvent *)
 
virtual void MouseMoveEvent (QMouseEvent *event)=0
 
virtual void MousePressEvent (QMouseEvent *event)=0
 
virtual void MouseReleaseEvent (QMouseEvent *event)=0
 
virtual void ResetViewport ()=0
 
virtual void ResizeEvent (QResizeEvent *event)=0
 
virtual void SetKeywordList (const DefaultImageType::ImageKeywordlistType &kwl)=0
 
virtual void SetNativeSpacing (const SpacingType &spacing)=0
 
virtual void SetOrigin (const PointType &origin)=0
 
virtual void SetSpacing (const SpacingType &spacing)=0
 
virtual void SetupRenderingContext (AbstractImageViewRenderer::RenderingContext *const ) const =0
 
virtual void SetViewportSize (int width, int height)=0
 
virtual void SetWkt (const std::string &wkt)=0
 
virtual const PointTypeTransform (PointType &, const QPoint &) const =0
 
virtual void WheelEvent (QWheelEvent *event)=0
 
virtual void ZoomIn ()=0
 
virtual void ZoomOut ()=0
 
 ~AbstractImageViewManipulator () override
 

Protected Member Functions

 AbstractImageViewManipulator (QObject *p=NULL)
 

Detailed Description

Base class for QWidget manipulation.

Definition at line 78 of file mvdAbstractImageViewManipulator.h.

Constructor & Destructor Documentation

mvd::AbstractImageViewManipulator::~AbstractImageViewManipulator ( )
inlineoverride

Destructor.

Definition at line 93 of file mvdAbstractImageViewManipulator.h.

mvd::AbstractImageViewManipulator::AbstractImageViewManipulator ( QObject *  p = NULL)
inlineprotected

Constructor.

Definition at line 284 of file mvdAbstractImageViewManipulator.h.

Member Function Documentation

virtual void mvd::AbstractImageViewManipulator::CenterOn ( const PointType point)
pure virtualslot
void mvd::AbstractImageViewManipulator::CenterRoiRequested ( const PointType center)
signal
virtual PointType mvd::AbstractImageViewManipulator::GetCenter ( ) const
pure virtual

Implemented in mvd::ImageViewManipulator.

virtual ZoomType mvd::AbstractImageViewManipulator::GetFixedZoomType ( ) const
pure virtual
virtual PointType mvd::AbstractImageViewManipulator::GetOrigin ( ) const
pure virtual

Implemented in mvd::ImageViewManipulator.

virtual SpacingType mvd::AbstractImageViewManipulator::GetSpacing ( ) const
pure virtual

Implemented in mvd::ImageViewManipulator.

virtual SizeType mvd::AbstractImageViewManipulator::GetViewportSize ( ) const
pure virtual

Implemented in mvd::ImageViewManipulator.

virtual void mvd::AbstractImageViewManipulator::KeyPressEvent ( QKeyEvent *  event)
pure virtual
virtual void mvd::AbstractImageViewManipulator::KeyReleaseEvent ( QKeyEvent *  event)
pure virtual
virtual void mvd::AbstractImageViewManipulator::MouseDoubleClickEvent ( QMouseEvent *  )
inlinevirtual
virtual void mvd::AbstractImageViewManipulator::MouseMoveEvent ( QMouseEvent *  event)
pure virtual
virtual void mvd::AbstractImageViewManipulator::MousePressEvent ( QMouseEvent *  event)
pure virtual
virtual void mvd::AbstractImageViewManipulator::MouseReleaseEvent ( QMouseEvent *  event)
pure virtual

Implemented in mvd::ImageViewManipulator.

void mvd::AbstractImageViewManipulator::RefreshViewRequested ( )
signal
virtual void mvd::AbstractImageViewManipulator::ResetViewport ( )
pure virtual

Implemented in mvd::ImageViewManipulator.

virtual void mvd::AbstractImageViewManipulator::ResizeEvent ( QResizeEvent *  event)
pure virtual
void mvd::AbstractImageViewManipulator::RoiChanged ( const PointType origin,
const SizeType size,
const SpacingType spacing,
const PointType center 
)
signal
virtual void mvd::AbstractImageViewManipulator::SetKeywordList ( const DefaultImageType::ImageKeywordlistType kwl)
pure virtual

Implemented in mvd::ImageViewManipulator.

virtual void mvd::AbstractImageViewManipulator::SetNativeSpacing ( const SpacingType spacing)
pure virtual

Implemented in mvd::ImageViewManipulator.

virtual void mvd::AbstractImageViewManipulator::SetOrigin ( const PointType origin)
pure virtual

Implemented in mvd::ImageViewManipulator.

virtual void mvd::AbstractImageViewManipulator::SetSpacing ( const SpacingType spacing)
pure virtual

Implemented in mvd::ImageViewManipulator.

virtual void mvd::AbstractImageViewManipulator::SetupRenderingContext ( AbstractImageViewRenderer::RenderingContext const) const
pure virtual
virtual void mvd::AbstractImageViewManipulator::SetViewportSize ( int  width,
int  height 
)
pure virtual

Implemented in mvd::ImageViewManipulator.

virtual void mvd::AbstractImageViewManipulator::SetWkt ( const std::string &  wkt)
pure virtual

Implemented in mvd::ImageViewManipulator.

virtual const PointType& mvd::AbstractImageViewManipulator::Transform ( PointType ,
const QPoint &   
) const
pure virtual

Implemented in mvd::ImageViewManipulator.

virtual void mvd::AbstractImageViewManipulator::WheelEvent ( QWheelEvent *  event)
pure virtual
virtual void mvd::AbstractImageViewManipulator::ZoomIn ( )
pure virtual

Implemented in mvd::ImageViewManipulator.

virtual void mvd::AbstractImageViewManipulator::ZoomOut ( )
pure virtual

Implemented in mvd::ImageViewManipulator.

virtual void mvd::AbstractImageViewManipulator::ZoomTo ( double  scale)
pure virtualslot
void mvd::AbstractImageViewManipulator::ZoomToExtentRequested ( )
signal
void mvd::AbstractImageViewManipulator::ZoomToFullResolutionRequested ( )
signal

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