NCBI C++ ToolKit
|
Search Toolkit Book for IHitMatrixDataSource
IHitMatrixDataSource - abstract Data Source for Hit Matrix Widget. More...
#include <gui/widgets/hit_matrix/hit_matrix_ds.hpp>
Classes | |
struct | SParams |
Public Types | |
typedef vector< CConstRef< objects::CSeq_align > > | TAlignVector |
typedef vector< IHitSeqId * > | TIdVector |
typedef vector< IHit * > | THitAdapterCont |
typedef pair< double, double > | TValueRange |
typedef IHit::TDirection | TDirection |
Public Member Functions | |
virtual | ~IHitMatrixDataSource () |
virtual void | Init (objects::CScope &scope, TAlignVector &aligns)=0 |
virtual bool | CanCreateRowBased () const =0 |
virtual void | SetParams (const SParams ¶ms, bool create_hits)=0 |
virtual void | GetParams (SParams ¶ms) const =0 |
virtual bool | SelectIds (const IHitSeqId &q_id, const IHitSeqId &s_id)=0 |
selects hits by query and subject IDs More... | |
virtual bool | SelectDefaultIds ()=0 |
selects default query and subject More... | |
virtual const TIdVector & | GetHitSeqIds ()=0 |
returns list of all seq ids in the Data Source More... | |
virtual void | GetHitSeqIdsForParams (TIdVector &ids, const SParams ¶ms) const =0 |
returns a list of ids that Data Source will create if the given params are applied. More... | |
virtual void | GetAlignedIds (const IHitSeqId &id, TIdVector &aligned)=0 |
virtual void | GetAlignedIdsForParams (const IHitSeqId &id, const TIdVector &ids, TIdVector &aligned, const SParams ¶ms)=0 |
returns a list of ids that will be aligned with the specified id if the given params are applied. More... | |
virtual objects::CScope & | GetScope ()=0 |
virtual IHitSeqId & | GetQueryId () const =0 |
virtual IHitSeqId & | GetSubjectId () const =0 |
virtual objects::CBioseq_Handle | GetQueryHandle ()=0 |
virtual objects::CBioseq_Handle | GetSubjectHandle ()=0 |
virtual objects::CBioseq_Handle | GetBioseqHandle (const IHitSeqId &id)=0 |
virtual string | GetLabel (const IHitSeqId &id)=0 |
virtual void | GetScoreNames (vector< string > &names) const =0 |
virtual TValueRange | GetScoreRange (const string &name) const =0 |
virtual const THitAdapterCont & | GetHits () const =0 |
virtual TSeqRange | GetQueryHitsRange ()=0 |
virtual TSeqRange | GetSubjectHitsRange ()=0 |
IHitMatrixDataSource - abstract Data Source for Hit Matrix Widget.
Definition at line 70 of file hit_matrix_ds.hpp.
typedef vector< CConstRef<objects::CSeq_align> > IHitMatrixDataSource::TAlignVector |
Definition at line 73 of file hit_matrix_ds.hpp.
Definition at line 77 of file hit_matrix_ds.hpp.
typedef vector<IHit*> IHitMatrixDataSource::THitAdapterCont |
Definition at line 75 of file hit_matrix_ds.hpp.
typedef vector<IHitSeqId*> IHitMatrixDataSource::TIdVector |
Definition at line 74 of file hit_matrix_ds.hpp.
typedef pair<double, double> IHitMatrixDataSource::TValueRange |
Definition at line 76 of file hit_matrix_ds.hpp.
|
inlinevirtual |
Definition at line 89 of file hit_matrix_ds.hpp.
|
pure virtual |
Implemented in CHitMatrixDataSource.
|
pure virtual |
Implemented in CHitMatrixDataSource.
|
pure virtual |
returns a list of ids that will be aligned with the specified id if the given params are applied.
Implemented in CHitMatrixDataSource.
|
pure virtual |
Implemented in CHitMatrixDataSource.
Referenced by CAlignSeqTableModel::Init().
|
pure virtual |
Implemented in CHitMatrixDataSource.
Referenced by CCrossPanelIR::SetDataSource(), and CHitMatrixRenderer::Update().
returns list of all seq ids in the Data Source
Implemented in CHitMatrixDataSource.
|
pure virtual |
returns a list of ids that Data Source will create if the given params are applied.
The caller is responsible for deleting ids.
Implemented in CHitMatrixDataSource.
Implemented in CHitMatrixDataSource.
Referenced by CAlignSeqTableModel::Init(), CHitMatrixWidget::OnSavePdf(), and CHitMatrixRenderer::x_SetRulerText().
|
pure virtual |
Implemented in CHitMatrixDataSource.
|
pure virtual |
Implemented in CHitMatrixDataSource.
Referenced by CHitMatrixRenderer::Update(), CHitMatrixRenderer::x_CreateHistogram(), CHitMatrixWidget::x_SetPortLimits(), and CHitMatrixRenderer::x_SetRulerText().
|
pure virtual |
Implemented in CHitMatrixDataSource.
Referenced by CHitMatrixWidget::x_SetPortLimits().
|
pure virtual |
Implemented in CHitMatrixDataSource.
Referenced by CHitMatrixWidget::OnSavePdf(), and CHitMatrixRenderer::x_SetRulerText().
|
pure virtual |
Implemented in CHitMatrixDataSource.
|
pure virtual |
Implemented in CHitMatrixDataSource.
|
pure virtual |
Implemented in CHitMatrixDataSource.
|
pure virtual |
Implemented in CHitMatrixDataSource.
Referenced by CHitMatrixRenderer::Update(), CHitMatrixRenderer::x_CreateHistogram(), CHitMatrixWidget::x_SetPortLimits(), and CHitMatrixRenderer::x_SetRulerText().
|
pure virtual |
Implemented in CHitMatrixDataSource.
Referenced by CHitMatrixWidget::x_SetPortLimits().
|
pure virtual |
Implemented in CHitMatrixDataSource.
Referenced by CHitMatrixWidget::OnSavePdf(), and CHitMatrixRenderer::x_SetRulerText().
|
pure virtual |
Implemented in CHitMatrixDataSource.
|
pure virtual |
selects default query and subject
Implemented in CHitMatrixDataSource.
|
pure virtual |
selects hits by query and subject IDs
Implemented in CHitMatrixDataSource.
|
pure virtual |
Implemented in CHitMatrixDataSource.