|
BALL
1.4.2
|
#include <BALL/VIEW/MODELS/cartoonModel.h>
Public Types | |
| enum | Types { STRAND = NUCLEIC_ACID + 1, HELIX } |
Public Member Functions | |
| AddCartoonModel () | |
| Default Constructor. More... | |
| AddCartoonModel (const AddCartoonModel &cartoon_model) | |
| Copy constructor. More... | |
| virtual | ~AddCartoonModel () |
| Destructor. More... | |
| void | setHelixRadius (float radius) |
| float | getHelixRadius () const |
| void | setArrowWidth (float width) |
| float | getArrowWidth () const |
| void | setStrandHeight (float heigth) |
| float | getStrandHeight () const |
| void | setStrandWidth (float w) |
| float | getStrandWidth () const |
| void | setDNABaseRadius (float r) |
| float | getDNABaseRadius () const |
| void | setDNAHelixRadius (float r) |
| float | getDNAHelixRadius () const |
| void | setDNALadderRadius (float r) |
| float | getDNALadderRadius () const |
| void | setDrawDNAAsLadderModel (bool state) |
| bool | drawDNAAsLadderModel () |
| void | enableRibbons (bool state) |
| bool | ribbonsEnabled () const |
Public Member Functions inherited from BALL::VIEW::AddBackboneModel | |
| AddBackboneModel () | |
| Default Constructor. More... | |
| AddBackboneModel (const AddBackboneModel &add_Backbone_model) | |
| Copy constructor. More... | |
| virtual | ~AddBackboneModel () |
| Destructor. More... | |
| virtual void | clear () |
| virtual bool | start () |
| virtual Processor::Result | operator() (Composite &composite) |
| virtual void | dump (std::ostream &s=std::cout, Size depth=0) const |
| void | setTubeRadius (float radius) |
| float | getTubeRadius () const |
| virtual bool | createGeometricObjects () |
| void | setRibbonMode (bool state) |
| bool | ribbonModeEnabled () const |
Public Member Functions inherited from BALL::VIEW::ModelProcessor | |
| ModelProcessor () | |
| ModelProcessor (const ModelProcessor &model_processor) | |
| virtual | ~ModelProcessor () |
| virtual bool | isValid () const |
| virtual void | clearComposites () |
| GeometricObjectList & | getGeometricObjects () |
| Return the list with the created geometric objects. More... | |
| const GeometricObjectList & | getGeometricObjects () const |
| Return the list with the created geometric objects. More... | |
| void | setDrawingPrecision (Index precision) |
| Index | getDrawingPrecision () const |
| void | setSurfaceDrawingPrecision (float precision) |
| float | getSurfaceDrawingPrecision () const |
Public Member Functions inherited from BALL::UnaryProcessor< Composite > | |
| UnaryProcessor () | |
| UnaryProcessor (const UnaryProcessor &) | |
| virtual | ~UnaryProcessor () |
| virtual bool | finish () |
Public Member Functions inherited from BALL::PropertyManager | |
| BALL_INLINE | PropertyManager () |
| Default constructor. More... | |
| BALL_INLINE | PropertyManager (const PropertyManager &property_manager) |
| Copy constructor. More... | |
| virtual | ~PropertyManager () |
| Destructor. More... | |
| virtual void | destroy () |
| Clears all properties. More... | |
| void | set (const PropertyManager &property_manager) |
| const PropertyManager & | operator= (const PropertyManager &property_manager) |
| void | get (PropertyManager &property_manager) const |
| void | swap (PropertyManager &property_manager) |
| BitVector & | getBitVector () |
| const BitVector & | getBitVector () const |
| operator BitVector & () | |
| void | setProperty (Property property) |
| void | clearProperty (Property property) |
| void | toggleProperty (Property property) |
| Size | countProperties () const |
| const NamedProperty & | getNamedProperty (Position index) const |
| NamedProperty & | getNamedProperty (Position index) |
| void | setProperty (const NamedProperty &property) |
| void | setProperty (const string &name) |
| void | setProperty (const string &name, bool value) |
| void | setProperty (const string &name, int value) |
| void | setProperty (const string &name, unsigned int value) |
| void | setProperty (const string &name, float value) |
| void | setProperty (const string &name, double value) |
| void | setProperty (const string &name, const string &value) |
| void | setProperty (const string &name, const PersistentObject &value) |
| const NamedProperty & | getProperty (const string &name) const |
| NamedPropertyIterator | beginNamedProperty () |
| NamedPropertyIterator | endNamedProperty () |
| void | clearProperty (const string &name) |
| Size | countNamedProperties () const |
| bool | hasProperty (Property property) const |
| Query for an unnamed property. More... | |
| bool | hasProperty (const string &name) const |
| Query for a named property. More... | |
| bool | operator== (const PropertyManager &pm) const |
| bool | operator!= (const PropertyManager &pm) const |
| Inequality operator. More... | |
| void | write (PersistenceManager &pm) const |
| Persistent stream writing. More... | |
| bool | read (PersistenceManager &pm) |
| Persistent stream reading. More... | |
| bool | isValid () const |
| void | dump (std::ostream &s=std::cout, Size depth=0) const |
Protected Member Functions | |
| void | insertTriangle_ (Position v1, Position v2, Position v3, Mesh &mesh) |
| void | drawStrand_ (const Vector3 &start, Vector3 &right, Vector3 &hn, float arrow_width, Position &last_vertices, Mesh &mesh) |
| void | calculateComplementaryBases_ (const Composite &composite) |
| bool | assignNucleotideAtoms_ (Residue &r, Size nr_atoms, String atom_names[10], Atom *atoms[10]) |
| void | drawRiboseAtoms_ (const Atom *atom1, const Atom *atom2, const Vector3 &v1, const Vector3 &v2) |
| void | calculateModelParts (Protein &protein) |
| void | assignModelType (ModelPart &part) |
| void | createModel_ (Position set_pos, Position part_pos) |
| void | createStrand_ (Position set_pos, Position part_pos) |
| void | createHelix_ (Position set_first, Position part_pos) |
| void | createTubeHelix_ (Position set_first, Position part_pos) |
| void | createWatsonCrickModel_ (Position set_pos, Position part_pos) |
| void | createSimpleNucleicAcid_ (Position set_pos, Position part_pos) |
| void | renderNucleotideOutline_ (const vector< Vector3 > &positions, Vector3 uv, Mesh &mesh) |
| Mesh * | createDoubleRing_ (const vector< Vector3 > &positions) |
| Mesh * | create6Ring_ (vector< Vector3 > positions) |
| virtual void | refineGuidePoints_ () |
Protected Member Functions inherited from BALL::VIEW::AddBackboneModel | |
| virtual bool | collectPositions (vector< Residue * > residues) |
| virtual void | calculateGuidePoints_ () |
| virtual void | createTube_ (Position set_pos, Position model_pos) |
| virtual void | createRibbon_ (Position set_pos, Position model_pos) |
| virtual void | interpolate_ () |
| virtual void | refineModelParts_ () |
| virtual void | clear_ () |
| void | evaluateBSpline (const Vector3 &v1, const Vector3 &v2, const Vector3 &v3, float x, Vector3 &result) |
| bool | residuesAreConnected_ (Residue &residue1, Residue &residue2) |
| void | calculateTubePoints_ (Vector3 right, Vector3 dir, vector< Vector3 > &points) |
| void | calculateRibbonPoints_ (Vector3 xn, Vector3 dir, vector< Vector3 > &points) |
| void | calculateRibbonEllipse_ (float ribbon_width, float ribbon_height) |
Additional Inherited Members | |
Protected Types inherited from BALL::VIEW::AddBackboneModel | |
| enum | ModelTypes { TUBE, RIBBON, NUCLEIC_ACID } |
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.
| Enumerator | |
|---|---|
| STRAND | |
| HELIX | |
Definition at line 33 of file cartoonModel.h.
| BALL::VIEW::AddCartoonModel::AddCartoonModel | ( | ) |
Default Constructor.
| BALL::VIEW::AddCartoonModel::AddCartoonModel | ( | const AddCartoonModel & | cartoon_model | ) |
Copy constructor.
|
virtual |
Destructor.
|
protectedvirtual |
Reimplemented from BALL::VIEW::AddBackboneModel.
|
protected |
|
protected |
|
protectedvirtual |
Reimplemented from BALL::VIEW::AddBackboneModel.
|
protected |
|
protectedvirtual |
Reimplemented from BALL::VIEW::AddBackboneModel.
|
protected |
|
protected |
|
protected |
|
inline |
Definition at line 111 of file cartoonModel.h.
|
protected |
|
inlineprotected |
|
inline |
Definition at line 115 of file cartoonModel.h.
|
inline |
Definition at line 63 of file cartoonModel.h.
|
inline |
Definition at line 87 of file cartoonModel.h.
|
inline |
Definition at line 95 of file cartoonModel.h.
|
inline |
Definition at line 103 of file cartoonModel.h.
|
inline |
Definition at line 55 of file cartoonModel.h.
|
inline |
Definition at line 71 of file cartoonModel.h.
|
inline |
Definition at line 79 of file cartoonModel.h.
|
protected |
|
protectedvirtual |
Reimplemented from BALL::VIEW::AddBackboneModel.
|
protected |
|
inline |
Definition at line 119 of file cartoonModel.h.
|
inline |
Definition at line 59 of file cartoonModel.h.
|
inline |
Definition at line 83 of file cartoonModel.h.
|
inline |
Definition at line 91 of file cartoonModel.h.
|
inline |
Definition at line 99 of file cartoonModel.h.
|
inline |
Definition at line 107 of file cartoonModel.h.
|
inline |
Definition at line 51 of file cartoonModel.h.
|
inline |
Definition at line 67 of file cartoonModel.h.
|
inline |
Definition at line 75 of file cartoonModel.h.
|
protected |
Definition at line 156 of file cartoonModel.h.
Definition at line 168 of file cartoonModel.h.
|
protected |
Definition at line 161 of file cartoonModel.h.
|
protected |
Definition at line 159 of file cartoonModel.h.
|
protected |
Definition at line 160 of file cartoonModel.h.
|
protected |
Definition at line 165 of file cartoonModel.h.
|
protected |
Definition at line 166 of file cartoonModel.h.
|
protected |
Definition at line 154 of file cartoonModel.h.
|
protected |
Definition at line 153 of file cartoonModel.h.
|
protected |
Definition at line 155 of file cartoonModel.h.
|
protected |
Definition at line 163 of file cartoonModel.h.
|
protected |
Definition at line 162 of file cartoonModel.h.
|
protected |
Definition at line 158 of file cartoonModel.h.
|
protected |
Definition at line 157 of file cartoonModel.h.
1.8.3.1