typedef std::vector<FrameBufferFormat> BALL::VIEW::BufferFormatList |
typedef boost::shared_ptr<FrameBuffer> BALL::VIEW::FrameBufferPtr |
typedef QFlags<InputDeviceButton> BALL::VIEW::InputDeviceButtons |
typedef List<Representation*> BALL::VIEW::RepresentationList |
typedef RenderWindow<float> BALL::VIEW::t_RenderWindow |
typedef TRegularData3D<Vector3> BALL::VIEW::VectorGrid |
Enumeration for Coloring Methods. Add new coloring methods before COLORING_CUSTOM.
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.
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. |
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:
getModelName(ModelType type)
getColoringName(ColoringMethod type)
isSurfaceModel(ModelType type)
modelMuteableByDisplayProperties(ModelType type)
modelMustBeRebuild(ModelType type)
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 |
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 | ) |
Referenced by BALL::VIEW::ColoringSettingsDialog::acidicColorPressed(), BALL::VIEW::ColoringSettingsDialog::aromaticColorPressed(), BALL::VIEW::ColoringSettingsDialog::basicColorPressed(), BALL::VIEW::ColoringSettingsDialog::coilColorPressed(), BALL::VIEW::ColoringSettingsDialog::firstResidueColorPressed(), BALL::VIEW::ColoringSettingsDialog::forceMaxColorPressed(), BALL::VIEW::ColoringSettingsDialog::forceMinColorPressed(), BALL::VIEW::ColoringSettingsDialog::helixColorPressed(), BALL::VIEW::ColoringSettingsDialog::hydrophobicColorPressed(), BALL::VIEW::ColoringSettingsDialog::lastResidueColorPressed(), BALL::VIEW::ColoringSettingsDialog::maxDistanceColorPressed(), BALL::VIEW::ColoringSettingsDialog::maximumOccupancyColorPressed(), BALL::VIEW::ColoringSettingsDialog::maximumTFColorPressed(), BALL::VIEW::ColoringSettingsDialog::middleResidueColorPressed(), BALL::VIEW::ColoringSettingsDialog::minimumOccupancyColorPressed(), BALL::VIEW::ColoringSettingsDialog::minimumTFColorPressed(), BALL::VIEW::ColoringSettingsDialog::negativeChargeColorPressed(), BALL::VIEW::ColoringSettingsDialog::neutralChargeColorPressed(), BALL::VIEW::ColoringSettingsDialog::nullDistanceColorPressed(), BALL::VIEW::ColoringSettingsDialog::otherColorPressed(), BALL::VIEW::ColoringSettingsDialog::polarColorPressed(), BALL::VIEW::ColoringSettingsDialog::positiveChargeColorPressed(), BALL::VIEW::ColoringSettingsDialog::strandColorPressed(), BALL::VIEW::ColoringSettingsDialog::turnColorPressed(), BALL::VIEW::ColoringSettingsDialog::unassignedOccupancyColorPressed(), and BALL::VIEW::ColoringSettingsDialog::unassignedTFColorPressed().
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 | ( | const List< Vector3 > & | points | ) |
Focus the camera on a list of points, e.g. atoms or geometric objects. Sends a SceneMessage.
BALL_VIEW_EXPORT Camera BALL::VIEW::focusCamera | ( | Composite * | composite | ) |
Focus the camera on a Composite 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
std::ostream& BALL::VIEW::operator<< | ( | std::ostream & | o, | |
const FrameBufferFormat & | f | |||
) | [inline] |
std::ostream& BALL::VIEW::operator<< | ( | std::ostream & | o, | |
const PixelFormat & | f | |||
) | [inline] |
References BALL::VIEW::PixelFormat::print().
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 | ) |
Static instance for the color of selected geometric objects
BALL_VIEW_EXPORT Composite BALL::VIEW::composite_to_be_ignored_for_colorprocessors_ |
Code to refine a icosaeder:
BALL_VIEW_EXPORT float BALL::VIEW::SurfaceDrawingPrecisions[4] |
Mapping from the enum to the float values of Surfaces.