Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

SeqAAstructure Class Reference

Sequence display class showing amino acids. More...

#include <SequenceCanvas.h>

Inheritance diagram for SeqAAstructure:

SeqBasic List of all members.

Public Member Functions

 SeqAAstructure (SequenceCanvas *ncan=NULL, SeqAA *_aa=NULL)
virtual wxString whatsthis ()
 Returns the linetype.
virtual ~SeqAAstructure ()
virtual int arrange (int n)
 Arrange "chars" as line n.
virtual void show (wxDC &dc)

Public Attributes


Private Member Functions

void draw_amino_acid (wxDC &dc, char as, int x, int y, int w, int h)
void add_atom (vector< wxPoint > &atom_pos, wxString &atom_type, char atom, int x, int y)
void add_bond (vector< wxPoint > &bond, int from, int to, bool double_bond=false)

Private Attributes

wxBrush * brush_C
wxBrush * brush_N
wxBrush * brush_S
wxBrush * brush_O
wxPen * pen_C
wxPen * pen_N
wxPen * pen_S
wxPen * pen_O

Detailed Description

Sequence display class showing amino acids.

Constructor & Destructor Documentation

SeqAAstructure::SeqAAstructure SequenceCanvas ncan = NULL,
SeqAA _aa = NULL

SeqAAstructure::~SeqAAstructure  )  [virtual]


Member Function Documentation

void SeqAAstructure::add_atom vector< wxPoint > &  atom_pos,
wxString &  atom_type,
char  atom,
int  x,
int  y

void SeqAAstructure::add_bond vector< wxPoint > &  bond,
int  from,
int  to,
bool  double_bond = false

int SeqAAstructure::arrange int  n  )  [virtual]

Arrange "chars" as line n.

Reimplemented from SeqBasic.

void SeqAAstructure::draw_amino_acid wxDC &  dc,
char  as,
int  x,
int  y,
int  w,
int  h

void SeqAAstructure::show wxDC &  dc  )  [virtual]


Reimplemented from SeqBasic.

virtual wxString SeqAAstructure::whatsthis  )  [inline, virtual]

Returns the linetype.

Reimplemented from SeqBasic.

Member Data Documentation

SeqAA* SeqAAstructure::aa

wxBrush* SeqAAstructure::brush_C [private]

wxBrush * SeqAAstructure::brush_N [private]

wxBrush * SeqAAstructure::brush_O [private]

wxBrush * SeqAAstructure::brush_S [private]

wxPen* SeqAAstructure::pen_C [private]

wxPen * SeqAAstructure::pen_N [private]

wxPen * SeqAAstructure::pen_O [private]

wxPen * SeqAAstructure::pen_S [private]

The documentation for this class was generated from the following files:
Generated on Fri Aug 11 16:19:45 2006 for GENtle by  doxygen 1.4.1