1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124
|
%ModuleHeaderCode
#include <QtCore/QtGlobal>
#include <BALL/VIEW/KERNEL/common.h>
%End
enum EventsIDs
{
MESSAGE_EVENT = 60000,
LOG_EVENT
};
enum DrawingMode
{
DRAWING_MODE_DOTS = 0,
DRAWING_MODE_WIREFRAME,
DRAWING_MODE_SOLID,
DRAWING_MODE_TOON
};
enum DrawingPrecision
{
DRAWING_PRECISION_LOW = 0,
DRAWING_PRECISION_MEDIUM,
DRAWING_PRECISION_HIGH,
DRAWING_PRECISION_ULTRA
};
enum ModelType
{
/// defines the property for the model: Lines
MODEL_LINES = 0,
/// defines the property for the model: Stick
MODEL_STICK,
/// defines the property for the model: Ball and Stick
MODEL_BALL_AND_STICK,
/// defines the property for the model: Van der Waals
MODEL_VDW,
/// defines the property for the model: solvent-excluded surface
MODEL_SE_SURFACE,
/// defines the property for the model: solvent-accessible surface
MODEL_SA_SURFACE,
/// defines the property for the model: Backbone
MODEL_BACKBONE,
/// defines the property for the model: Cartoon
MODEL_CARTOON,
/// defines the property for the model: Ribbon
MODEL_RIBBON,
/// defines the property for the model: H-Bonds
MODEL_HBONDS,
///
MODEL_FORCES,
// <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
// add new model types before this comment!!!!
// <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
/// defines the property for the model: Label
MODEL_LABEL = 100,
/// defines the property for the model: contour surface
MODEL_CONTOUR_SURFACE,
///
MODEL_GRID_SLICE,
///
MODEL_GRID_VOLUME,
///
MODEL_FIELD_LINES,
///
MODEL_INFORMATIONS,
/// defines the property for the model: proximity light
MODEL_PROXIMITY_LIGHT,
///
MODEL_PLANE,
///
MODEL_SPHERE,
/// unkown property
MODEL_UNKNOWN = 200
};
enum ColoringMethod
{
COLORING_ELEMENT = 0,
COLORING_RESIDUE_INDEX,
COLORING_RESIDUE_NAME,
COLORING_SECONDARY_STRUCTURE,
COLORING_ATOM_CHARGE,
COLORING_DISTANCE,
COLORING_TEMPERATURE_FACTOR,
COLORING_OCCUPANCY,
COLORING_FORCES,
COLORING_RESIDUE_TYPE,
COLORING_CHAIN,
COLORING_MOLECULE,
COLORING_CUSTOM,
COLORING_UNKNOWN
};
String vector3ToString(const Vector3& ) throw();
bool stringToVector3(const String&, Vector3&) throw();
String createFloatString(float, Size) throw();
MainControl* getMainControl() throw();
String createTemporaryFilename() throw();
Vector3 getNormal(const Vector3&) throw();
void logString(const String&);
Camera focusCamera(Composite*);
|