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

TRestrictionCut Class Reference

Stores a specific cut of a restriction enzyme. More...

#include <RestrictionEnzymes.h>

List of all members.

Public Member Functions

 TRestrictionCut (int _pos, TRestrictionEnzyme *_e, bool _first_strand=true)
 ~TRestrictionCut ()
void linearUpdate (int w, int h)
 Dummy destructor.
wxString getNameAndPosition ()
 Returns the enzyme name and cut pusition.
bool isHidden (TVector *v)
 Is this enzyme in this TVector hidden?
wxString getDisplayName ()
 Returns the enzyme name (or the joined names).
bool join (TRestrictionCut *c)
 Merges a cut with an isoenzyme for simplified display.
wxString getEndUpperLeft ()
 The "upper left" sequence after the cut.
wxString getEndLowerLeft ()
 The "lower left" sequence after the cut.
wxString getEndUpperRight ()
 The "upper right" sequence after the cut.
wxString getEndLowerRight ()
 The "lower right" sequence after the cut.
int getCut ()
int getOverlap ()
int getPos ()
void setPos (int p)
int getFrom ()
int getTo ()
wxString getSequence ()

Public Attributes

TRestrictionEnzymee
 Cutting enzyme.
wxString display_name
 The name to display.
float angle
float angle3
float r1
float r2
float r3
wxRect lastrect
wxPoint p
wxPoint lp
wxTreeItemId treeid
 ID of the cut in the TVectorTree.

Private Attributes

int pos
 Position of the cut.
bool first_strand


Detailed Description

Stores a specific cut of a restriction enzyme.


Constructor & Destructor Documentation

TRestrictionCut::TRestrictionCut int  _pos,
TRestrictionEnzyme _e,
bool  _first_strand = true
[inline]
 

Parameters:
_first_strand  Constructor

TRestrictionCut::~TRestrictionCut  )  [inline]
 


Member Function Documentation

int TRestrictionCut::getCut  ) 
 

wxString TRestrictionCut::getDisplayName  ) 
 

Returns the enzyme name (or the joined names).

wxString TRestrictionCut::getEndLowerLeft  ) 
 

The "lower left" sequence after the cut.

wxString TRestrictionCut::getEndLowerRight  ) 
 

The "lower right" sequence after the cut.

wxString TRestrictionCut::getEndUpperLeft  ) 
 

The "upper left" sequence after the cut.

wxString TRestrictionCut::getEndUpperRight  ) 
 

The "upper right" sequence after the cut.

int TRestrictionCut::getFrom  ) 
 

wxString TRestrictionCut::getNameAndPosition  ) 
 

Returns the enzyme name and cut pusition.

int TRestrictionCut::getOverlap  ) 
 

int TRestrictionCut::getPos  ) 
 

wxString TRestrictionCut::getSequence  ) 
 

int TRestrictionCut::getTo  ) 
 

bool TRestrictionCut::isHidden TVector v  ) 
 

Is this enzyme in this TVector hidden?

bool TRestrictionCut::join TRestrictionCut c  ) 
 

Merges a cut with an isoenzyme for simplified display.

Parameters:
c The restriction cut to merge

void TRestrictionCut::linearUpdate int  w,
int  h
 

Dummy destructor.

Parameters:
w Screen width
h Screen height

void TRestrictionCut::setPos int  p  ) 
 


Member Data Documentation

float TRestrictionCut::angle
 

float TRestrictionCut::angle3
 

wxString TRestrictionCut::display_name
 

The name to display.

TRestrictionEnzyme* TRestrictionCut::e
 

Cutting enzyme.

bool TRestrictionCut::first_strand [private]
 

wxRect TRestrictionCut::lastrect
 

wxPoint TRestrictionCut::lp
 

wxPoint TRestrictionCut::p
 

int TRestrictionCut::pos [private]
 

Position of the cut.

float TRestrictionCut::r1
 

float TRestrictionCut::r2
 

float TRestrictionCut::r3
 

wxTreeItemId TRestrictionCut::treeid
 

ID of the cut in the TVectorTree.


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