CycloBranch
|
Visualization of a branch-cyclic peptide. More...
#include <math.h>
#include <QWidget>
#include <QPalette>
#include "core/cTheoreticalSpectrum.h"
#include "gui/cLinearWidget.h"
#include "gui/cCyclicWidget.h"
Go to the source code of this file.
Classes | |
class | cBranchCyclicWidget |
Visualization of a branch-cyclic peptide. More... | |
Functions | |
void | generateBranchLabelsDown (bool nterminal, int rotationid, unordered_set< cIonLabel, hash_cIonLabel > &labels, cParameters *parameters, cTheoreticalSpectrum *theoreticalspectrum, int centerx, int topmargin, int horizontalstep, int verticalstep, string visibleionseries, string visibleneutralloss, int visiblerotationid, int branchstart) |
Generate labels of fragment ions on a branch of a branch-cyclic peptide (direction down). More... | |
void | generateBranchLabelsUp (bool nterminal, int rotationid, unordered_set< cIonLabel, hash_cIonLabel > &labels, cParameters *parameters, cTheoreticalSpectrum *theoreticalspectrum, int centerx, int topmargin, int horizontalstep, int verticalstep, string visibleionseries, string visibleneutralloss, int visiblerotationid, int branchend, int fragmentend) |
Generate labels of fragment ions on a branch of a branch-cyclic peptide (direction up). More... | |
Visualization of a branch-cyclic peptide.
void generateBranchLabelsDown | ( | bool | nterminal, |
int | rotationid, | ||
unordered_set< cIonLabel, hash_cIonLabel > & | labels, | ||
cParameters * | parameters, | ||
cTheoreticalSpectrum * | theoreticalspectrum, | ||
int | centerx, | ||
int | topmargin, | ||
int | horizontalstep, | ||
int | verticalstep, | ||
string | visibleionseries, | ||
string | visibleneutralloss, | ||
int | visiblerotationid, | ||
int | branchstart | ||
) |
Generate labels of fragment ions on a branch of a branch-cyclic peptide (direction down).
nterminal | if true only nterminal fragment ions are drawn, if false only cterminal fragment ions are drawn |
rotationid | id of a sequence rotation |
labels | labels of fragment ions |
parameters | a pointer to parameters of the application |
theoreticalspectrum | a theoretical spectrum |
centerx | x coordinate of a center of the ring |
topmargin | top margin in pixels |
horizontalstep | horizontal step (determine width of blocks) |
verticalstep | vertical step (determine height of blocks) |
visibleionseries | name of a ion series to be visualized |
visibleneutralloss | name of a neutral loss to be visualized |
visiblerotationid | id of a rotation whose fragment ions are visualized |
branchstart | starting position of a branch |
void generateBranchLabelsUp | ( | bool | nterminal, |
int | rotationid, | ||
unordered_set< cIonLabel, hash_cIonLabel > & | labels, | ||
cParameters * | parameters, | ||
cTheoreticalSpectrum * | theoreticalspectrum, | ||
int | centerx, | ||
int | topmargin, | ||
int | horizontalstep, | ||
int | verticalstep, | ||
string | visibleionseries, | ||
string | visibleneutralloss, | ||
int | visiblerotationid, | ||
int | branchend, | ||
int | fragmentend | ||
) |
Generate labels of fragment ions on a branch of a branch-cyclic peptide (direction up).
nterminal | if true only nterminal fragment ions are drawn, if false only cterminal fragment ions are drawn |
rotationid | id of a sequence rotation |
labels | labels of fragment ions |
parameters | a pointer to parameters of the application |
theoreticalspectrum | a theoretical spectrum |
centerx | x coordinate of a center of the ring |
topmargin | top margin in pixels |
horizontalstep | horizontal step (determine width of blocks) |
verticalstep | vertical step (determine height of blocks) |
visibleionseries | name of a ion series to be visualized |
visibleneutralloss | name of a neutral loss to be visualized |
visiblerotationid | id of a rotation whose fragment ions are visualized |
branchend | end position of a branch |
fragmentend | last fragment to draw |