BALL
1.4.1
|
#include <BALL/VIEW/MODELS/cartoonModel.h>
AddCartoonModel class. The class AddCartoonModel is a model processor that creates a Cartoon model through the CA-atoms of the processed Composite object. For information about the processor concept see Processor in the BALL documentation.
Definition at line 28 of file cartoonModel.h.
Definition at line 33 of file cartoonModel.h.
Default Constructor.
BALL::VIEW::AddCartoonModel::AddCartoonModel | ( | const AddCartoonModel & | cartoon_model | ) |
Copy constructor.
virtual BALL::VIEW::AddCartoonModel::~AddCartoonModel | ( | ) | [virtual] |
Destructor.
void BALL::VIEW::AddCartoonModel::assignModelType | ( | ModelPart & | part | ) | [protected, virtual] |
Reimplemented from BALL::VIEW::AddBackboneModel.
bool BALL::VIEW::AddCartoonModel::assignNucleotideAtoms_ | ( | Residue & | r, |
Size | nr_atoms, | ||
String | atom_names[10], | ||
Atom * | atoms[10] | ||
) | [protected] |
void BALL::VIEW::AddCartoonModel::calculateComplementaryBases_ | ( | const Composite & | composite | ) | [protected] |
void BALL::VIEW::AddCartoonModel::calculateModelParts | ( | Protein & | protein | ) | [protected, virtual] |
Reimplemented from BALL::VIEW::AddBackboneModel.
Mesh* BALL::VIEW::AddCartoonModel::create6Ring_ | ( | vector< Vector3 > | positions | ) | [protected] |
Mesh* BALL::VIEW::AddCartoonModel::createDoubleRing_ | ( | const vector< Vector3 > & | positions | ) | [protected] |
void BALL::VIEW::AddCartoonModel::createHelix_ | ( | Position | set_first, |
Position | part_pos | ||
) | [protected] |
void BALL::VIEW::AddCartoonModel::createModel_ | ( | Position | set_pos, |
Position | part_pos | ||
) | [protected, virtual] |
Reimplemented from BALL::VIEW::AddBackboneModel.
void BALL::VIEW::AddCartoonModel::createSimpleNucleicAcid_ | ( | Position | set_pos, |
Position | part_pos | ||
) | [protected] |
void BALL::VIEW::AddCartoonModel::createStrand_ | ( | Position | set_pos, |
Position | part_pos | ||
) | [protected] |
void BALL::VIEW::AddCartoonModel::createTubeHelix_ | ( | Position | set_first, |
Position | part_pos | ||
) | [protected] |
void BALL::VIEW::AddCartoonModel::createWatsonCrickModel_ | ( | Position | set_pos, |
Position | part_pos | ||
) | [protected] |
bool BALL::VIEW::AddCartoonModel::drawDNAAsLadderModel | ( | ) | [inline] |
Definition at line 111 of file cartoonModel.h.
void BALL::VIEW::AddCartoonModel::drawRiboseAtoms_ | ( | const Atom * | atom1, |
const Atom * | atom2, | ||
const Vector3 & | v1, | ||
const Vector3 & | v2 | ||
) | [protected] |
void BALL::VIEW::AddCartoonModel::drawStrand_ | ( | const Vector3 & | start, |
Vector3 & | right, | ||
Vector3 & | hn, | ||
float | arrow_width, | ||
Position & | last_vertices, | ||
Mesh & | mesh | ||
) | [inline, protected] |
void BALL::VIEW::AddCartoonModel::enableRibbons | ( | bool | state | ) | [inline] |
Definition at line 115 of file cartoonModel.h.
float BALL::VIEW::AddCartoonModel::getArrowWidth | ( | ) | const [inline] |
Definition at line 63 of file cartoonModel.h.
float BALL::VIEW::AddCartoonModel::getDNABaseRadius | ( | ) | const [inline] |
Definition at line 87 of file cartoonModel.h.
float BALL::VIEW::AddCartoonModel::getDNAHelixRadius | ( | ) | const [inline] |
Definition at line 95 of file cartoonModel.h.
float BALL::VIEW::AddCartoonModel::getDNALadderRadius | ( | ) | const [inline] |
Definition at line 103 of file cartoonModel.h.
float BALL::VIEW::AddCartoonModel::getHelixRadius | ( | ) | const [inline] |
Definition at line 55 of file cartoonModel.h.
float BALL::VIEW::AddCartoonModel::getStrandHeight | ( | ) | const [inline] |
Definition at line 71 of file cartoonModel.h.
float BALL::VIEW::AddCartoonModel::getStrandWidth | ( | ) | const [inline] |
Definition at line 79 of file cartoonModel.h.
void BALL::VIEW::AddCartoonModel::insertTriangle_ | ( | Position | v1, |
Position | v2, | ||
Position | v3, | ||
Mesh & | mesh | ||
) | [protected] |
virtual void BALL::VIEW::AddCartoonModel::refineGuidePoints_ | ( | ) | [protected, virtual] |
Reimplemented from BALL::VIEW::AddBackboneModel.
void BALL::VIEW::AddCartoonModel::renderNucleotideOutline_ | ( | const vector< Vector3 > & | positions, |
Vector3 | uv, | ||
Mesh & | mesh | ||
) | [protected] |
bool BALL::VIEW::AddCartoonModel::ribbonsEnabled | ( | ) | const [inline] |
Definition at line 119 of file cartoonModel.h.
void BALL::VIEW::AddCartoonModel::setArrowWidth | ( | float | width | ) | [inline] |
Definition at line 59 of file cartoonModel.h.
void BALL::VIEW::AddCartoonModel::setDNABaseRadius | ( | float | r | ) | [inline] |
Definition at line 83 of file cartoonModel.h.
void BALL::VIEW::AddCartoonModel::setDNAHelixRadius | ( | float | r | ) | [inline] |
Definition at line 91 of file cartoonModel.h.
void BALL::VIEW::AddCartoonModel::setDNALadderRadius | ( | float | r | ) | [inline] |
Definition at line 99 of file cartoonModel.h.
void BALL::VIEW::AddCartoonModel::setDrawDNAAsLadderModel | ( | bool | state | ) | [inline] |
Definition at line 107 of file cartoonModel.h.
void BALL::VIEW::AddCartoonModel::setHelixRadius | ( | float | radius | ) | [inline] |
Definition at line 51 of file cartoonModel.h.
void BALL::VIEW::AddCartoonModel::setStrandHeight | ( | float | heigth | ) | [inline] |
Definition at line 67 of file cartoonModel.h.
void BALL::VIEW::AddCartoonModel::setStrandWidth | ( | float | w | ) | [inline] |
Definition at line 75 of file cartoonModel.h.
float BALL::VIEW::AddCartoonModel::arrow_width_ [protected] |
Definition at line 156 of file cartoonModel.h.
HashMap<const Residue*, const Residue*> BALL::VIEW::AddCartoonModel::complementary_bases_ [protected] |
Definition at line 168 of file cartoonModel.h.
float BALL::VIEW::AddCartoonModel::DNA_base_radius_ [protected] |
Definition at line 161 of file cartoonModel.h.
float BALL::VIEW::AddCartoonModel::DNA_helix_radius_ [protected] |
Definition at line 159 of file cartoonModel.h.
float BALL::VIEW::AddCartoonModel::DNA_ladder_radius_ [protected] |
Definition at line 160 of file cartoonModel.h.
bool BALL::VIEW::AddCartoonModel::draw_DNA_as_ladder_ [protected] |
Definition at line 165 of file cartoonModel.h.
bool BALL::VIEW::AddCartoonModel::draw_ribbon_ [protected] |
Definition at line 166 of file cartoonModel.h.
float BALL::VIEW::AddCartoonModel::helix_height_ [protected] |
Definition at line 154 of file cartoonModel.h.
float BALL::VIEW::AddCartoonModel::helix_radius_ [protected] |
Definition at line 153 of file cartoonModel.h.
float BALL::VIEW::AddCartoonModel::helix_width_ [protected] |
Definition at line 155 of file cartoonModel.h.
float BALL::VIEW::AddCartoonModel::ribbon_radius_ [protected] |
Definition at line 163 of file cartoonModel.h.
float BALL::VIEW::AddCartoonModel::ribbon_width_ [protected] |
Reimplemented from BALL::VIEW::AddBackboneModel.
Definition at line 162 of file cartoonModel.h.
float BALL::VIEW::AddCartoonModel::strand_height_ [protected] |
Definition at line 158 of file cartoonModel.h.
float BALL::VIEW::AddCartoonModel::strand_width_ [protected] |
Definition at line 157 of file cartoonModel.h.