#include <SequenceCanvas.h>
Inheritance diagram for SeqDNA:
Public Member Functions | |
SeqDNA (SequenceCanvas *ncan=NULL) | |
Constructor. | |
virtual int | arrange (int n) |
Arrange "chars" as line n. | |
virtual void | show (wxDC &dc) |
Arrange "chars" as line n. | |
virtual void | initFromTVector (TVector *v) |
Set from a TVector class. | |
virtual wxString | whatsthis () |
Returns the linetype. | |
virtual wxPoint | showText (int ystart, wxArrayString &tout) |
Show as text (rarely used). | |
virtual wxColor | getBaseColor (char b) |
Returns the color to draw a base/nucleotide in. | |
virtual int | arrange_direct (int n) |
Arrange quickly (bypassing SeqPos). | |
virtual void | show_direct (wxDC &dc) |
Show quickly. | |
virtual void | makeEndnumberLength () |
Calculates the width needed for the leading numbers. | |
virtual bool | useDirectRoutines () |
Do we draw directly (or do we use SeqPos)? | |
virtual int | getMarkSize () |
Returns the length of the SeqPos marked part of the sequence. | |
virtual int | getRectSize () |
Returns the number of SeqPos rectangles. | |
virtual wxRect | getRect (int i) |
Returns the SeqPos rect for a "char". | |
virtual int | getMark (int i) |
Returns the mark value for a "char". | |
virtual void | setMark (int i, int v) |
Sets the marking of a "char". | |
virtual int | getPos (int i) |
Returns the internal ID of the "char". | |
virtual void | setPos (int i, int v) |
Sets the internal ID of the "char". | |
virtual int | getLine (int y) |
Returns the line number for the y position. | |
virtual int | getItem (wxPoint pt, int line) |
Returns the "char" at that position. | |
Public Attributes | |
TVector * | vec |
Pointer to the vector containing the DNA sequence. | |
bool | showNumbers |
Show leading numbers? (Not for IDNA, for example). | |
wxColour | fontColor |
The default font color. | |
wxString | alternateName |
An alternate name, to display instead of the leading numbers. | |
bool | invers |
This sequence is inverse DNA. |
|
Constructor.
|
|
Arrange "chars" as line n.
Reimplemented from SeqBasic. |
|
Arrange quickly (bypassing SeqPos).
Reimplemented from SeqBasic. Reimplemented in SeqPrimer, SeqABI, SeqFeature, and SeqPlot. |
|
Returns the color to draw a base/nucleotide in.
Reimplemented in SeqABI. |
|
Returns the "char" at that position.
Reimplemented from SeqBasic. |
|
Returns the line number for the y position.
Reimplemented from SeqBasic. |
|
Returns the mark value for a "char".
Reimplemented from SeqBasic. |
|
Returns the length of the SeqPos marked part of the sequence.
Reimplemented from SeqBasic. |
|
Returns the internal ID of the "char".
Reimplemented from SeqBasic. |
|
Returns the SeqPos rect for a "char".
Reimplemented from SeqBasic. |
|
Returns the number of SeqPos rectangles.
Reimplemented from SeqBasic. |
|
Set from a TVector class.
Reimplemented from SeqBasic. Reimplemented in SeqPrimer, SeqFeature, and SeqPlot. |
|
Calculates the width needed for the leading numbers.
Reimplemented from SeqBasic. |
|
Sets the marking of a "char".
Reimplemented from SeqBasic. |
|
Sets the internal ID of the "char".
Reimplemented from SeqBasic. |
|
Arrange "chars" as line n.
Reimplemented from SeqBasic. Reimplemented in SeqPrimer, SeqABI, SeqFeature, and SeqPlot. |
|
Show quickly.
Reimplemented from SeqBasic. Reimplemented in SeqPrimer, SeqABI, SeqFeature, and SeqPlot. |
|
Show as text (rarely used).
Reimplemented from SeqBasic. |
|
Do we draw directly (or do we use SeqPos)?
Reimplemented from SeqBasic. Reimplemented in SeqPrimer, SeqABI, SeqFeature, and SeqPlot. |
|
Returns the linetype.
Reimplemented from SeqBasic. Reimplemented in SeqPrimer, SeqABI, SeqFeature, and SeqPlot. |
|
An alternate name, to display instead of the leading numbers.
|
|
The default font color.
|
|
This sequence is inverse DNA.
|
|
Show leading numbers? (Not for IDNA, for example).
|
|
Pointer to the vector containing the DNA sequence.
|