NCBI C++ ToolKit
|
Search Toolkit Book for CAlignmentConfig
File Description: More...
#include <gui/widgets/seq_graphic/alignment_conf.hpp>
Public Types | |
enum | ELabelPosition { ePos_Above , ePos_Side , ePos_NoLabel } |
enum | ECompactMode { eNormal , eCompact , eExtremeCompact } |
enum | EHideSraAlignments { eHide_None = 0x0 , eHide_Duplicates = 0x1 , eHide_BadReads = 0x2 , eHide_Both = 0x3 } |
enum | EUnalignedTailsMode { eTails_Hide , eTails_ShowGlyph , eTails_ShowSequence } |
Public Types inherited from CObject | |
enum | EAllocFillMode { eAllocFillNone = 1 , eAllocFillZero , eAllocFillPattern } |
Control filling of newly allocated memory. More... | |
typedef CObjectCounterLocker | TLockerType |
Default locker type for CRef. More... | |
typedef atomic< Uint8 > | TCounter |
Counter type is CAtomiCounter. More... | |
typedef Uint8 | TCount |
Alias for value type of counter. More... | |
Public Member Functions | |
CAlignmentConfig () | |
Public Member Functions inherited from CObject | |
CObject (void) | |
Constructor. More... | |
CObject (const CObject &src) | |
Copy constructor. More... | |
virtual | ~CObject (void) |
Destructor. More... | |
CObject & | operator= (const CObject &src) THROWS_NONE |
Assignment operator. More... | |
bool | CanBeDeleted (void) const THROWS_NONE |
Check if object can be deleted. More... | |
bool | IsAllocatedInPool (void) const THROWS_NONE |
Check if object is allocated in memory pool (not system heap) More... | |
bool | Referenced (void) const THROWS_NONE |
Check if object is referenced. More... | |
bool | ReferencedOnlyOnce (void) const THROWS_NONE |
Check if object is referenced only once. More... | |
void | AddReference (void) const |
Add reference to object. More... | |
void | RemoveReference (void) const |
Remove reference to object. More... | |
void | ReleaseReference (void) const |
Remove reference without deleting object. More... | |
virtual void | DoNotDeleteThisObject (void) |
Mark this object as not allocated in heap – do not delete this object. More... | |
virtual void | DoDeleteThisObject (void) |
Mark this object as allocated in heap – object can be deleted. More... | |
void * | operator new (size_t size) |
Define new operator for memory allocation. More... | |
void * | operator new[] (size_t size) |
Define new[] operator for 'array' memory allocation. More... | |
void | operator delete (void *ptr) |
Define delete operator for memory deallocation. More... | |
void | operator delete[] (void *ptr) |
Define delete[] operator for memory deallocation. More... | |
void * | operator new (size_t size, void *place) |
Define new operator. More... | |
void | operator delete (void *ptr, void *place) |
Define delete operator. More... | |
void * | operator new (size_t size, CObjectMemoryPool *place) |
Define new operator using memory pool. More... | |
void | operator delete (void *ptr, CObjectMemoryPool *place) |
Define delete operator. More... | |
virtual void | DebugDump (CDebugDumpContext ddc, unsigned int depth) const |
Define method for dumping debug information. More... | |
Public Member Functions inherited from CDebugDumpable | |
CDebugDumpable (void) | |
virtual | ~CDebugDumpable (void) |
void | DebugDumpText (ostream &out, const string &bundle, unsigned int depth) const |
void | DebugDumpFormat (CDebugDumpFormatter &ddf, const string &bundle, unsigned int depth) const |
void | DumpToConsole (void) const |
Public Attributes | |
CGlTextureFont | m_LabelFont |
CGlTextureFont | m_SeqFont |
ELabelPosition | m_LabelPos |
EUnalignedTailsMode | m_UnalignedTailsMode |
int | m_BarHeight |
bool | m_ShowLabel |
bool | m_ShowIdenticalBases |
bool | m_ShowUnalignedTailsForTrans2GenomicAln |
ECompactMode | m_CompactMode |
Alignment layout compact mode. More... | |
bool | m_Dirty |
Dirty flag indicates any unsaved changes. More... | |
Colors. | |
CRgbaColor | m_BG |
CRgbaColor | m_FG |
CRgbaColor | m_Label |
CRgbaColor | m_Sequence |
CRgbaColor | m_SeqMismatch |
CRgbaColor | m_TailColor |
CRgbaColor | m_Insertion |
CRgbaColor | m_Gap |
CRgbaColor | m_Intron |
CRgbaColor | m_NonConsensus |
CRgbaColor | m_SmearColorMin |
CRgbaColor | m_SmearColorMax |
CRgbaColor | m_UnalignedFG |
CRgbaColor | m_UnalignedSequence |
Additional Inherited Members | |
Static Public Member Functions inherited from CObject | |
static NCBI_XNCBI_EXPORT void | ThrowNullPointerException (void) |
Define method to throw null pointer exception. More... | |
static NCBI_XNCBI_EXPORT void | ThrowNullPointerException (const type_info &type) |
static EAllocFillMode | GetAllocFillMode (void) |
static void | SetAllocFillMode (EAllocFillMode mode) |
static void | SetAllocFillMode (const string &value) |
Set mode from configuration parameter value. More... | |
Static Public Member Functions inherited from CDebugDumpable | |
static void | EnableDebugDump (bool on) |
Static Public Attributes inherited from CObject | |
static const TCount | eCounterBitsCanBeDeleted = 1 << 0 |
Define possible object states. More... | |
static const TCount | eCounterBitsInPlainHeap = 1 << 1 |
Heap signature was found. More... | |
static const TCount | eCounterBitsPlaceMask |
Mask for 'in heap' state flags. More... | |
static const int | eCounterStep = 1 << 2 |
Skip over the "in heap" bits. More... | |
static const TCount | eCounterValid = TCount(1) << (sizeof(TCount) * 8 - 2) |
Minimal value for valid objects (reference counter is zero) Must be a single bit value. More... | |
static const TCount | eCounterStateMask |
Valid object, and object in heap. More... | |
Protected Member Functions inherited from CObject | |
virtual void | DeleteThis (void) |
Virtual method "deleting" this object. More... | |
File Description:
CAlignmentConfig: the data structure holding alignment rendering parameters
Definition at line 48 of file alignment_conf.hpp.
Enumerator | |
---|---|
eNormal | no compact mode |
eCompact | compact mode |
eExtremeCompact | extreme compact mode |
Definition at line 57 of file alignment_conf.hpp.
Enumerator | |
---|---|
eHide_None | |
eHide_Duplicates | |
eHide_BadReads | |
eHide_Both |
Definition at line 63 of file alignment_conf.hpp.
Enumerator | |
---|---|
ePos_Above | above the rendered bar |
ePos_Side | always on 5' side |
ePos_NoLabel | no label |
Definition at line 51 of file alignment_conf.hpp.
Enumerator | |
---|---|
eTails_Hide | |
eTails_ShowGlyph | |
eTails_ShowSequence |
Definition at line 70 of file alignment_conf.hpp.
|
inline |
Definition at line 76 of file alignment_conf.hpp.
int CAlignmentConfig::m_BarHeight |
Definition at line 113 of file alignment_conf.hpp.
Referenced by CAlignGlyph::GetBarHeight(), CAlignSmearGlyph::x_Draw(), CAlignmentTrack::x_LoadAlignmentSettings(), CAlignmentTrack::x_SaveAlignmentSettings(), and CAlignSmearGlyph::x_UpdateBoundingBox().
CRgbaColor CAlignmentConfig::m_BG |
Definition at line 90 of file alignment_conf.hpp.
Referenced by CAlignGlyph::x_DrawMultiAlignLabel(), CAlignGlyph::x_DrawPWAlign(), CAlignmentTrack::x_LoadAlignmentSettings(), and CAlignmentTrack::x_SaveAlignmentSettings().
ECompactMode CAlignmentConfig::m_CompactMode |
Alignment layout compact mode.
It is a run-time setting depending on the number of total alignments shown on screen.
Definition at line 121 of file alignment_conf.hpp.
Referenced by CAlignGlyph::GetBarHeight(), CAlignmentTrack::x_AddAlignmentLayout(), CAlignGlyph::x_DrawInserts(), CAlignGlyph::x_DrawStrandIndicators(), and CAlignGlyph::x_UpdateBoundingBox().
|
mutable |
Dirty flag indicates any unsaved changes.
Definition at line 124 of file alignment_conf.hpp.
Referenced by CAlignmentTrack::x_SaveAlignmentSettings().
CRgbaColor CAlignmentConfig::m_FG |
Definition at line 91 of file alignment_conf.hpp.
Referenced by CAlignGlyph::x_DrawMultiAlign(), CAlignGlyph::x_DrawPWAlign(), CAlignmentTrack::x_LoadAlignmentSettings(), and CAlignmentTrack::x_SaveAlignmentSettings().
CRgbaColor CAlignmentConfig::m_Gap |
Definition at line 97 of file alignment_conf.hpp.
Referenced by CAlignGlyph::x_DrawGaps(), CAlignmentTrack::x_LoadAlignmentSettings(), and CAlignmentTrack::x_SaveAlignmentSettings().
CRgbaColor CAlignmentConfig::m_Insertion |
Definition at line 96 of file alignment_conf.hpp.
Referenced by CAlignGlyph::x_DrawInserts(), CAlignGlyph::x_DrawMultiAlign(), CAlignmentTrack::x_LoadAlignmentSettings(), CAlignGlyph::x_RenderAveragableScores(), and CAlignmentTrack::x_SaveAlignmentSettings().
CRgbaColor CAlignmentConfig::m_Intron |
Definition at line 98 of file alignment_conf.hpp.
Referenced by CAlignGlyph::x_DrawGaps(), CAlignmentTrack::x_LoadAlignmentSettings(), and CAlignmentTrack::x_SaveAlignmentSettings().
CRgbaColor CAlignmentConfig::m_Label |
Definition at line 92 of file alignment_conf.hpp.
Referenced by CAlignSmearGlyph::x_Draw(), CAlignGlyph::x_DrawInternalUnalignedRegions(), CAlignGlyph::x_DrawMultiAlignLabel(), CAlignGlyph::x_DrawPWAlign(), CAlignGlyph::x_DrawTailGlyphs(), CAlignmentTrack::x_LoadAlignmentSettings(), and CAlignmentTrack::x_SaveAlignmentSettings().
CGlTextureFont CAlignmentConfig::m_LabelFont |
Definition at line 106 of file alignment_conf.hpp.
Referenced by CAlignSmearGlyph::x_Draw(), CAlignGlyph::x_DrawAlignRowSequence(), CAlignGlyph::x_DrawInternalUnalignedRegions(), CAlignGlyph::x_DrawMultiAlign(), CAlignGlyph::x_DrawMultiAlignLabel(), CAlignGlyph::x_DrawPWAlign(), CAlignGlyph::x_DrawTailGlyphs(), CAlignGlyph::x_GetTailLabelWidth(), CAlignmentTrack::x_LoadAlignmentSettings(), CAlignmentTrack::x_SaveAlignmentSettings(), CAlignGlyph::x_UpdateBoundingBox(), and CAlignSmearGlyph::x_UpdateBoundingBox().
ELabelPosition CAlignmentConfig::m_LabelPos |
Definition at line 109 of file alignment_conf.hpp.
Referenced by CAlignGlyph::x_DrawMultiAlign(), CAlignGlyph::x_DrawMultiAlignLabel(), CAlignGlyph::x_DrawPWAlign(), CAlignmentTrack::x_LoadAlignmentSettings(), CAlignmentTrack::x_SaveAlignmentSettings(), CAlignGlyph::x_ShowLabel(), and CAlignGlyph::x_UpdateBoundingBox().
CRgbaColor CAlignmentConfig::m_NonConsensus |
Definition at line 99 of file alignment_conf.hpp.
Referenced by CAlignGlyph::x_DrawNonConsensusSpliceSites(), CAlignmentTrack::x_LoadAlignmentSettings(), and CAlignmentTrack::x_SaveAlignmentSettings().
CGlTextureFont CAlignmentConfig::m_SeqFont |
Definition at line 107 of file alignment_conf.hpp.
Referenced by CAlignGlyph::x_DrawAlignRowSequence(), CAlignGlyph::x_DrawMultiAlign(), CAlignGlyph::x_DrawUnalignedRowSequence(), CAlignmentTrack::x_LoadAlignmentSettings(), and CAlignmentTrack::x_SaveAlignmentSettings().
CRgbaColor CAlignmentConfig::m_SeqMismatch |
Definition at line 94 of file alignment_conf.hpp.
Referenced by CAlignGlyph::x_DrawMultiAlign(), CAlignGlyph::x_DrawPWAlign(), CAlignmentTrack::x_LoadAlignmentSettings(), and CAlignmentTrack::x_SaveAlignmentSettings().
CRgbaColor CAlignmentConfig::m_Sequence |
Definition at line 93 of file alignment_conf.hpp.
Referenced by CAlignGlyph::x_DrawMultiAlign(), CAlignGlyph::x_DrawPWAlign(), CAlignmentTrack::x_LoadAlignmentSettings(), and CAlignmentTrack::x_SaveAlignmentSettings().
bool CAlignmentConfig::m_ShowIdenticalBases |
Definition at line 115 of file alignment_conf.hpp.
Referenced by CAlignmentTrack::OnToggleContent(), CAlignmentTrack::x_AddAlignmentLayout(), CAlignGlyph::x_DrawAlignRowSequence(), CAlignmentTrack::x_LoadAlignmentSettings(), and CAlignmentTrack::x_SaveAlignmentSettings().
bool CAlignmentConfig::m_ShowLabel |
Definition at line 114 of file alignment_conf.hpp.
Referenced by CAlignmentTrack::OnToggleContent(), CAlignmentTrack::x_AddAlignmentLayout(), CAlignSmearGlyph::x_Draw(), CAlignmentTrack::x_LoadAlignmentSettings(), CAlignmentTrack::x_LoadMPPWAlignSettings(), CAlignmentTrack::x_SaveAlignmentSettings(), CAlignGlyph::x_ShowLabel(), and CAlignSmearGlyph::x_UpdateBoundingBox().
bool CAlignmentConfig::m_ShowUnalignedTailsForTrans2GenomicAln |
Definition at line 116 of file alignment_conf.hpp.
Referenced by CAlignmentTrack::x_LoadAlignmentSettings(), CAlignmentTrack::x_LoadMPPWAlignSettings(), CAlignmentTrack::x_LoadMultiAlignSettings(), CAlignmentTrack::x_OnTailsIconClicked(), CAlignmentTrack::x_SaveAlignmentSettings(), and CAlignGlyph::x_ShowUnalignedTails().
CRgbaColor CAlignmentConfig::m_SmearColorMax |
Definition at line 101 of file alignment_conf.hpp.
Referenced by CAlignSmearGlyph::x_Draw(), CAlignmentTrack::x_LoadAlignmentSettings(), and CAlignmentTrack::x_SaveAlignmentSettings().
CRgbaColor CAlignmentConfig::m_SmearColorMin |
Definition at line 100 of file alignment_conf.hpp.
Referenced by CAlignSmearGlyph::x_Draw(), CAlignmentTrack::x_LoadAlignmentSettings(), and CAlignmentTrack::x_SaveAlignmentSettings().
CRgbaColor CAlignmentConfig::m_TailColor |
Definition at line 95 of file alignment_conf.hpp.
Referenced by CAlignGlyph::x_DrawTailGlyphs(), CAlignmentTrack::x_LoadAlignmentSettings(), and CAlignmentTrack::x_SaveAlignmentSettings().
CRgbaColor CAlignmentConfig::m_UnalignedFG |
Definition at line 102 of file alignment_conf.hpp.
Referenced by CAlignGlyph::x_DrawTailSequences(), CAlignmentTrack::x_LoadAlignmentSettings(), and CAlignmentTrack::x_SaveAlignmentSettings().
CRgbaColor CAlignmentConfig::m_UnalignedSequence |
Definition at line 103 of file alignment_conf.hpp.
Referenced by CAlignGlyph::DrawPWAlignElem(), CAlignmentTrack::x_LoadAlignmentSettings(), and CAlignmentTrack::x_SaveAlignmentSettings().
EUnalignedTailsMode CAlignmentConfig::m_UnalignedTailsMode |
Definition at line 111 of file alignment_conf.hpp.
Referenced by CAlignGlyph::DrawPWAlignElem(), CAlignGlyph::x_DrawTailGlyphs(), CAlignGlyph::x_GetTailWidth(), CAlignmentTrack::x_LoadAlignmentSettings(), CAlignmentTrack::x_LoadMPPWAlignSettings(), CAlignmentTrack::x_LoadMultiAlignSettings(), CAlignmentTrack::x_OnTailsIconClicked(), and CAlignGlyph::x_ShowUnalignedTails().