#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.
BALL::VIEW::AddCartoonModel::AddCartoonModel | ( | ) |
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::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::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] |
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] |
float BALL::VIEW::AddCartoonModel::getArrowWidth | ( | ) | const [inline] |
float BALL::VIEW::AddCartoonModel::getDNABaseRadius | ( | ) | const [inline] |
float BALL::VIEW::AddCartoonModel::getDNAHelixRadius | ( | ) | const [inline] |
float BALL::VIEW::AddCartoonModel::getDNALadderRadius | ( | ) | const [inline] |
float BALL::VIEW::AddCartoonModel::getHelixRadius | ( | ) | const [inline] |
float BALL::VIEW::AddCartoonModel::getStrandHeight | ( | ) | const [inline] |
float BALL::VIEW::AddCartoonModel::getStrandWidth | ( | ) | const [inline] |
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] |
void BALL::VIEW::AddCartoonModel::setArrowWidth | ( | float | width | ) | [inline] |
void BALL::VIEW::AddCartoonModel::setDNABaseRadius | ( | float | r | ) | [inline] |
void BALL::VIEW::AddCartoonModel::setDNAHelixRadius | ( | float | r | ) | [inline] |
void BALL::VIEW::AddCartoonModel::setDNALadderRadius | ( | float | r | ) | [inline] |
void BALL::VIEW::AddCartoonModel::setDrawDNAAsLadderModel | ( | bool | state | ) | [inline] |
void BALL::VIEW::AddCartoonModel::setHelixRadius | ( | float | radius | ) | [inline] |
void BALL::VIEW::AddCartoonModel::setStrandHeight | ( | float | heigth | ) | [inline] |
void BALL::VIEW::AddCartoonModel::setStrandWidth | ( | float | w | ) | [inline] |
float BALL::VIEW::AddCartoonModel::arrow_width_ [protected] |
HashMap<const Residue*, const Residue*> BALL::VIEW::AddCartoonModel::complementary_bases_ [protected] |
float BALL::VIEW::AddCartoonModel::DNA_base_radius_ [protected] |
float BALL::VIEW::AddCartoonModel::DNA_helix_radius_ [protected] |
float BALL::VIEW::AddCartoonModel::DNA_ladder_radius_ [protected] |
bool BALL::VIEW::AddCartoonModel::draw_DNA_as_ladder_ [protected] |
bool BALL::VIEW::AddCartoonModel::draw_ribbon_ [protected] |
float BALL::VIEW::AddCartoonModel::helix_height_ [protected] |
float BALL::VIEW::AddCartoonModel::helix_radius_ [protected] |
float BALL::VIEW::AddCartoonModel::helix_width_ [protected] |
float BALL::VIEW::AddCartoonModel::ribbon_radius_ [protected] |
float BALL::VIEW::AddCartoonModel::ribbon_width_ [protected] |
Reimplemented from BALL::VIEW::AddBackboneModel.
float BALL::VIEW::AddCartoonModel::strand_height_ [protected] |
float BALL::VIEW::AddCartoonModel::strand_width_ [protected] |