NCBI C++ ToolKit
Classes | Public Types | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
CPhyloTreePane Class Reference

Search Toolkit Book for CPhyloTreePane

class CPhyloTreePane More...

#include <gui/widgets/phylo_tree/phylo_tree_pane.hpp>

+ Inheritance diagram for CPhyloTreePane:
+ Collaboration diagram for CPhyloTreePane:

Classes

struct  TreeNavHistory
 

Public Types

typedef CLinearSelHandler::TRangeColl TRangeColl
 
typedef vector< CRef< IPhyloTreeRender > > TRenderers
 
- Public Types inherited from CEventHandler
enum  EDispatch { eDispatch_SelfOnly , eDispatch_AllHandlers , eDispatch_FirstHandler , eDispatch_Default = eDispatch_AllHandlers }
 enum controlling dispatching strategies More...
 
enum  EPoolName {
  ePool_Default = 0 , ePool_Parent , ePool_Child , ePool_Sibling ,
  ePool_NextAvailable
}
 Identifiers for standard pools. More...
 
typedef vector< CEventHandler * > TListeners
 
typedef map< int, TListenersTPools
 
typedef list< AutoPtr< SPostRequest > > TPostRequests
 
typedef std::map< CEventHandler *, intTHandlerToCount
 
typedef void(* FOnPostCallback) ()
 
- Public Types inherited from IMouseZoomHandlerHost
enum  EScaleType { eMin , eCurrent , eMax }
 
- Public Types inherited from IMinimapHandlerHost
enum  EMMScaleType { eMin , eCurrent , eMax }
 

Public Member Functions

 CPhyloTreePane (CPhyloTreeWidget *parent)
 
virtual TVPPoint GetPortSize (void)
 returns size of the master pane in screen coordinates More...
 
TRenderersGetRenderers (void)
 
int GetCurrRendererIdx (void)
 
IPhyloTreeRenderGetCurrRenderer (void)
 
CGlPaneGetPane ()
 
void UpdatePane (const TModelRect &r)
 
void EditCurrentNode ()
 
void SetCurrRendererIdx (int idx)
 
void AddRenderer (CRef< IPhyloTreeRender > &&renderer)
 
void SetupHardcopyRender ()
 
void RenderHardcopy ()
 
void RenderPdf (CRef< CPdf > pdf, bool render_tooltips)
 
void BufferedRender ()
 
void RemoveCurrentDataSource ()
 
void UpdateDataSource ()
 
void OnSize (wxSizeEvent &event)
 
void OnLeftDown (wxMouseEvent &evt)
 
virtual void SetContext (void)
 
virtual void Update (void)
 
virtual void SoftUpdate (void)
 
const TRangeCollGetSubjectSelection () const
 
const TRangeCollGetQuerySelection () const
 
void SaveCurrentView ()
 Record current zoom/pan so that user can undo/redo navigation. More...
 
bool CanGoBack () const
 Return true if there are previous view positions you can nav back to. More...
 
bool CanGoForward () const
 Return true if there are saved view positions you can nav forward to. More...
 
void GoBack ()
 move to view position prior to most recent zoom/pan More...
 
void GoForward ()
 return to view position that you just left through 'GoBack()' More...
 
virtual void HMGH_OnChanged (void)
 a topology or selection (color) change (requires update to buffers More...
 
virtual void HMGH_OnRefresh (void)
 a chnage that requires a redraw but no GL buffer updates More...
 
virtual void HMGH_UpdateLimits (bool force_redraw=false)
 
virtual TVPUnit HMGH_GetVPPosByY (int y) const
 
virtual void FireCBEvent (void)
 
virtual void FireEditEvent (EPhyloTreeEditCommand ec)
 
IMouseZoomHandlerHost implementation
virtual TModelUnit MZHH_GetScale (IMouseZoomHandlerHost::EScaleType type)
 IAlnMarkHandlerHost implementation. More...
 
virtual void MZHH_SetScale (TModelUnit scale, const TModelPoint &point)
 
virtual void MZHH_ZoomRect (const TModelRect &rc)
 
virtual void MZHH_ZoomPoint (const TModelPoint &point, TModelUnit factor)
 
virtual void MZHH_Scroll (TModelUnit d_x, TModelUnit d_y)
 
virtual void MZHH_EndOp ()
 
virtual TVPUnit MZHH_GetVPPosByY (int y) const
 converts window coord to Viewport coord More...
 
IMinimapHandlerHost implementation
virtual TModelUnit MMHH_GetScale (IMinimapHandlerHost::EMMScaleType type)
 
virtual void MMHH_Scroll (TModelUnit d_x, TModelUnit d_y)
 
virtual void MMHH_EndOp ()
 
virtual TVPUnit MMHH_GetVPPosByY (int y) const
 converts window coord to Viewport coord More...
 
virtual I3DTextureMMHH_GetTexture (float &xcoord_limit, float &ycoord_limit)
 gets a texture and its coordinate limits for the minmap More...
 
ISelHandlerHost implementation
virtual void SHH_OnChanged ()
 ISelHandlerHost implementation. More...
 
virtual TModelUnit SHH_GetModelByWindow (int z, EOrientation orient)
 
virtual TVPUnit SHH_GetWindowByModel (TModelUnit z, EOrientation orient)
 
virtual void SHH_SetCursor (const wxCursor &cursor)
 
ITooltipClient implementation
virtual string TTHH_NeedTooltip (const wxPoint &pt)
 Return id of the underlying element to dispaly a tooltip, otherwise "". More...
 
virtual CTooltipInfo TTHH_GetTooltip (const wxRect &rect)
 Return the contents to be displayed in the tool tip. More...
 
- Public Member Functions inherited from CGlWidgetPane
 CGlWidgetPane (wxWindow *parent, wxWindowID id, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=0)
 
virtual ~CGlWidgetPane ()
 
void SetPopupMenuDisplayed (bool b)
 
bool GetPopupMenuDisplayed () const
 
void DlgOverlayFix ()
 
void CheckOverlayTimer ()
 
virtual void GHH_Redraw ()
 redraws the Host and the handler More...
 
virtual void GHH_SetCursor (const wxCursor &cursor)
 changes the cursor in the hosting window More...
 
virtual void GHH_CaptureMouse ()
 captures mouse events in the hosting window for D&D More...
 
virtual void GHH_ReleaseMouse ()
 releases captured mouse More...
 
virtual bool TC_NeedTooltip (const wxPoint &pt)
 Returns "true" if client wants to dispaly a tooltip. More...
 
virtual string TC_GetTooltip (const wxRect &rect)
 Returns tooltip string and coordinates for area tootlip associated with. More...
 
virtual wxWindow * TC_GetWindow ()
 Returns pointer to the widget hosting ITooltipClient. More...
 
virtual wxWindow * TTHH_GetWindow ()
 Return the pointer to the underlying window. More...
 
virtual bool TTHH_PopupMenuDisplayed ()
 Return true if underlying window is currently displaying a popup menu. More...
 
void OnEnterWindow (wxMouseEvent &event)
 
void OnTimer (wxTimerEvent &event)
 
void OnMouseDown (wxMouseEvent &event)
 
void OnMouseUp (wxMouseEvent &event)
 
void OnMotion (wxMouseEvent &event)
 
void OnMouseWheel (wxMouseEvent &event)
 
void OnMouseCaptureLost (wxMouseCaptureLostEvent &event)
 
void OnLeaveWindow (wxMouseEvent &event)
 
void OnKeyEvent (wxKeyEvent &event)
 
void OnSetFocus (wxFocusEvent &event)
 
void OnKillFocus (wxFocusEvent &event)
 
void OnSize (wxSizeEvent &event)
 
void OnCmdEvent (wxCommandEvent &event)
 
void OnTipRemoved (wxCommandEvent &event)
 
- Public Member Functions inherited from CGLCanvas
 CGLCanvas (wxWindow *parent, wxWindowID id, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=0)
 
virtual ~CGLCanvas ()
 
void OnPaint (wxPaintEvent &event)
 
void DoNotUpdate ()
 
void SetClearColor (float r, float g, float b, float a)
 
- Public Member Functions inherited from IGenericHandlerHost
virtual ~IGenericHandlerHost ()
 
- Public Member Functions inherited from ITooltipHandlerHost
virtual ~ITooltipHandlerHost ()
 
- Public Member Functions inherited from IStickyTooltipHandlerHost
 IStickyTooltipHandlerHost ()
 
virtual ~IStickyTooltipHandlerHost ()
 
void TTHH_Init ()
 Init calls virtual functions so can't be called from ctor. More...
 
virtual bool TTHH_ProcessURL (const wxString &)
 Return true if the specified URL has been processed. Used for custom commands. More...
 
std::vector< TipLocationGetDisplayedTips ()
 Return id and position information for currently displayed tips. More...
 
void SetServiceLocator (IServiceLocator *s)
 Set service locator so we can find other views and adjust z order. More...
 
- Public Member Functions inherited from CEventHandler
 CEventHandler ()
 CEventHandler. More...
 
virtual ~CEventHandler ()
 
virtual void AddListener (CEventHandler *listener, int pool_name=ePool_Default)
 Add a listener. More...
 
virtual void RemoveListener (CEventHandler *listener)
 Remove a listener. More...
 
virtual void RemoveAllListeners (void)
 
virtual bool HasListener (CEventHandler *listener, int pool_name=ePool_Default) const
 returns "true" if the given listener belongs to the specified pool More...
 
virtual const TListenersGetListeners (int pool_name=ePool_Default) const
 returns a set of listeners fro the specified pool More...
 
virtual bool OnEvent (CEvent *evt)
 Processes en event. Returns "true" if event has been processed. More...
 
virtual bool Dispatch (CEvent *evt, EDispatch disp_how=eDispatch_Default, int pool_name=ePool_Default)
 Dispatches an event to the listeners (but does not handle it). More...
 
virtual bool Send (CEvent *evt, EDispatch disp_how=eDispatch_Default, int pool_name=ePool_Default)
 Sends an event synchronously. More...
 
virtual bool Send (CEvent *evt, int pool_name)
 
void Post (CRef< CEvent > evt, EDispatch disp_how=eDispatch_Default, int pool_name=ePool_Default)
 Handles an event asynchronously (process and/or dispatch). More...
 
- Public Member Functions inherited from IMouseZoomHandlerHost
virtual ~IMouseZoomHandlerHost ()
 
- Public Member Functions inherited from IMinimapHandlerHost
virtual ~IMinimapHandlerHost ()
 
- Public Member Functions inherited from ISelHandlerHost
virtual ~ISelHandlerHost ()
 
- Public Member Functions inherited from IPhyloTreeRenderHost
virtual ~IPhyloTreeRenderHost ()
 

Protected Types

enum  EHandlerArea {
  fMatrixArea = 0x1 , fSubjectArea = 0x2 , fQueryArea = 0x4 , fOther = 0x80000000 ,
  fAllAreas = fMatrixArea | fSubjectArea | fQueryArea | fOther
}
 
- Protected Types inherited from CGlWidgetPane
typedef list< SHandlerRecTHandlerRecList
 

Protected Member Functions

void x_SetupAxes ()
 
virtual void x_Render (void)
 CGlWidgetPane overridables. More...
 
virtual void x_OnShowPopup ()
 
virtual bool x_GrabFocus ()
 
CPhyloTreeWidgetx_GetWidget () const
 
void x_Layout (void)
 
void x_RenderMouseZoomHandler (CGlPane &pane)
 
void x_AdjustToMasterPane (CGlPane &pane, bool b_model_x, bool b_model_y)
 adjusts limits and visible rect of the given pane to the master pane More...
 
virtual int x_GetAreaByVPPos (TVPUnit vp_x, TVPUnit vp_y)
 
- Protected Member Functions inherited from CGlWidgetPane
virtual int x_GetAreaByWindowPos (const wxPoint &pos)
 
bool x_RegisterHandler (IGlEventHandler *handler, int area, CGlPane *pane, int index=-1)
 
bool x_UnregisterHandler (IGlEventHandler *handler)
 
void x_SetCurrHandler (SHandlerRec *rec)
 
bool x_Handlers_handle (wxEvent &event, int area, bool ignore_curr=true)
 
bool x_DispatchEventToHandler (wxEvent &event, SHandlerRec *rec)
 
void x_HandleAccels (wxKeyEvent &event)
 
- Protected Member Functions inherited from CGLCanvas
void x_SetupGLContext ()
 
void x_CheckGlVersion ()
 
const wxGLAttributes & x_GetAttribList () const
 Not having all programs share the same window attributes has caused crashing on Linux, so each window will use these attributes (this should be the superset of attributes needed by program windows). More...
 
- Protected Member Functions inherited from IStickyTooltipHandlerHost
void x_SetCurrentTips (std::vector< TipLocation > &tips)
 Sets information on current tips that can be queried by the user. More...
 
wxFrame * GetUnderlyingFrame ()
 Return the undering wxFrame parent for a wxWindow object. More...
 
bool IsFloatingWindow ()
 Return true if the hosting window is ultimately enclosed in a CFloatingFrame class (meaning its in a floating window) More...
 
void RaiseOverlappingWindows (wxRect r)
 If the tip window is docked in the main window (not a CFloatingFrame) this raises all the CFloatingFrame windows to make sure none of them are overlapped by tooltips. More...
 
bool IsDragging ()
 Retruns true if Any window is currently being dragged. More...
 
void InitWindowGroup (int dock_count=0)
 Mac only - create or return window group for this window. More...
 
- Protected Member Functions inherited from CEventHandler
virtual const SEvtMapGetEventMap () const
 
void x_DeclareDead ()
 Removes itself unavailable for async event delivery. More...
 
void x_AddListenerToPool (CEventHandler *listener, int pool_name)
 

Protected Attributes

int m_CurrRenderer
 
TRenderers m_Renderers
 
CGlPane m_MatrixPane
 
TVPRect m_rcMatrix
 rectangle in OpenGL coordinates More...
 
TVPRect m_rcLeftSeq
 
TVPRect m_rcBottomSeq
 
TVPRect m_rcAxes
 
CRgbaColor m_BackColor
 
CGlTextureFontm_pTextFont
 
CGlTextureFontm_pLblFont
 
CMouseZoomHandler m_MouseZoomHandler
 
CMinimapHandler m_MinimapHandler
 
CLinearSelHandler m_HorzSelHandler
 
CLinearSelHandler m_VertSelHandler
 
CTooltipHandler m_TooltipHandler
 
CStickyTooltipHandler m_TooltipManager
 
CRegularGridGen m_Gen
 
CRegularGridRenderer m_Grid
 
CRuler m_BottomRuler
 
CRuler m_TopRuler
 
CRuler m_LeftRuler
 
CRuler m_RightRuler
 
navigation history
TreeNavHistory m_NavHistory
 
- Protected Attributes inherited from CGlWidgetPane
THandlerRecList m_lsHandlerRecs
 list of records for registered handlers More...
 
SHandlerRecm_pCurrHandlerRec
 pointer to record for last active handler More...
 
bool m_PopupMenuDisplayed
 Some handlers may need to know if popup (right click) menu is active. More...
 
CStopWatch m_EnterTimer
 Windows vista bug screws up opengl after dlgs/popups displayed over window. More...
 
wxTimer m_GLOverlapFixTimer
 Need associated timer since some popups take a little time to clear. More...
 
bool m_PseudoSized
 For windows (e.g. tree) that do not want to layout/update for the fake size event. More...
 
- Protected Attributes inherited from CGLCanvas
bool m_DoNotUpdate
 
float m_ClearColor [4]
 
- Protected Attributes inherited from IStickyTooltipHandlerHost
IServiceLocatorm_ServiceLocator
 Needed to find other views. More...
 
std::vector< TipLocationm_CurrentTips
 
- Protected Attributes inherited from CEventHandler
TPools m_Pools
 

Additional Inherited Members

- Static Public Member Functions inherited from CEventHandler
static bool HandlePostRequest ()
 
static void ClearPostQueue ()
 erases all events from the queue More...
 
static void DestroyPostQueue ()
 
- Static Protected Attributes inherited from CEventHandler
static const SEvtMap sm_EvtMap
 

Detailed Description

class CPhyloTreePane

Definition at line 54 of file phylo_tree_pane.hpp.

Member Typedef Documentation

◆ TRangeColl

Definition at line 65 of file phylo_tree_pane.hpp.

◆ TRenderers

Definition at line 66 of file phylo_tree_pane.hpp.

Member Enumeration Documentation

◆ EHandlerArea

Enumerator
fMatrixArea 
fSubjectArea 
fQueryArea 
fOther 
fAllAreas 

Definition at line 196 of file phylo_tree_pane.hpp.

Constructor & Destructor Documentation

◆ CPhyloTreePane()

CPhyloTreePane::CPhyloTreePane ( CPhyloTreeWidget parent)

Member Function Documentation

◆ AddRenderer()

void CPhyloTreePane::AddRenderer ( CRef< IPhyloTreeRender > &&  renderer)

◆ BufferedRender()

void CPhyloTreePane::BufferedRender ( void  )

◆ CanGoBack()

bool CPhyloTreePane::CanGoBack ( ) const

Return true if there are previous view positions you can nav back to.

Definition at line 376 of file phylo_tree_pane.cpp.

References CPhyloTreePane::TreeNavHistory::CanGoBack(), and m_NavHistory.

Referenced by GoBack(), and CPhyloTreeWidget::OnUpdateGoBack().

◆ CanGoForward()

bool CPhyloTreePane::CanGoForward ( ) const

Return true if there are saved view positions you can nav forward to.

Definition at line 382 of file phylo_tree_pane.cpp.

References CPhyloTreePane::TreeNavHistory::CanGoForward(), and m_NavHistory.

Referenced by GoForward(), and CPhyloTreeWidget::OnUpdateGoForward().

◆ EditCurrentNode()

void CPhyloTreePane::EditCurrentNode ( )

◆ FireCBEvent()

void CPhyloTreePane::FireCBEvent ( void  )
virtual

Implements IPhyloTreeRenderHost.

Definition at line 764 of file phylo_tree_pane.cpp.

References CPhyloTreeWidget::SendSelChangedEvent(), and x_GetWidget().

◆ FireEditEvent()

void CPhyloTreePane::FireEditEvent ( EPhyloTreeEditCommand  ec)
virtual

Implements IPhyloTreeRenderHost.

Definition at line 769 of file phylo_tree_pane.cpp.

References CPhyloTreeWidget::SendEditEvent(), and x_GetWidget().

◆ GetCurrRenderer()

IPhyloTreeRender* CPhyloTreePane::GetCurrRenderer ( void  )
inline

◆ GetCurrRendererIdx()

int CPhyloTreePane::GetCurrRendererIdx ( void  )
inline

◆ GetPane()

CGlPane& CPhyloTreePane::GetPane ( )
inline

◆ GetPortSize()

TVPPoint CPhyloTreePane::GetPortSize ( void  )
virtual

returns size of the master pane in screen coordinates

Implements CGlWidgetPane.

Definition at line 123 of file phylo_tree_pane.cpp.

References CGlRect< T >::Height(), m_rcMatrix, and CGlRect< T >::Width().

◆ GetQuerySelection()

const CPhyloTreePane::TRangeColl & CPhyloTreePane::GetQuerySelection ( ) const

Definition at line 319 of file phylo_tree_pane.cpp.

References CLinearSelHandler::GetSelection(), and m_VertSelHandler.

◆ GetRenderers()

TRenderers& CPhyloTreePane::GetRenderers ( void  )
inline

◆ GetSubjectSelection()

const CPhyloTreePane::TRangeColl & CPhyloTreePane::GetSubjectSelection ( ) const

Definition at line 313 of file phylo_tree_pane.cpp.

References CLinearSelHandler::GetSelection(), and m_HorzSelHandler.

◆ GoBack()

void CPhyloTreePane::GoBack ( void  )

◆ GoForward()

void CPhyloTreePane::GoForward ( void  )

◆ HMGH_GetVPPosByY()

TVPUnit CPhyloTreePane::HMGH_GetVPPosByY ( int  y) const
virtual

Implements IPhyloTreeRenderHost.

Definition at line 638 of file phylo_tree_pane.cpp.

◆ HMGH_OnChanged()

void CPhyloTreePane::HMGH_OnChanged ( void  )
virtual

a topology or selection (color) change (requires update to buffers

Implements IPhyloTreeRenderHost.

Definition at line 811 of file phylo_tree_pane.cpp.

References CPhyloTreeWidget::SendSelChangedEvent(), x_GetWidget(), and CGLCanvas::x_SetupGLContext().

◆ HMGH_OnRefresh()

void CPhyloTreePane::HMGH_OnRefresh ( void  )
virtual

a chnage that requires a redraw but no GL buffer updates

Implements IPhyloTreeRenderHost.

Definition at line 817 of file phylo_tree_pane.cpp.

◆ HMGH_UpdateLimits()

void CPhyloTreePane::HMGH_UpdateLimits ( bool  force_redraw = false)
virtual

◆ MMHH_EndOp()

void CPhyloTreePane::MMHH_EndOp ( )
virtual

Implements IMinimapHandlerHost.

Definition at line 786 of file phylo_tree_pane.cpp.

References SaveCurrentView().

◆ MMHH_GetScale()

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

◆ MMHH_GetTexture()

I3DTexture * CPhyloTreePane::MMHH_GetTexture ( float &  ,
float &   
)
virtual

gets a texture and its coordinate limits for the minmap

Reimplemented from IMinimapHandlerHost.

Definition at line 804 of file phylo_tree_pane.cpp.

References GetCurrRenderer(), and IPhyloTreeRender::GetTexture().

Referenced by CPhyloTreeWidget::OnSaveImages().

◆ MMHH_GetVPPosByY()

TVPUnit CPhyloTreePane::MMHH_GetVPPosByY ( int  y) const
virtual

converts window coord to Viewport coord

Implements IMinimapHandlerHost.

Definition at line 798 of file phylo_tree_pane.cpp.

◆ MMHH_Scroll()

void CPhyloTreePane::MMHH_Scroll ( TModelUnit  d_x,
TModelUnit  d_y 
)
virtual

Implements IMinimapHandlerHost.

Definition at line 792 of file phylo_tree_pane.cpp.

References CGlWidgetBase::Scroll(), and x_GetWidget().

◆ MZHH_EndOp()

void CPhyloTreePane::MZHH_EndOp ( )
virtual

Implements IMouseZoomHandlerHost.

Definition at line 617 of file phylo_tree_pane.cpp.

References SaveCurrentView().

◆ MZHH_GetScale()

TModelUnit CPhyloTreePane::MZHH_GetScale ( IMouseZoomHandlerHost::EScaleType  type)
virtual

◆ MZHH_GetVPPosByY()

TVPUnit CPhyloTreePane::MZHH_GetVPPosByY ( int  y) const
virtual

converts window coord to Viewport coord

Implements IMouseZoomHandlerHost.

Definition at line 629 of file phylo_tree_pane.cpp.

◆ MZHH_Scroll()

void CPhyloTreePane::MZHH_Scroll ( TModelUnit  d_x,
TModelUnit  d_y 
)
virtual

Implements IMouseZoomHandlerHost.

Definition at line 623 of file phylo_tree_pane.cpp.

References CGlWidgetBase::Scroll(), and x_GetWidget().

◆ MZHH_SetScale()

void CPhyloTreePane::MZHH_SetScale ( TModelUnit  scale,
const TModelPoint point 
)
virtual

Implements IMouseZoomHandlerHost.

Definition at line 598 of file phylo_tree_pane.cpp.

References CPhyloTreeWidget::OnSetScaleXY(), and x_GetWidget().

◆ MZHH_ZoomPoint()

void CPhyloTreePane::MZHH_ZoomPoint ( const TModelPoint point,
TModelUnit  factor 
)
virtual

Implements IMouseZoomHandlerHost.

Definition at line 610 of file phylo_tree_pane.cpp.

References x_GetWidget(), and CGlWidgetBase::ZoomPoint().

◆ MZHH_ZoomRect()

void CPhyloTreePane::MZHH_ZoomRect ( const TModelRect rc)
virtual

Implements IMouseZoomHandlerHost.

Definition at line 604 of file phylo_tree_pane.cpp.

References x_GetWidget(), and CGlWidgetBase::ZoomRect().

◆ OnLeftDown()

void CPhyloTreePane::OnLeftDown ( wxMouseEvent &  evt)

◆ OnSize()

void CPhyloTreePane::OnSize ( wxSizeEvent &  event)

Definition at line 152 of file phylo_tree_pane.cpp.

References CGlWidgetPane::m_PseudoSized, and x_Layout().

◆ RemoveCurrentDataSource()

void CPhyloTreePane::RemoveCurrentDataSource ( )

◆ RenderHardcopy()

void CPhyloTreePane::RenderHardcopy ( void  )

◆ RenderPdf()

void CPhyloTreePane::RenderPdf ( CRef< CPdf pdf,
bool  render_tooltips 
)

◆ SaveCurrentView()

void CPhyloTreePane::SaveCurrentView ( )

◆ SetContext()

virtual void CPhyloTreePane::SetContext ( void  )
inlinevirtual

◆ SetCurrRendererIdx()

void CPhyloTreePane::SetCurrRendererIdx ( int  idx)

◆ SetupHardcopyRender()

void CPhyloTreePane::SetupHardcopyRender ( )

◆ SHH_GetModelByWindow()

TModelUnit CPhyloTreePane::SHH_GetModelByWindow ( int  z,
EOrientation  orient 
)
virtual

◆ SHH_GetWindowByModel()

TVPUnit CPhyloTreePane::SHH_GetWindowByModel ( TModelUnit  z,
EOrientation  orient 
)
virtual

Implements ISelHandlerHost.

Definition at line 699 of file phylo_tree_pane.cpp.

References _ASSERT, eHorz, eVert, m_MatrixPane, CGlPane::ProjectX(), and CGlPane::ProjectY().

◆ SHH_OnChanged()

void CPhyloTreePane::SHH_OnChanged ( )
virtual

◆ SHH_SetCursor()

void CPhyloTreePane::SHH_SetCursor ( const wxCursor &  cursor)
virtual

Definition at line 683 of file phylo_tree_pane.cpp.

◆ SoftUpdate()

void CPhyloTreePane::SoftUpdate ( void  )
virtual

◆ TTHH_GetTooltip()

CTooltipInfo CPhyloTreePane::TTHH_GetTooltip ( const wxRect &  )
virtual

Return the contents to be displayed in the tool tip.

Reimplemented from IStickyTooltipHandlerHost.

Definition at line 759 of file phylo_tree_pane.cpp.

References GetCurrRenderer(), and IPhyloTreeRender::TTHH_GetTooltip().

◆ TTHH_NeedTooltip()

string CPhyloTreePane::TTHH_NeedTooltip ( const wxPoint &  )
virtual

Return id of the underlying element to dispaly a tooltip, otherwise "".

Reimplemented from IStickyTooltipHandlerHost.

Definition at line 749 of file phylo_tree_pane.cpp.

References GetCurrRenderer(), CMouseZoomHandler::IsScaleMode(), m_MouseZoomHandler, and IPhyloTreeRender::TTHH_NeedTooltip().

◆ Update()

void CPhyloTreePane::Update ( void  )
virtual

◆ UpdateDataSource()

void CPhyloTreePane::UpdateDataSource ( )

◆ UpdatePane()

void CPhyloTreePane::UpdatePane ( const TModelRect r)

◆ x_AdjustToMasterPane()

void CPhyloTreePane::x_AdjustToMasterPane ( CGlPane pane,
bool  b_model_x,
bool  b_model_y 
)
protected

◆ x_GetAreaByVPPos()

int CPhyloTreePane::x_GetAreaByVPPos ( TVPUnit  vp_x,
TVPUnit  vp_y 
)
protectedvirtual

◆ x_GetWidget()

CPhyloTreeWidget * CPhyloTreePane::x_GetWidget ( ) const
protected

◆ x_GrabFocus()

bool CPhyloTreePane::x_GrabFocus ( )
protectedvirtual

Reimplemented from CGlWidgetPane.

Definition at line 542 of file phylo_tree_pane.cpp.

References CGlWidgetPane::x_GrabFocus().

◆ x_Layout()

void CPhyloTreePane::x_Layout ( void  )
protected

◆ x_OnShowPopup()

void CPhyloTreePane::x_OnShowPopup ( )
protectedvirtual

Definition at line 261 of file phylo_tree_pane.cpp.

References CPhyloTreeWidget::OnShowPopup(), and x_GetWidget().

◆ x_Render()

void CPhyloTreePane::x_Render ( void  )
protectedvirtual

◆ x_RenderMouseZoomHandler()

void CPhyloTreePane::x_RenderMouseZoomHandler ( CGlPane pane)
protected

◆ x_SetupAxes()

void CPhyloTreePane::x_SetupAxes ( )
protected

Member Data Documentation

◆ m_BackColor

CRgbaColor CPhyloTreePane::m_BackColor
protected

Definition at line 237 of file phylo_tree_pane.hpp.

◆ m_BottomRuler

CRuler CPhyloTreePane::m_BottomRuler
protected

Definition at line 253 of file phylo_tree_pane.hpp.

◆ m_CurrRenderer

int CPhyloTreePane::m_CurrRenderer
protected

◆ m_Gen

CRegularGridGen CPhyloTreePane::m_Gen
protected

Definition at line 250 of file phylo_tree_pane.hpp.

◆ m_Grid

CRegularGridRenderer CPhyloTreePane::m_Grid
protected

Definition at line 251 of file phylo_tree_pane.hpp.

◆ m_HorzSelHandler

CLinearSelHandler CPhyloTreePane::m_HorzSelHandler
protected

Definition at line 244 of file phylo_tree_pane.hpp.

Referenced by GetSubjectSelection().

◆ m_LeftRuler

CRuler CPhyloTreePane::m_LeftRuler
protected

Definition at line 255 of file phylo_tree_pane.hpp.

◆ m_MatrixPane

CGlPane CPhyloTreePane::m_MatrixPane
protected

◆ m_MinimapHandler

CMinimapHandler CPhyloTreePane::m_MinimapHandler
protected

Definition at line 243 of file phylo_tree_pane.hpp.

Referenced by x_RenderMouseZoomHandler().

◆ m_MouseZoomHandler

CMouseZoomHandler CPhyloTreePane::m_MouseZoomHandler
protected

◆ m_NavHistory

TreeNavHistory CPhyloTreePane::m_NavHistory
protected

◆ m_pLblFont

CGlTextureFont* CPhyloTreePane::m_pLblFont
protected

Definition at line 239 of file phylo_tree_pane.hpp.

Referenced by AddRenderer().

◆ m_pTextFont

CGlTextureFont* CPhyloTreePane::m_pTextFont
protected

Definition at line 238 of file phylo_tree_pane.hpp.

◆ m_rcAxes

TVPRect CPhyloTreePane::m_rcAxes
protected

Definition at line 235 of file phylo_tree_pane.hpp.

◆ m_rcBottomSeq

TVPRect CPhyloTreePane::m_rcBottomSeq
protected

Definition at line 234 of file phylo_tree_pane.hpp.

Referenced by x_GetAreaByVPPos().

◆ m_rcLeftSeq

TVPRect CPhyloTreePane::m_rcLeftSeq
protected

Definition at line 233 of file phylo_tree_pane.hpp.

Referenced by x_GetAreaByVPPos().

◆ m_rcMatrix

TVPRect CPhyloTreePane::m_rcMatrix
protected

rectangle in OpenGL coordinates

Definition at line 232 of file phylo_tree_pane.hpp.

Referenced by GetPortSize(), x_GetAreaByVPPos(), and x_Layout().

◆ m_Renderers

TRenderers CPhyloTreePane::m_Renderers
protected

◆ m_RightRuler

CRuler CPhyloTreePane::m_RightRuler
protected

Definition at line 256 of file phylo_tree_pane.hpp.

Referenced by x_SetupAxes().

◆ m_TooltipHandler

CTooltipHandler CPhyloTreePane::m_TooltipHandler
protected

Definition at line 246 of file phylo_tree_pane.hpp.

◆ m_TooltipManager

CStickyTooltipHandler CPhyloTreePane::m_TooltipManager
protected

Definition at line 247 of file phylo_tree_pane.hpp.

◆ m_TopRuler

CRuler CPhyloTreePane::m_TopRuler
protected

Definition at line 254 of file phylo_tree_pane.hpp.

Referenced by x_SetupAxes().

◆ m_VertSelHandler

CLinearSelHandler CPhyloTreePane::m_VertSelHandler
protected

Definition at line 245 of file phylo_tree_pane.hpp.

Referenced by GetQuerySelection().


The documentation for this class was generated from the following files:
Modified on Wed Apr 17 13:08:23 2024 by modify_doxy.py rev. 669887