A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/hit__matrix__widget_8cpp_source.html below:

NCBI C++ ToolKit: src/gui/widgets/hit_matrix/hit_matrix_widget.cpp Source File

57 #include <wx/msgdlg.h> 71  bool static

initialized =

false

;

74  "Choose Alignments to Display"

,

""

,

""

);

85  const

wxPoint& pos,

const

wxSize&

size

,

long

style)

215  bool

en = horz_sel.

size

() || vert_sel.

size

();

218  if

(horz_sel.

size

()) {

221  if

(vert_sel.

size

()) {

237  bool

en = horz_sel.

size

() || vert_sel.

size

();

261  event

.Enable(! rc_m.

IsEmpty

());

271  if

( ! s_r.

Empty

()) {

275  if

( ! q_r.

Empty

()) {

304

dlg.SetTitle(

wxT

(

"Choose Alignments to Display..."

));

308  if

(dlg.ShowModal() == wxID_OK) {

317  if

(! new_subject_id->

Equals

(*subject_id) ||

318

! new_query_id->

Equals

(*query_id) || ! (old_params == params)) {

319

query_id = new_query_id;

320

subject_id = new_subject_id;

332 static const

wxChar*

kMsgNoScores

=

wxT

(

"The alignment does not contain any scores."

);

340  string

curr_name =

m_MatrixPane

->GetRenderer().GetScoreName();

342

vector<string>

names

;

345  if

(

names

.size()) {

348  const string

& name = *it;

354

pair<double, double> range =

m_DataSource

->GetScoreRange(name);

367

vector<SHitColoringParams*> params;

375  if

(dlg.ShowModal() == wxID_OK) {

384

wxOK | wxICON_EXCLAMATION);

404

vector<CHitMatrixRenderer::SGraphDescr> graph_types;

407

vector<string> s_graphs, q_graphs;

408  bool

en_s =

false

, en_q =

false

;

421

dlg.

SetItems

(graph_types, s_graphs, q_graphs, en_s, en_q);

423  if

(dlg.ShowModal() == wxID_OK) {

429  for

(

size_t i

= 0;

i

< graph_types.size();

i

++ ) {

430  const string

& name = graph_types[

i

].m_Type;

500

wxPoint ms_pos = ScreenToClient(event.GetPosition());

502

m_PopupPoint.m_X = m_MatrixPane->SHH_GetModelByWindow(ms_pos.x,

eHorz

);

503

m_PopupPoint.m_Y = m_MatrixPane->SHH_GetModelByWindow(ms_pos.y,

eVert

);

506

wxMenu* menu = cmd_reg.

CreateMenu

(sPopupMenu);

508

x_ShowDecoratedPopupMenu(menu);

638  event

.Enable(

GetDS

() != 0);

CHitMatrixRenderer - renders Hit Matrix Graph, Rulers, axes, grid, sequence and features graphs.

void SetGraphColor(const string &name, const CRgbaColor &color)

void GetGraphTypes(vector< SGraphDescr > &types) const

void SetGraphs(ESequence seq, const vector< string > &graphs)

void Layout(const CGlPane &pane)

recalculates recatngles for all intrnal objects so that they are positioned correctly with regard to ...

void GetGraphs(ESequence seq, vector< string > &graphs) const

TModelRect GetSelectedHitElemsRect() const

const string & GetScoreName() const

position_type GetToOpen() const

position_type GetFrom() const

CUICommandRegistry is a centralized registry where all application commands should be registered.

static CUICommandRegistry & GetInstance()

the main instance associated with the application

wxMenu * CreateMenu(const SwxMenuItemRec *items)

create a menu from a static definition (see WX_*_MENU macros)

int RegisterCommand(CUICommand *cmd)

assumes ownership of the given object returns a command id (useful when registry is used for auto id ...

const IHitSeqId * GetSubjectId()

const IHitSeqId * GetQueryId()

void SetSeqs(CIRef< IHitMatrixDataSource > ds)

void GetParams(IHitMatrixDataSource::SParams &params) const

CRgbaColor GetGraphColor(const string &name)

void GetSelected(vector< string > &s_items, vector< string > &q_items)

void SetItems(const vector< CHitMatrixRenderer::SGraphDescr > &graphs, const vector< string > &s_sel, const vector< string > &q_sel, bool en_s, bool en_q)

string GetSelectedName() const

void SetItems(vector< SHitColoringParams * > &params, const string curr_name)

IHitMatrixDataSource - abstract Data Source for Hit Matrix Widget.

virtual TSeqRange GetQueryHitsRange()=0

virtual IHitSeqId & GetSubjectId() const =0

virtual IHitSeqId & GetQueryId() const =0

virtual objects::CBioseq_Handle GetQueryHandle()=0

virtual string GetLabel(const IHitSeqId &id)=0

virtual objects::CBioseq_Handle GetSubjectHandle()=0

virtual TSeqRange GetSubjectHitsRange()=0

IHitSeqId - abstract identifier of a sequence in an alignment.

virtual bool Equals(const IHitSeqId &id) const =0

static const struct name_t names[]

#define ITERATE(Type, Var, Cont)

ITERATE macro to sequence through container elements.

#define NON_CONST_ITERATE(Type, Var, Cont)

Non constant version of ITERATE macro.

void SetModelLimitsRect(const TModelRect &R)

void ZoomAll(int options=fZoomXY)

void SetScale(TModelUnit scale_x, TModelUnit scale_y, TModelPoint p_center)

void SetScaleRefPoint(TModelUnit scale_x, TModelUnit scale_y, TModelPoint p_ref)

void ZoomRect(const TModelRect &r)

TModelRect & GetModelLimitsRect(void)

void SetAdjustmentPolicy(int adjust_x, int adjust_y)

void Inflate(T d_x, T d_y)

void EnableZoom(bool en_x, bool en_y)

void SetVert(T bottom, T top)

TModelRect & GetVisibleRect(void)

void SetMinScaleX(TModelUnit scale)

TModelUnit GetScaleX(void) const

TModelUnit GetScaleY(void) const

void SetHorz(T left, T right)

void SetOriginType(EOriginType type_x, EOriginType type_y)

vector< CConstRef< CObject > > TConstObjects

@ eCmdZoomObjects

Zoom to Sequence.

TSeqPos GetBioseqLength(void) const

TObjectType * GetPointer(void) THROWS_NONE

Get pointer,.

position_type GetToOpen(void) const

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

TFrom GetFrom(void) const

Get the From member data.

constexpr bool empty(list< Ts... >) noexcept

const struct ncbi::grid::netcache::search::fields::SIZE size

ViewerWindowBase::OnEditMenu ViewerWindowBase::OnJustification EVT_MENU(MID_SHOW_GEOM_VLTNS, ViewerWindowBase::OnShowGeomVltns) EVT_MENU(MID_FIND_PATTERN

void SetValueRange(double min, double max)

#define WX_DEFINE_MENU(name)

New macros for defining menus for use with CUICommandRegistry.

#define WX_SUBMENU(label)

#define WX_MENU_SEPARATOR_L(label)

#define WX_MENU_ITEM(cmd)

#define WX_MENU_SEPARATOR()


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