#include <graph_container.hpp>
Inheritance diagram for CGraphContainer:


All graphs are rendered using transformation defined by CGraphContainer model space and viewport.
Definition at line 62 of file graph_container.hpp.
Public Types | |
| typedef IRenderable | TGraph |
| typedef CIRef< IRenderable > | TGraphRef |
| enum | ELayoutPolicy { eHorzStack, eVertStack, eWhole } |
Public Member Functions | |
| CGraphContainer (ELayoutPolicy policy) | |
| CGraphContainer. | |
| virtual | ~CGraphContainer () |
| virtual bool | AddGraph (TGraph *graph, bool front=false) |
| virtual bool | RemoveGraph (TGraph *graph) |
| assumes ownership | |
| virtual void | RemoveAllGraphs () |
| virtual int | GetGraphsCount () const |
| virtual TGraph * | GetGraph (int index) |
| virtual const TGraph * | GetGraph (int index) const |
| virtual void | Clear () |
| virtual void | Layout () |
| void | SetHost (IGraphContainerHost *host) |
| void | OnMouseEvents (wxMouseEvent &event) |
IRenderable implementation | |
| virtual void | Render (CGlPane &pane) |
| virtual void | SetVPRect (const TVPRect &rect) |
| virtual void | SetModelRect (const TModelRect &rc) |
| virtual TVPPoint | PreferredSize () |
| virtual bool | NeedTooltip (CGlPane &pane, int vp_x, int vp_y) |
| virtual string | GetTooltip () |
IGlEventHandler implementation | |
| virtual wxEvtHandler * | GetEvtHandler () |
| virtual void | SetPane (CGlPane *pane) |
Protected Types | |
| typedef vector< TGraphRef > | TGraphs |
Protected Attributes | |
| IGraphContainerHost * | m_Host |
| ELayoutPolicy | m_LayoutPolicy |
| TGraphs | m_Graphs |
| TGraph * | m_TooltipGraph |
| CGlPane * | m_Pane |
|
|
Definition at line 72 of file graph_container.hpp. |
|
|
Definition at line 73 of file graph_container.hpp. |
|
|
Definition at line 120 of file graph_container.hpp. |
|
|
Definition at line 75 of file graph_container.hpp. |
|
|
Definition at line 46 of file graph_container.cpp. |
|
|
Definition at line 54 of file graph_container.cpp. |
|
||||||||||||
|
Definition at line 59 of file graph_container.cpp. References _ASSERT, CEventHandler::AddListener(), CEventHandler::ePool_Child, CEventHandler::ePool_Parent, handler(), and m_Graphs. Referenced by CFeatureGraph::x_OnJobCompleted(). |
|
|
Definition at line 119 of file graph_container.cpp. References m_Graphs. |
|
|
Implements IGlEventHandler. Definition at line 158 of file graph_container.hpp. |
|
|
Definition at line 112 of file graph_container.cpp. |
|
|
Definition at line 105 of file graph_container.cpp. References _ASSERT, and m_Graphs. Referenced by CHitMatrixRenderer::GetGraphs(), CHitMatrixRenderer::x_DestroyGraphs(), and CHitMatrixRenderer::x_SetGraphs(). |
|
|
Definition at line 100 of file graph_container.cpp. References m_Graphs. Referenced by CHitMatrixRenderer::GetGraphs(), CFeatureGraph::OnAJNotification(), CHitMatrixRenderer::x_DestroyGraphs(), and CHitMatrixRenderer::x_SetGraphs(). |
|
|
Reimplemented from CRenderableImpl. Definition at line 252 of file graph_container.cpp. References _ASSERT, IRenderable::GetTooltip(), and m_TooltipGraph. Referenced by CHitMatrixRenderer::GetTooltip(), and CAlnMultiRenderer::GetTooltip(). |
|
|
Reimplemented in CAlignRowGraphCont, and CFeatureGraph. Definition at line 167 of file graph_container.cpp. References CGlRect< T >::Bottom(), eHorzStack, eVertStack, CGlRect< T >::Left(), m_Graphs, m_LayoutPolicy, CRenderableImpl::m_ModelRect, CRenderableImpl::m_VPRect, NON_CONST_ITERATE, CGlRect< T >::Offset(), IRenderable::PreferredSize(), CGlRect< T >::Right(), IRenderable::SetModelRect(), CGlRect< T >::SetRight(), CGlRect< T >::SetTop(), IRenderable::SetVPRect(), size, and CGlPoint< T >::X(). Referenced by CFeatureGraph::Layout(), CAlignRowGraphCont::Layout(), SetModelRect(), and SetVPRect(). |
|
||||||||||||||||
|
Reimplemented from CRenderableImpl. Definition at line 239 of file graph_container.cpp. References IRenderable::GetVPRect(), m_Graphs, m_TooltipGraph, IRenderable::NeedTooltip(), NON_CONST_ITERATE, and CGlRect< T >::PtInRect(). Referenced by CHitMatrixRenderer::NeedTooltip(), and CAlnMultiRenderer::NeedTooltip(). |
|
|
Definition at line 258 of file graph_container.cpp. References IGraphContainerHost::GCH_GetVPPosByWindowPos(), IRenderable::GetVPRect(), handler(), m_Graphs, m_Host, NON_CONST_ITERATE, CGlRect< T >::PtInRect(), CGlPoint< T >::X(), and CGlPoint< T >::Y(). |
|
|
Reimplemented from CRenderableImpl. Reimplemented in CFeatureGraph. Definition at line 214 of file graph_container.cpp. References eHorzStack, eVertStack, eWhole, m_Graphs, m_LayoutPolicy, size, CGlPoint< T >::X(), and CGlPoint< T >::Y(). Referenced by CHitMatrixRenderer::Layout(), ON_MESSAGE(), CAlnMultiPane::x_GetAreaByVPPos(), and CAlnMultiRenderer::x_Layout(). |
|
|
Definition at line 94 of file graph_container.cpp. References m_Graphs. Referenced by CFeatureGraph::Destroy(). |
|
|
assumes ownership
Definition at line 78 of file graph_container.cpp. References handler(), m_Graphs, and CEventHandler::RemoveListener(). |
|
|
Implements IRenderable. Definition at line 125 of file graph_container.cpp. References CGlPane::GetClipRect(), CGlPane::GetViewport(), IRenderable::GetVPRect(), CGlRect< T >::IntersectWith(), IRenderable::IsVisible(), m_Graphs, NON_CONST_ITERATE, IRenderable::Render(), and CGlPane::SetClipRect(). Referenced by CFeatureGraph::Render(), CHitMatrixRenderer::x_RenderContainers(), and CAlnMultiRenderer::x_RenderGraphs(). |
|
|
Definition at line 151 of file graph_container.hpp. References m_Host. |
|
|
Reimplemented from CRenderableImpl. Definition at line 160 of file graph_container.cpp. References Layout(), and CRenderableImpl::m_ModelRect. Referenced by CAlnMultiRenderer::x_Layout(), and CHitMatrixRenderer::x_RenderContainers(). |
|
|
Reimplemented from IGlEventHandler. Definition at line 164 of file graph_container.hpp. References m_Pane. |
|
|
Reimplemented from CRenderableImpl. Definition at line 153 of file graph_container.cpp. References Layout(), and CRenderableImpl::m_VPRect. Referenced by CAlnMultiRenderer::x_Layout(). |
|
|
Definition at line 125 of file graph_container.hpp. Referenced by AddGraph(), Clear(), CAlignRowGraphCont::Create(), CAlignRowGraphCont::Destroy(), GetGraph(), GetGraphsCount(), Layout(), CFeatureGraph::Layout(), CAlignRowGraphCont::Layout(), NeedTooltip(), OnMouseEvents(), PreferredSize(), RemoveAllGraphs(), RemoveGraph(), Render(), and CAlignRowGraphCont::Render(). |
|
|
Definition at line 122 of file graph_container.hpp. Referenced by OnMouseEvents(), and SetHost(). |
|
|
Definition at line 123 of file graph_container.hpp. Referenced by Layout(), CFeatureGraph::Layout(), CAlignRowGraphCont::Layout(), and PreferredSize(). |
|
|
Definition at line 127 of file graph_container.hpp. Referenced by SetPane(). |
|
|
Definition at line 126 of file graph_container.hpp. Referenced by GetTooltip(), and NeedTooltip(). |
1.4.6
Modified on Mon Dec 07 16:23:13 2009 by modify_doxy.py rev. 173732