|
BALL
1.4.2
|
Typedefs | |
| typedef TRegularData3D< Vector3 > | VectorGrid |
| typedef QFlags< InputDeviceButton > | InputDeviceButtons |
| typedef std::list < GeometricObject * > | GeometricObjectList |
| typedef std::list < Representation * > | RepresentationList |
| typedef std::vector < FrameBufferFormat > | BufferFormatList |
| typedef boost::shared_ptr < FrameBuffer > | FrameBufferPtr |
| typedef RenderWindow< float > | t_RenderWindow |
Enumerations | |
| enum | InputDeviceButton { BUTTON1 = 1 << 0, BUTTON2 = 1 << 1, BUTTON3 = 1 << 2, BUTTON4 = 1 << 3, BUTTON5 = 1 << 4, BUTTON6 = 1 << 5, BUTTON7 = 1 << 6, BUTTON8 = 1 << 7, BUTTON9 = 1 << 8, BUTTON10 = 1 << 9, BUTTON11 = 1 << 10, BUTTON12 = 1 << 11 } |
| enum | TutorialSteps { TUTORIAL_PEPTIDE = 1, TUTORIAL_ROTATE, TUTORIAL_HIERARCHY, TUTORIAL_MDS, TUTORIAL_TRAJECTORY, TUTORIAL_ES, TUTORIAL_SES, TUTORIAL_SES_COLORING, TUTORIAL_CS } |
General enumerations, methods and typedefs | |
These predefined types are used in VIEW for portability and comprehensibility. | |
| enum | EventsIDs { MESSAGE_EVENT = 60000, LOG_EVENT, TRANSFORMATION_EVENT_6D, HEADTRACKING_EVENT, MOTIONTRACKING_EVENT, BUTTON_PRESS_EVENT, BUTTON_RELEASE_EVENT, NOTIFICATION_EVENT } |
Functions | |
| std::ostream & | operator<< (std::ostream &o, const PixelFormat &f) |
| std::ostream & | operator<< (std::ostream &o, const FrameBufferFormat &f) |
Variables | |
| ColorRGBA | BALL_SELECTED_COLOR |
| PreciseTime | BALL_SELECTED_COLOR_CHANGE_TIME |
| typedef std::vector<FrameBufferFormat> BALL::VIEW::BufferFormatList |
Definition at line 171 of file renderTarget.h.
| typedef boost::shared_ptr<FrameBuffer> BALL::VIEW::FrameBufferPtr |
Definition at line 222 of file renderTarget.h.
| typedef std::list<GeometricObject*> BALL::VIEW::GeometricObjectList |
Definition at line 185 of file geometricObject.h.
| typedef QFlags<InputDeviceButton> BALL::VIEW::InputDeviceButtons |
Definition at line 28 of file buttonEvent.h.
| typedef std::list<Representation*> BALL::VIEW::RepresentationList |
Definition at line 342 of file representation.h.
| typedef RenderWindow<float> BALL::VIEW::t_RenderWindow |
Definition at line 104 of file renderWindow.h.
| typedef TRegularData3D<Vector3> BALL::VIEW::VectorGrid |
Definition at line 251 of file standardDatasets.h.
Enumeration for Coloring Methods. Add new coloring methods before COLORING_CUSTOM.
Definition at line 230 of file VIEW/KERNEL/common.h.
Enumeration for Drawing Modes.
| Enumerator | |
|---|---|
| DRAWING_MODE_DOTS | |
| DRAWING_MODE_WIREFRAME | |
| DRAWING_MODE_SOLID | |
| DRAWING_MODE_TOON | |
Definition at line 106 of file VIEW/KERNEL/common.h.
Enumeration for Drawing Precisions.
| Enumerator | |
|---|---|
| DRAWING_PRECISION_INVALID | |
| DRAWING_PRECISION_LOW | |
| DRAWING_PRECISION_MEDIUM | |
| DRAWING_PRECISION_HIGH | |
| DRAWING_PRECISION_ULTRA | |
Definition at line 125 of file VIEW/KERNEL/common.h.
Enumeration of Events These events are used to communicate between different threads. Have a look at QWidget::customEvent(QEvent*) to learn about QT and its events concept. This enum is used to give every type of derived QEvent its individual type id.
| Enumerator | |
|---|---|
| MESSAGE_EVENT |
An event with a contained VIEW message. |
| LOG_EVENT |
Event to print output from a Thread. |
| TRANSFORMATION_EVENT_6D |
Event that encodes a 6 dimensional transformation. |
| HEADTRACKING_EVENT |
Event that encodes a head tracker position change. |
| MOTIONTRACKING_EVENT |
Event that encodes a motion tracker position change. |
| BUTTON_PRESS_EVENT |
Event for button press events of custom input devices. |
| BUTTON_RELEASE_EVENT |
Event for button press events of custom input devices. |
| NOTIFICATION_EVENT |
Event for passing BALL Messages accross threads. |
Definition at line 71 of file VIEW/KERNEL/common.h.
| Enumerator | |
|---|---|
| BUTTON1 | |
| BUTTON2 | |
| BUTTON3 | |
| BUTTON4 | |
| BUTTON5 | |
| BUTTON6 | |
| BUTTON7 | |
| BUTTON8 | |
| BUTTON9 | |
| BUTTON10 | |
| BUTTON11 | |
| BUTTON12 | |
Definition at line 13 of file buttonEvent.h.
This properties define the available models. Add new model entries directly before MODEL_LABEL if you want them to show up in the DisplayProperties dialog! You may have to modify the following methods, if you add a new ModelType:
| Enumerator | |
|---|---|
| MODEL_LINES |
defines the property for the model: Lines |
| MODEL_STICK |
defines the property for the model: Stick |
| MODEL_BALL_AND_STICK |
defines the property for the model: Ball and Stick |
| MODEL_VDW |
defines the property for the model: Van der Waals |
| MODEL_SE_SURFACE |
defines the property for the model: solvent-excluded surface |
| MODEL_SA_SURFACE |
defines the property for the model: solvent-accessible surface |
| MODEL_BACKBONE |
defines the property for the model: Backbone |
| MODEL_CARTOON |
defines the property for the model: Cartoon |
| MODEL_RIBBON |
defines the property for the model: Ribbon |
| MODEL_HBONDS |
defines the property for the model: H-Bonds |
| MODEL_FORCES | |
| MODEL_LABEL |
defines the property for the model: Label |
| MODEL_CONTOUR_SURFACE |
defines the property for the model: contour surface |
| MODEL_GRID_SLICE | |
| MODEL_GRID_VOLUME | |
| MODEL_FIELD_LINES | |
| MODEL_INFORMATIONS | |
| MODEL_COORDINATE_SYSTEM | |
| MODEL_UNKNOWN |
unkown property |
Definition at line 162 of file VIEW/KERNEL/common.h.
| Enumerator | |
|---|---|
| TUTORIAL_PEPTIDE | |
| TUTORIAL_ROTATE | |
| TUTORIAL_HIERARCHY | |
| TUTORIAL_MDS | |
| TUTORIAL_TRAJECTORY | |
| TUTORIAL_ES | |
| TUTORIAL_SES | |
| TUTORIAL_SES_COLORING | |
| TUTORIAL_CS | |
Definition at line 40 of file demoTutorialDialog.C.
| BALL_VIEW_EXPORT String BALL::VIEW::ascii | ( | const QString & | str | ) |
| BALL_VIEW_EXPORT void BALL::VIEW::calculateHistogramEqualization | ( | const vector< float > & | values, |
| vector< float > & | normalized_values, | ||
| bool | use_absolute_values = false |
||
| ) |
| BALL_VIEW_EXPORT void BALL::VIEW::calculateRandomPoints | ( | const RegularData3D & | grid, |
| Size | nr_points, | ||
| vector< Vector3 > & | resulting_points | ||
| ) |
calcualte a random set of points, dependening of the field strength of a grid
| BALL_VIEW_EXPORT QColor BALL::VIEW::chooseColor | ( | QLabel * | label | ) |
| BALL_VIEW_EXPORT String BALL::VIEW::createFloatString | ( | float | value, |
| Size | precision | ||
| ) |
create a string from a float and cut after a given number of digits after the dot
| BALL_VIEW_EXPORT vector<Vector3> BALL::VIEW::createSphere | ( | Size | precision | ) |
| BALL_VIEW_EXPORT String BALL::VIEW::createTemporaryFilename | ( | ) |
Create a temporary filename in the users home dir.
| BALL_VIEW_EXPORT void BALL::VIEW::cubicInterpolation | ( | const Vector3 & | a, |
| const Vector3 & | b, | ||
| const Vector3 & | tangent_a, | ||
| const Vector3 & | tangent_b, | ||
| std::vector< Vector3 > & | interpolated_values | ||
| ) |
Uses the de-Casteljou algorithm to evalute a cubic Hermite interpolation polynomial at interpolated_values.size() equidistant values.
| BALL_VIEW_EXPORT Camera BALL::VIEW::focusCamera | ( | Composite * | composite | ) |
Focus the camera on a Composite Sends a SceneMessage.
| BALL_VIEW_EXPORT Camera BALL::VIEW::focusCamera | ( | const std::list< Vector3 > & | points | ) |
Focus the camera on a list of points, e.g. atoms or geometric objects. Sends a SceneMessage.
| BALL_VIEW_EXPORT ColorRGBA BALL::VIEW::getColor | ( | const QLabel * | label | ) |
| BALL_VIEW_EXPORT MainControl* BALL::VIEW::getMainControl | ( | ) |
Get MainControl This method is only to be used for code, which is not part of a ModularWidget. On Windows, it uses the following cast:\ MainControl* mc = dynamic_cast<MainControl*>(qApp->mainWidget());\ On all other platforms, it uses MainControl::getInstance(0);
| BALL_VIEW_EXPORT Vector3 BALL::VIEW::getNormal | ( | const Vector3 & | v | ) |
| BALL_VIEW_EXPORT void BALL::VIEW::logString | ( | const String & | data | ) |
thread safe output to logview
|
inline |
Definition at line 164 of file renderTarget.h.
|
inline |
Definition at line 209 of file pixelFormat.h.
| BALL_VIEW_EXPORT void BALL::VIEW::processDropEvent | ( | QDropEvent * | e | ) |
| BALL_VIEW_EXPORT void BALL::VIEW::setColor | ( | const QLabel * | label, |
| const ColorRGBA & | color | ||
| ) |
| BALL_VIEW_EXPORT void BALL::VIEW::setTextColor | ( | QLabel * | label, |
| const ColorRGBA & | color | ||
| ) |
| BALL_VIEW_EXPORT bool BALL::VIEW::stringToVector3 | ( | const String & | data, |
| Vector3 & | v | ||
| ) |
| BALL_VIEW_EXPORT void BALL::VIEW::subdivideTriangle | ( | vector< Vector3 > & | results, |
| Vector3 & | v1, | ||
| Vector3 & | v2, | ||
| Vector3 & | v3, | ||
| Size | precision | ||
| ) |
| BALL_VIEW_EXPORT String BALL::VIEW::vector3ToString | ( | const Vector3 & | v | ) |
| ColorRGBA BALL::VIEW::BALL_SELECTED_COLOR |
Static instance for the color of selected geometric objects
| PreciseTime BALL::VIEW::BALL_SELECTED_COLOR_CHANGE_TIME |
| BALL_VIEW_EXPORT Composite BALL::VIEW::composite_to_be_ignored_for_colorprocessors_ |
| Position BALL::VIEW::icosaeder_indices[20][3] |
| float BALL::VIEW::icosaeder_vertices[12][3] |
Code to refine a icosaeder:
| BALL_VIEW_EXPORT float BALL::VIEW::SurfaceDrawingPrecisions[4] |
Mapping from the enum to the float values of Surfaces.
1.8.3.1