OTB  6.7.0
Orfeo Toolbox
Classes | Public Slots | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
mvd::AbstractImageViewRenderer Class Referenceabstract

#include <mvdAbstractImageViewRenderer.h>

+ Inheritance diagram for mvd::AbstractImageViewRenderer:
+ Collaboration diagram for mvd::AbstractImageViewRenderer:

Classes

struct  RenderingContext
 

Public Slots

void ClearScene (bool keepViewport=false)
 
void RefreshScene ()
 
virtual void UpdatePixelInfo (const QPoint &point, const PointType &view, const PixelInfo::Vector &pixels)=0
 
void UpdateScene ()
 

Public Member Functions

virtual bool CheckGLCapabilities (int *)=0
 
virtual bool GetLayerDynamics (const StackedLayerModel::KeyType &key, ParametersType &params, bool isGlobal) const =0
 
virtual void GetLayerExtent (const StackedLayerModel::KeyType &key, PointType &origin, PointType &extent) const =0
 
const StackedLayerModelGetLayerStack () const
 
StackedLayerModelGetLayerStack ()
 
virtual void GetReferenceExtent (PointType &origin, PointType &extent) const =0
 
template<typename T >
const T * GetReferenceModel () const
 
template<typename T >
T * GetReferenceModel ()
 
virtual const AbstractLayerModelGetReferenceModel () const =0
 
virtual AbstractLayerModelGetReferenceModel ()=0
 
virtual void GetResolutions (PixelInfo::Vector &pixels) const =0
 
virtual void GetViewExtent (PointType &origin, PointType &extent) const =0
 
virtual void InitializeGL ()=0
 
bool IsBypassRenderingEnabled () const
 
virtual bool IsEffectsEnabled () const =0
 
bool IsGLSLEnabled () const
 
virtual
AbstractImageViewRenderer::RenderingContext
NewRenderingContext () const =0
 
virtual void PaintGL (RenderingContext const *context)=0
 
virtual void Pick (const PointType &view, PixelInfo::Vector &pixels) const =0
 
virtual void ResizeGL (int width, int height)=0
 
virtual void SaveScreenshot (const QString &) const =0
 
bool SetBypassRenderingEnabled (bool)
 
bool SetGLSLEnabled (bool)
 
void SetLayerStack (StackedLayerModel *)
 
virtual bool TransformToView (PointType &point, const StackedLayerModel::KeyType &, const IndexType &, bool isPhysical) const =0
 
bool ZoomToExtent (PointType &center, SpacingType &spacing) const
 
bool ZoomToFull (const StackedLayerModel::KeyType &key, PointType &center, SpacingType &spacing) const
 
bool ZoomToLayer (const StackedLayerModel::KeyType &key, PointType &center, SpacingType &spacing) const
 
bool ZoomToRegion (const PointType &origin, const PointType &extent, PointType &center, SpacingType &spacing) const
 
 ~AbstractImageViewRenderer () override
 

Protected Member Functions

 AbstractImageViewRenderer (QObject *p=NULL)
 

Private Member Functions

virtual void virtual_ClearScene (bool)
 
virtual void virtual_FinishScene ()
 
virtual void virtual_PrepareScene ()
 
virtual void virtual_RefreshScene ()
 
virtual void virtual_UpdateScene ()
 
virtual bool virtual_ZoomToExtent (PointType &, SpacingType &) const
 
virtual bool virtual_ZoomToFull (const StackedLayerModel::KeyType &, PointType &, SpacingType &) const
 
virtual bool virtual_ZoomToLayer (const StackedLayerModel::KeyType &, PointType &, SpacingType &) const
 
virtual bool virtual_ZoomToRegion (const PointType &, const PointType &, PointType &, SpacingType &) const
 

Private Attributes

bool m_BypassRenderingEnabled: 1
 
bool m_GLSLEnabled: 1
 
StackedLayerModelm_StackedLayerModel
 

Detailed Description

TODO.

Definition at line 79 of file mvdAbstractImageViewRenderer.h.

Constructor & Destructor Documentation

mvd::AbstractImageViewRenderer::~AbstractImageViewRenderer ( )
inlineoverride

Destructor.

Definition at line 126 of file mvdAbstractImageViewRenderer.h.

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

Constructor.

Definition at line 287 of file mvdAbstractImageViewRenderer.h.

Member Function Documentation

virtual bool mvd::AbstractImageViewRenderer::CheckGLCapabilities ( int *  )
pure virtual

Implemented in mvd::ImageViewRenderer.

void mvd::AbstractImageViewRenderer::ClearScene ( bool  keepViewport = false)
inlineslot

Definition at line 484 of file mvdAbstractImageViewRenderer.h.

virtual bool mvd::AbstractImageViewRenderer::GetLayerDynamics ( const StackedLayerModel::KeyType key,
ParametersType params,
bool  isGlobal 
) const
pure virtual

Implemented in mvd::ImageViewRenderer.

virtual void mvd::AbstractImageViewRenderer::GetLayerExtent ( const StackedLayerModel::KeyType key,
PointType origin,
PointType extent 
) const
pure virtual

Implemented in mvd::ImageViewRenderer.

const StackedLayerModel * mvd::AbstractImageViewRenderer::GetLayerStack ( ) const
inline

Definition at line 416 of file mvdAbstractImageViewRenderer.h.

StackedLayerModel * mvd::AbstractImageViewRenderer::GetLayerStack ( )
inline

Definition at line 407 of file mvdAbstractImageViewRenderer.h.

virtual void mvd::AbstractImageViewRenderer::GetReferenceExtent ( PointType origin,
PointType extent 
) const
pure virtual

Implemented in mvd::ImageViewRenderer.

template<typename T >
const T * mvd::AbstractImageViewRenderer::GetReferenceModel ( ) const

Definition at line 389 of file mvdAbstractImageViewRenderer.h.

template<typename T >
T * mvd::AbstractImageViewRenderer::GetReferenceModel ( )

Definition at line 398 of file mvdAbstractImageViewRenderer.h.

virtual const AbstractLayerModel* mvd::AbstractImageViewRenderer::GetReferenceModel ( ) const
pure virtual

Implemented in mvd::ImageViewRenderer.

virtual AbstractLayerModel* mvd::AbstractImageViewRenderer::GetReferenceModel ( )
pure virtual

Implemented in mvd::ImageViewRenderer.

virtual void mvd::AbstractImageViewRenderer::GetResolutions ( PixelInfo::Vector pixels) const
pure virtual

Implemented in mvd::ImageViewRenderer.

virtual void mvd::AbstractImageViewRenderer::GetViewExtent ( PointType origin,
PointType extent 
) const
pure virtual

Implemented in mvd::ImageViewRenderer.

virtual void mvd::AbstractImageViewRenderer::InitializeGL ( )
pure virtual

Implemented in mvd::ImageViewRenderer.

bool mvd::AbstractImageViewRenderer::IsBypassRenderingEnabled ( ) const
inline

Definition at line 440 of file mvdAbstractImageViewRenderer.h.

virtual bool mvd::AbstractImageViewRenderer::IsEffectsEnabled ( ) const
pure virtual

Implemented in mvd::ImageViewRenderer.

bool mvd::AbstractImageViewRenderer::IsGLSLEnabled ( ) const
inline

Definition at line 462 of file mvdAbstractImageViewRenderer.h.

virtual AbstractImageViewRenderer::RenderingContext* mvd::AbstractImageViewRenderer::NewRenderingContext ( ) const
pure virtual
virtual void mvd::AbstractImageViewRenderer::PaintGL ( RenderingContext const *  context)
pure virtual

Implemented in mvd::ImageViewRenderer.

virtual void mvd::AbstractImageViewRenderer::Pick ( const PointType view,
PixelInfo::Vector pixels 
) const
pure virtual

Implemented in mvd::ImageViewRenderer.

void mvd::AbstractImageViewRenderer::RefreshScene ( )
inlineslot

Definition at line 506 of file mvdAbstractImageViewRenderer.h.

virtual void mvd::AbstractImageViewRenderer::ResizeGL ( int  width,
int  height 
)
pure virtual

Implemented in mvd::ImageViewRenderer.

virtual void mvd::AbstractImageViewRenderer::SaveScreenshot ( const QString &  ) const
pure virtual

Implemented in mvd::ImageViewRenderer.

bool mvd::AbstractImageViewRenderer::SetBypassRenderingEnabled ( bool  isEnabled)
inline

Definition at line 449 of file mvdAbstractImageViewRenderer.h.

bool mvd::AbstractImageViewRenderer::SetGLSLEnabled ( bool  isEnabled)
inline

Definition at line 471 of file mvdAbstractImageViewRenderer.h.

void mvd::AbstractImageViewRenderer::SetLayerStack ( StackedLayerModel stackedLayerModel)
inline

Definition at line 425 of file mvdAbstractImageViewRenderer.h.

virtual bool mvd::AbstractImageViewRenderer::TransformToView ( PointType point,
const StackedLayerModel::KeyType ,
const IndexType ,
bool  isPhysical 
) const
pure virtual

Implemented in mvd::ImageViewRenderer.

virtual void mvd::AbstractImageViewRenderer::UpdatePixelInfo ( const QPoint &  point,
const PointType view,
const PixelInfo::Vector pixels 
)
pure virtualslot
void mvd::AbstractImageViewRenderer::UpdateScene ( )
inlineslot

Definition at line 493 of file mvdAbstractImageViewRenderer.h.

virtual void mvd::AbstractImageViewRenderer::virtual_ClearScene ( bool  )
inlineprivatevirtual

Reimplemented in mvd::ImageViewRenderer.

Definition at line 306 of file mvdAbstractImageViewRenderer.h.

virtual void mvd::AbstractImageViewRenderer::virtual_FinishScene ( )
inlineprivatevirtual

Reimplemented in mvd::QuicklookViewRenderer.

Definition at line 326 of file mvdAbstractImageViewRenderer.h.

virtual void mvd::AbstractImageViewRenderer::virtual_PrepareScene ( )
inlineprivatevirtual

Definition at line 310 of file mvdAbstractImageViewRenderer.h.

virtual void mvd::AbstractImageViewRenderer::virtual_RefreshScene ( )
inlineprivatevirtual

Reimplemented in mvd::ImageViewRenderer.

Definition at line 318 of file mvdAbstractImageViewRenderer.h.

virtual void mvd::AbstractImageViewRenderer::virtual_UpdateScene ( )
inlineprivatevirtual

Reimplemented in mvd::ImageViewRenderer.

Definition at line 314 of file mvdAbstractImageViewRenderer.h.

virtual bool mvd::AbstractImageViewRenderer::virtual_ZoomToExtent ( PointType ,
SpacingType  
) const
inlineprivatevirtual

Reimplemented in mvd::ImageViewRenderer.

Definition at line 338 of file mvdAbstractImageViewRenderer.h.

virtual bool mvd::AbstractImageViewRenderer::virtual_ZoomToFull ( const StackedLayerModel::KeyType ,
PointType ,
SpacingType  
) const
inlineprivatevirtual

Reimplemented in mvd::ImageViewRenderer.

Definition at line 350 of file mvdAbstractImageViewRenderer.h.

virtual bool mvd::AbstractImageViewRenderer::virtual_ZoomToLayer ( const StackedLayerModel::KeyType ,
PointType ,
SpacingType  
) const
inlineprivatevirtual

Reimplemented in mvd::ImageViewRenderer.

Definition at line 343 of file mvdAbstractImageViewRenderer.h.

virtual bool mvd::AbstractImageViewRenderer::virtual_ZoomToRegion ( const PointType ,
const PointType ,
PointType ,
SpacingType  
) const
inlineprivatevirtual

Reimplemented in mvd::ImageViewRenderer.

Definition at line 330 of file mvdAbstractImageViewRenderer.h.

bool mvd::AbstractImageViewRenderer::ZoomToExtent ( PointType center,
SpacingType spacing 
) const
inline

Definition at line 515 of file mvdAbstractImageViewRenderer.h.

bool mvd::AbstractImageViewRenderer::ZoomToFull ( const StackedLayerModel::KeyType key,
PointType center,
SpacingType spacing 
) const
inline

Definition at line 547 of file mvdAbstractImageViewRenderer.h.

bool mvd::AbstractImageViewRenderer::ZoomToLayer ( const StackedLayerModel::KeyType key,
PointType center,
SpacingType spacing 
) const
inline

Definition at line 524 of file mvdAbstractImageViewRenderer.h.

bool mvd::AbstractImageViewRenderer::ZoomToRegion ( const PointType origin,
const PointType extent,
PointType center,
SpacingType spacing 
) const
inline

Definition at line 535 of file mvdAbstractImageViewRenderer.h.

Member Data Documentation

bool mvd::AbstractImageViewRenderer::m_BypassRenderingEnabled
private

Definition at line 364 of file mvdAbstractImageViewRenderer.h.

bool mvd::AbstractImageViewRenderer::m_GLSLEnabled
private

Definition at line 368 of file mvdAbstractImageViewRenderer.h.

StackedLayerModel* mvd::AbstractImageViewRenderer::m_StackedLayerModel
private

Definition at line 360 of file mvdAbstractImageViewRenderer.h.


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