#include <ncbi_pch.hpp>
#include <corelib/ncbistd.hpp>
#include <gui/widgets/aln_multiple/aln_vec_iterator.hpp>
#include <gui/widgets/aln_multiple/feature_graph.hpp>
#include <gui/widgets/aln_multiple/alnmulti_ds.hpp>
#include <gui/widgets/seq_graphic/seq_glyph.hpp>
#include <gui/widgets/seq_graphic/feature_glyph.hpp>
#include <gui/opengl/glhelpers.hpp>
#include <gui/opengl/irender.hpp>
#include <gui/types.hpp>
#include <gui/objutils/utils.hpp>
#include <gui/objutils/label.hpp>
#include <gui/utils/event_translator.hpp>
#include <objmgr/util/sequence.hpp>
#include <objmgr/impl/synonyms.hpp>
#include <math.h>
#include <memory>
#include <vector>
Include dependency graph for feature_graph.cpp:
Go to the source code of this file.
Go to the SVN repository for this file.
Typedefs typedef CRange< TSeqPos > TFeatRange typedef pair< size_t, TSeqPos > TIndexLenPair Functions USING_SCOPE (objects) ON_EVENT (CAppJobNotification, CAppJobNotification::eStateChanged, &CFeatureGraph::OnAJNotification) TVPPoint CFeatureGraph CRgbaColor GetRandomColor (int i_color) CRgbaColor & GetColor (CSeqFeatData::ESubtype subtype) static bool s_ILPLonger (const TIndexLenPair &p1, const TIndexLenPair &p2) static bool s_FRPLPLonger (const CAlignedFeatureGraph::TFeatRecPtrLenPair &p1, const CAlignedFeatureGraph::TFeatRecPtrLenPair &p2) Variables static const int kGradColors = 32 CFeatureGraph. More...Definition at line 852 of file feature_graph.cpp.
◆ TIndexLenPair typedef pair<size_t, TSeqPos> TIndexLenPairDefinition at line 1160 of file feature_graph.cpp.
Function Documentation ◆ GetColor() CRgbaColor& GetColor ( CSeqFeatData::ESubtype subtype )Definition at line 910 of file feature_graph.cpp.
References color, CSeqFeatData::eSubtype_cdregion, CSeqFeatData::eSubtype_gene, CSeqFeatData::eSubtype_mRNA, GetRandomColor(), and i.
Referenced by CPhyloSelectionSetMgr::AddSet(), CPhyloSelectionSet::SaveToUserObject(), CPhyloSaveSelectiondlg::SetSelections(), and CAlignedFeatureGraph::x_RenderFeature().
◆ GetRandomColor() CRgbaColor GetRandomColor ( int i_color )Definition at line 902 of file feature_graph.cpp.
References CRgbaColor::RotateColor().
Referenced by GetColor().
◆ ON_EVENT() ON_EVENT ( CAppJobNotification , CAppJobNotification::eStateChanged , &CFeatureGraph::OnAJNotification )Definition at line 428 of file feature_graph.cpp.
References kTextOff, max(), CGraphContainer::PreferredSize(), and ncbi::grid::netcache::search::fields::size.
◆ s_FRPLPLonger() static bool s_FRPLPLonger ( const CAlignedFeatureGraph::TFeatRecPtrLenPair & p1, const CAlignedFeatureGraph::TFeatRecPtrLenPair & p2 ) staticDefinition at line 1389 of file feature_graph.cpp.
Referenced by CAlignedFeatureGraph::x_GetRecsSortedByLength().
◆ s_ILPLonger() static bool s_ILPLonger ( const TIndexLenPair & p1, const TIndexLenPair & p2 ) staticDefinition at line 1161 of file feature_graph.cpp.
Referenced by CAlignedFeatureGraph::x_Layout().
◆ USING_SCOPE() USING_SCOPE ( objects ) Variable Documentation ◆ kBins const int kBins = 2048 staticDefinition at line 1646 of file feature_graph.cpp.
Referenced by CFeatHistogramDS::Update().
◆ kGradColors const int kGradColors = 32 staticDefinition at line 231 of file feature_graph.cpp.
◆ kLayerH const int kLayerH = 12 staticDefinition at line 779 of file feature_graph.cpp.
◆ kLayerOffY const int kLayerOffY = 2 staticDefinition at line 780 of file feature_graph.cpp.
Referenced by CAlignedFeatureGraph::x_RenderFeature().
◆ kTextOff const int kTextOff = 2 staticDefinition at line 381 of file feature_graph.cpp.
Referenced by ON_EVENT(), and CFeatureGraph::x_RenderStatusText().
◆ kTootipPix const int kTootipPix = 2 staticDefinition at line 1004 of file feature_graph.cpp.
Referenced by CAlignedFeatureGraph::NeedTooltip().
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