NCBI C++ ToolKit
Public Types | Public Member Functions | List of all members
IMinimapHandlerHost Class Referenceabstract

Search Toolkit Book for IMinimapHandlerHost

Interface IMinimapHandlerHost represents a context in which CMinimapHandler functions. More...

#include <gui/widgets/gl/minimap_handler.hpp>

+ Inheritance diagram for IMinimapHandlerHost:

Public Types

enum  EMMScaleType { eMin , eCurrent , eMax }
 

Public Member Functions

virtual void MMHH_Scroll (TModelUnit d_x, TModelUnit d_y)=0
 
virtual TModelUnit MMHH_GetScale (EMMScaleType type)=0
 
virtual void MMHH_EndOp ()=0
 
virtual TVPUnit MMHH_GetVPPosByY (int y) const =0
 converts window coord to Viewport coord More...
 
virtual I3DTextureMMHH_GetTexture (float &, float &)
 gets a texture and its coordinate limits for the minmap More...
 
virtual ~IMinimapHandlerHost ()
 

Detailed Description

Interface IMinimapHandlerHost represents a context in which CMinimapHandler functions.

Definition at line 52 of file minimap_handler.hpp.

Member Enumeration Documentation

◆ EMMScaleType

Enumerator
eMin 
eCurrent 

minimal scale

eMax 

current scale

maximal scale

Definition at line 55 of file minimap_handler.hpp.

Constructor & Destructor Documentation

◆ ~IMinimapHandlerHost()

virtual IMinimapHandlerHost::~IMinimapHandlerHost ( )
inlinevirtual

Definition at line 74 of file minimap_handler.hpp.

Member Function Documentation

◆ MMHH_EndOp()

virtual void IMinimapHandlerHost::MMHH_EndOp ( )
pure virtual

Implemented in CPhyloTreePane.

Referenced by CMinimapHandler::x_OnEndMinimap().

◆ MMHH_GetScale()

virtual TModelUnit IMinimapHandlerHost::MMHH_GetScale ( EMMScaleType  type)
pure virtual

◆ MMHH_GetTexture()

virtual I3DTexture* IMinimapHandlerHost::MMHH_GetTexture ( float &  ,
float &   
)
inlinevirtual

gets a texture and its coordinate limits for the minmap

Reimplemented in CPhyloTreePane.

Definition at line 71 of file minimap_handler.hpp.

References NULL.

Referenced by CMinimapHandler::Render().

◆ MMHH_GetVPPosByY()

virtual TVPUnit IMinimapHandlerHost::MMHH_GetVPPosByY ( int  y) const
pure virtual

converts window coord to Viewport coord

Implemented in CPhyloTreePane.

Referenced by CMinimapHandler::x_OnChangePan(), CMinimapHandler::x_RenderMinimap(), and CMinimapHandler::x_SwithToActiveState().

◆ MMHH_Scroll()

virtual void IMinimapHandlerHost::MMHH_Scroll ( TModelUnit  d_x,
TModelUnit  d_y 
)
pure virtual

The documentation for this class was generated from the following file:
Modified on Tue May 21 11:00:15 2024 by modify_doxy.py rev. 669887