NCBI C++ ToolKit
Classes | Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
IBISAnnotateDialog Class Reference

Search Toolkit Book for IBISAnnotateDialog

#include "cdd_ibis_annot_dialog.hpp"
(Private to src/app/cn3d.)

+ Inheritance diagram for IBISAnnotateDialog:
+ Collaboration diagram for IBISAnnotateDialog:

Classes

struct  AlignAnnotInfo
 

Public Member Functions

 IBISAnnotateDialog (wxWindow *parent, IBISAnnotateDialog **handle, StructureSet *set)
 
 ~IBISAnnotateDialog (void)
 
bool HasInteractionData (void) const
 
bool HasInteractionData (IBISInteraction::eIbisInteractionType type) const
 

Private Types

enum  { eDontRemakeControls = 0x00 , eRemakeListCtrl = 0x01 , eRemakeListBox = 0x02 }
 
typedef std::list< ncbi::CRef< ncbi::objects::CSeq_interval > > IntervalList
 
typedef std::map< unsigned long, AlignAnnotInfoAnnotIbisOverlapMap
 

Private Member Functions

void GetAnnotIbisOverlaps (AnnotIbisOverlapMap &aioMap) const
 
void GetAnnotIbisOverlaps (const IBISInteraction &interaction, const ncbi::objects::CAlign_annot &annot, SeqPosSet &overlaps) const
 
void GetAnnotIbisNonOverlaps (const IBISInteraction &interaction, const ncbi::objects::CAlign_annot &annot, SeqPosSet &nonOverlaps, bool onAnnotation) const
 
void DeleteAnnotation (void)
 
void HighlightInteraction (void)
 
void HighlightAnnotation (int eventId)
 
void LaunchIbisWebPage (void)
 
void MakeAnnotationFromInteraction (void)
 
void OnButton (wxCommandEvent &event)
 
void OnChoice (wxCommandEvent &event)
 
void OnListCtrlSelection (wxListEvent &event)
 
void OnListBoxSelection (wxCommandEvent &event)
 
void OnCloseWindow (wxCloseEvent &event)
 
void PopulateInteractionData (void)
 
unsigned int GetIntervalsForSet (const SeqPosSet &positions, IntervalList &intervals)
 
bool HighlightInterval (const ncbi::objects::CSeq_interval &interval)
 
void SetupGUIControls (int selectInteraction, int selectAnnot, unsigned int updateFlags=eRemakeListCtrl|eRemakeListBox)
 

Private Attributes

IBISAnnotateDialog ** dialogHandle
 
StructureSetstructureSet
 
ncbi::CRef< ncbi::objects::CAlign_annot_set > annotSet
 
std::vector< ncbi::CRef< IBISInteraction > > vecIbisInteractions
 
wxImageList * m_images
 

Detailed Description

Definition at line 193 of file cdd_ibis_annot_dialog.hpp.

Member Typedef Documentation

◆ AnnotIbisOverlapMap

typedef std::map<unsigned long, AlignAnnotInfo> IBISAnnotateDialog::AnnotIbisOverlapMap
private

Definition at line 218 of file cdd_ibis_annot_dialog.hpp.

◆ IntervalList

typedef std::list< ncbi::CRef < ncbi::objects::CSeq_interval > > IBISAnnotateDialog::IntervalList
private

Definition at line 212 of file cdd_ibis_annot_dialog.hpp.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
private
Enumerator
eDontRemakeControls 
eRemakeListCtrl 
eRemakeListBox 

Definition at line 257 of file cdd_ibis_annot_dialog.hpp.

Constructor & Destructor Documentation

◆ IBISAnnotateDialog()

IBISAnnotateDialog::IBISAnnotateDialog ( wxWindow *  parent,
IBISAnnotateDialog **  handle,
StructureSet set 
)

◆ ~IBISAnnotateDialog()

IBISAnnotateDialog::~IBISAnnotateDialog ( void  )

Member Function Documentation

◆ DeleteAnnotation()

void IBISAnnotateDialog::DeleteAnnotation ( void  )
private

◆ GetAnnotIbisNonOverlaps()

void IBISAnnotateDialog::GetAnnotIbisNonOverlaps ( const IBISInteraction interaction,
const ncbi::objects::CAlign_annot &  annot,
SeqPosSet nonOverlaps,
bool  onAnnotation 
) const
private

◆ GetAnnotIbisOverlaps() [1/2]

void IBISAnnotateDialog::GetAnnotIbisOverlaps ( AnnotIbisOverlapMap aioMap) const
private

◆ GetAnnotIbisOverlaps() [2/2]

void IBISAnnotateDialog::GetAnnotIbisOverlaps ( const IBISInteraction interaction,
const ncbi::objects::CAlign_annot &  annot,
SeqPosSet overlaps 
) const
private

◆ GetIntervalsForSet()

unsigned int IBISAnnotateDialog::GetIntervalsForSet ( const SeqPosSet positions,
IntervalList intervals 
)
private

◆ HasInteractionData() [1/2]

bool IBISAnnotateDialog::HasInteractionData ( IBISInteraction::eIbisInteractionType  type) const

Definition at line 936 of file cdd_ibis_annot_dialog.cpp.

References i, result, and vecIbisInteractions.

◆ HasInteractionData() [2/2]

bool IBISAnnotateDialog::HasInteractionData ( void  ) const

Definition at line 931 of file cdd_ibis_annot_dialog.cpp.

References vecIbisInteractions.

◆ HighlightAnnotation()

void IBISAnnotateDialog::HighlightAnnotation ( int  eventId)
private

◆ HighlightInteraction()

void IBISAnnotateDialog::HighlightInteraction ( void  )
private

◆ HighlightInterval()

bool IBISAnnotateDialog::HighlightInterval ( const ncbi::objects::CSeq_interval &  interval)
private

◆ LaunchIbisWebPage()

void IBISAnnotateDialog::LaunchIbisWebPage ( void  )
private

◆ MakeAnnotationFromInteraction()

void IBISAnnotateDialog::MakeAnnotationFromInteraction ( void  )
private

◆ OnButton()

void IBISAnnotateDialog::OnButton ( wxCommandEvent &  event)
private

◆ OnChoice()

void IBISAnnotateDialog::OnChoice ( wxCommandEvent &  event)
private

◆ OnCloseWindow()

void IBISAnnotateDialog::OnCloseWindow ( wxCloseEvent &  event)
private

Definition at line 742 of file cdd_ibis_annot_dialog.cpp.

◆ OnListBoxSelection()

void IBISAnnotateDialog::OnListBoxSelection ( wxCommandEvent &  event)
private

◆ OnListCtrlSelection()

void IBISAnnotateDialog::OnListCtrlSelection ( wxListEvent &  event)
private

◆ PopulateInteractionData()

void IBISAnnotateDialog::PopulateInteractionData ( void  )
private

◆ SetupGUIControls()

void IBISAnnotateDialog::SetupGUIControls ( int  selectInteraction,
int  selectAnnot,
unsigned int  updateFlags = eRemakeListCtrl | eRemakeListBox 
)
private

Member Data Documentation

◆ annotSet

ncbi::CRef< ncbi::objects::CAlign_annot_set > IBISAnnotateDialog::annotSet
private

◆ dialogHandle

IBISAnnotateDialog** IBISAnnotateDialog::dialogHandle
private

Definition at line 205 of file cdd_ibis_annot_dialog.hpp.

Referenced by ~IBISAnnotateDialog().

◆ m_images

wxImageList* IBISAnnotateDialog::m_images
private

Definition at line 210 of file cdd_ibis_annot_dialog.hpp.

Referenced by ~IBISAnnotateDialog().

◆ structureSet

StructureSet* IBISAnnotateDialog::structureSet
private

◆ vecIbisInteractions

std::vector< ncbi::CRef<IBISInteraction> > IBISAnnotateDialog::vecIbisInteractions
private

The documentation for this class was generated from the following files:
Modified on Mon Feb 26 04:02:51 2024 by modify_doxy.py rev. 669887