Search Toolkit Book for CAlignedFeatureGraph
#include <gui/widgets/aln_multiple/feature_graph.hpp>
Reimplemented from CRenderableImpl.
Definition at line 1006 of file feature_graph.cpp.
References _ASSERT, CGlPane::Close(), CAlignedFeatureGraph::SFeatRec::GetLocation(), CGlPane::GetScaleX(), CSeq_loc::GetTotalRange(), kTootipPix, m_LayerH, m_Layers, m_TooltipRec, CRenderableImpl::m_VPRect, NON_CONST_ITERATE, NULL, CGlPane::OpenOrtho(), CGlRect< T >::PtInRect(), r(), CGlRect< T >::Top(), and CGlPane::UnProjectX().
◆ PreferredSize() TVPPoint CAlignedFeatureGraph::PreferredSize ( ) virtual ◆ Render() void CAlignedFeatureGraph::Render ( CGlPane & pane ) virtualImplements IRenderable.
Definition at line 854 of file feature_graph.cpp.
References IRender::BlendFunc(), CGlPane::Close(), IRender::Color3d(), IRender::Enable(), GetGl(), CGlPane::GetOffsetY(), i, m_LayerH, m_Layers, CRenderableImpl::m_ModelRect, CRenderableImpl::m_VPRect, CGlPane::OpenOrtho(), CGlPane::OpenPixels(), IRender::PolygonMode(), IRender::RectC(), CGlRect< T >::Top(), and x_RenderFeature().
◆ x_Clear() void CAlignedFeatureGraph::x_Clear ( void ) ◆ x_GatherCluster()Definition at line 1307 of file feature_graph.cpp.
References map_checker< Container >::end(), CSeqFeatData::eSubtype_cdregion, CSeqFeatData::eSubtype_gene, CSeqFeatData::eSubtype_mRNA, map_checker< Container >::find(), GetBestCdsForMrna(), GetCdssForGene(), CAlignedFeatureGraph::SFeatRec::GetFeature(), GetMrnasForGene(), CConstRef< C, Locker >::GetPointer(), ITERATE, m_FeatToRecFlag, m_Scope, x_GetRecsSortedByLength(), and x_mRNA_CDS_ToBePlaced().
Referenced by x_LinkedLayout().
◆ x_GetRecsSortedByLength() ◆ x_GetTooltip()Definition at line 1072 of file feature_graph.cpp.
References data, CLabel::eContent, CLabel::eDescription, fFGL_Content, NStr::fWithCommas, CBioseq_Handle::GetBioseqLength(), CSeq_feat_Base::GetData(), CSeqFeatData::GetFeatList(), CAlignedFeatureGraph::SFeatRec::GetFeature(), CSeq_loc::GetId(), CFeatList::GetItemBySubtype(), CLabel::GetLabel(), GetLabel(), GetLength(), COpenRange< Position >::GetLength(), CAlignedFeatureGraph::SFeatRec::GetLocation(), CSeq_feat_Base::GetLocation(), CRef< C, Locker >::GetPointer(), CSeq_feat_Base::GetProduct(), CFeatListItem::GetStoragekey(), CSeqFeatData::GetSubtype(), CSeq_loc::GetTotalRange(), NStr::IntToString(), CSeq_loc_Base::IsInt(), CSeq_loc_Base::IsPnt(), CSeq_feat_Base::IsSetProduct(), label, m_Scope, and r().
Referenced by GetTooltip().
◆ x_Init() [1/2] ◆ x_Init() [2/2] ◆ x_Layout() void CAlignedFeatureGraph::x_Layout ( )Definition at line 1166 of file feature_graph.cpp.
References map_checker< Container >::clear(), CSeq_loc::GetTotalRange(), i, len, m_FeatRecs, m_FeatToRecFlag, m_LinkGenes, m_Occupied, NON_CONST_ITERATE, NULL, r(), s_ILPLonger(), x_LinkedLayout(), and x_SimpleLayout().
◆ x_LinkedLayout() void CAlignedFeatureGraph::x_LinkedLayout ( TFeatRecPtrs & feat_recs )Definition at line 1226 of file feature_graph.cpp.
References CSeqFeatData::eSubtype_cdregion, CSeqFeatData::eSubtype_gene, CSeqFeatData::eSubtype_mRNA, CSeq_feat_Base::GetData(), CAlignedFeatureGraph::SFeatRec::GetFeature(), CSeqFeatData::GetSubtype(), i, m_FeatToRecFlag, x_GatherCluster(), x_mRNA_CDS_ToBePlaced(), x_PlaceCluster(), x_PlaceFeature(), and x_TryPlaceCDSFeature().
Referenced by x_Layout().
◆ x_mRNA_CDS_ToBePlaced() bool CAlignedFeatureGraph::x_mRNA_CDS_ToBePlaced ( const objects::CSeq_feat & feat ) ◆ x_PlaceCluster() void CAlignedFeatureGraph::x_PlaceCluster ( TFeatRecPtrs & cluster )Definition at line 1431 of file feature_graph.cpp.
References _ASSERT, COpenRange< Position >::CombineWith(), map_checker< Container >::end(), map_checker< Container >::find(), CAlignedFeatureGraph::SFeatRec::GetFeature(), COpenRange< Position >::GetLength(), CAlignedFeatureGraph::SFeatRec::GetLocation(), i, CRangeCollection< Position >::IntersectingWith(), m_Clusters, m_FeatToRecFlag, m_Layers, m_Occupied, max(), min(), offset, r(), and CAlignedFeatureGraph::SFeatRec::SetClusterIndex().
Referenced by x_LinkedLayout().
◆ x_PlaceFeature() void CAlignedFeatureGraph::x_PlaceFeature ( SFeatRec & rec ) ◆ x_RenderFeature()Definition at line 933 of file feature_graph.cpp.
References _ASSERT, IRender::Begin(), IRender::Color3d(), IRender::ColorC(), IRender::End(), CAlignedFeatureGraph::SFeatRec::GetClusterIndex(), GetColor(), CSeq_feat_Base::GetData(), CAlignedFeatureGraph::SFeatRec::GetFeature(), GetGl(), CAlignedFeatureGraph::SFeatRec::GetLocation(), CGlPane::GetOffsetX(), CGlPane::GetScaleX(), CSeqFeatData::GetSubtype(), CSeq_loc::GetTotalRange(), CGlPane::GetVisibleRect(), kLayerOffY, CGlRect< T >::Left(), m_Clusters, CAlignedFeatureGraph::SCluster::m_FirstLayer, CAlignedFeatureGraph::SCluster::m_LastLayer, CAlignedFeatureGraph::SCluster::m_Offset, min(), r(), IRender::Rectd(), CGlRect< T >::Right(), and IRender::Vertex2d().
Referenced by Render().
◆ x_SimpleLayout() void CAlignedFeatureGraph::x_SimpleLayout ( TFeatRecPtrs & feat_recs ) ◆ x_TryPlaceCDSFeature() void CAlignedFeatureGraph::x_TryPlaceCDSFeature ( SFeatRec & rec ) ◆ m_Clusters ◆ m_FeatRecs ◆ m_FeatToRecFlag ◆ m_Label string CAlignedFeatureGraph::m_Label protected ◆ m_LayerH int CAlignedFeatureGraph::m_LayerH protected ◆ m_Layers TLayers CAlignedFeatureGraph::m_Layers protected ◆ m_LinkGenes bool CAlignedFeatureGraph::m_LinkGenes protected ◆ m_Occupied ◆ m_Scope CRef<objects::CScope> CAlignedFeatureGraph::m_Scope protected ◆ m_TooltipRec SFeatRec* CAlignedFeatureGraph::m_TooltipRec protectedThe documentation for this class was generated from the following files:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4