BALL  1.4.79
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Typedefs | Enumerations | Functions | Variables
BALL::VIEW Namespace Reference

Classes

class  AddBackboneModel
 
class  AddBallAndStickModel
 
class  AddCartoonModel
 
class  AddLineModel
 
class  AddSurfaceModel
 
class  AddVanDerWaalsModel
 
class  AmberConfigurationDialog
 
class  AnimationThread
 
class  AssignBondOrderConfigurationDialog
 
class  AssignBondOrderResultsDialog
 
class  AtomBondModelBaseProcessor
 
class  AtomChargeColorProcessor
 
class  AtomDistanceColorProcessor
 
class  AtomOverview
 
class  BALLThread
 
class  BondProperties
 
class  BoolEditorWidget
 
class  Box
 
class  BufferedRenderer
 
class  ButtonEvent
 
class  CalculateFDPBThread
 
class  Camera
 
class  CanvasWidget
 
class  ChainColorProcessor
 
struct  ChannelFormat
 
class  CharmmConfigurationDialog
 
class  ClippingDialog
 
class  ClippingPlane
 
class  ColorButton
 
class  ColorByGridProcessor
 
class  ColorExtension2
 
class  ColorHSV
 
class  ColoringSettingsDialog
 
class  ColorMap
 
class  ColorProcessor
 
class  ColorRGBA
 
class  ColorTable
 
class  ColorUnit
 
class  ColorUnitHue
 
class  ComboBoxDelegate
 
class  CompositeManager
 
class  CompositeMessage
 
class  CompositeProperties
 
class  ConfigDialog
 
class  ConnectionObject
 
class  ContourSurfaceDialog
 
class  ControlSelectionMessage
 
class  CreateRepresentationMessage
 
class  CudaVolumeRenderer
 
class  CustomColorProcessor
 
class  Dataset
 
class  DatasetControl
 
class  DatasetController
 
class  DatasetMessage
 
class  DemoTutorialDialog
 
class  DeselectControlsMessage
 
class  DeviceEvent
 
class  Disc
 
class  DisplayProperties
 
class  DockableRegularData1DWidget
 
class  DockableRegularData2DWidget
 
class  DockDialog
 
class  DockingController
 
class  DockingFinishedMessage
 Message to notify docking has finished. More...
 
class  DockingThread
 Thread for Docking. More...
 
class  DockProgressDialog
 
class  DockResultController
 
class  DockResultDialog
 
class  DockWidget
 
class  DoubleEditorWidget
 
class  DownloadElectronDensity
 
class  DownloadPDBFile
 
class  DragLogView
 
class  EditFunctions
 
class  EditMode
 
class  EditOperation
 
class  EditOperationDialog
 
class  EditSettings
 
class  EditSingleShortcut
 
class  ElementColorProcessor
 
class  EnergyMinimizerThread
 Thread for EnergyMinimization. More...
 
class  ExportGeometryDialog
 
class  FakeDriver
 
class  FDPBDialog
 
class  FieldLineCreator
 
class  FieldLinesDialog
 
class  FileObserver
 
class  FinishedSimulationMessage
 
class  FloatEditorWidget
 
class  ForceColorProcessor
 
class  ForceModel
 
class  FrameBuffer
 
class  FrameBufferFormat
 
class  GenerateCrystalDialog
 
class  GenerateCrystalThread
 
class  GenericControl
 
class  GenericSelectionMessage
 
class  GeometricControl
 
class  GeometricFitDialog
 
class  GeometricObject
 
class  GeometricObjectSelectionMessage
 
class  GLDisplayList
 
class  GLOffscreenTarget
 
class  GLRenderer
 
class  GLRenderWindow
 
class  GridColorWidget
 
class  GridVisualisation
 
class  GridVisualizationDialog
 
class  HBondModelProcessor
 
class  HeadTrackingEvent
 
class  HelpViewer
 
struct  Hotkey
 
class  HotkeyTable
 
class  HTMLView
 
class  HTMLViewDock
 
class  IconLoader
 
class  InputDeviceDriver
 
class  InputDevPluginHandler
 
class  InputPlugin
 
class  IntEditorWidget
 
class  InteractionMode
 
class  InteractionModeManager
 
class  InterpolateColorProcessor
 
class  Label
 
class  LabelDialog
 
class  LabelModel
 
class  LightSettings
 
class  LightSource
 
class  Line
 
class  LogEvent
 Event class used for thread safe output to logview. More...
 
class  LogView
 
class  MainControl
 
class  MainControlPreferences
 
class  MaterialSettings
 
class  MDSimulationThread
 Thread for MDSimulation. More...
 
class  Mesh
 
class  MeshBuffer
 
class  Message
 
class  MessageEvent
 
class  MinimizationDialog
 
class  MMFF94ConfigurationDialog
 
class  ModelInformation
 
class  ModelProcessor
 
class  ModelSettingsDialog
 
class  ModifyRepresentationDialog
 
class  ModularWidget
 
class  ModularWidgetPlugin
 
class  ModularWidgetPluginHandler
 
class  MolecularControl
 
class  MolecularDynamicsDialog
 
class  MolecularFileDialog
 
class  MolecularStructure
 
class  MolecularTaskMessage
 
class  MoleculeColorProcessor
 
class  MotionTrackingEvent
 
class  MoveMode
 
class  MultiColorExtension
 
class  MultiLine
 
class  MyTextBrowser
 
class  NetworkPreferences
 
class  NewSelectionMessage
 
class  NotificationEvent
 
class  OccupancyColorProcessor
 
class  OpenBruker1DFile
 
class  OpenBruker2DFile
 
class  OpenSavePreferences
 
class  ParsedFunctionDialog
 
class  PDBInfoEditorWidget
 
class  PeptideDialog
 
class  PickingMode
 
class  PixelFormat
 
class  PluginDialog
 
class  PluginDirectoryModel
 
class  PluginModel
 
class  Point
 
class  PositionColorProcessor
 
class  POVRenderer
 
class  Preferences
 
class  PreferencesEntry
 
class  PropDeleteWidget
 
class  PropEditorWidget
 
class  PropertyEditor
 
class  PTEDialog
 
class  PubChemDialog
 
class  PythonHighlighter
 
class  PythonSettings
 
class  PythonValidator
 
class  PyWidget
 
class  QuadMesh
 
class  RaytraceableContourSurfaceDialog
 
class  RaytraceableGrid
 
class  RaytraceableGridController
 
class  RaytracingRenderer
 
class  RegisterHelpSystemMessage
 
class  RegularData1DWidget
 
class  RegularData2DWidget
 
class  RegularData3DController
 
class  Renderer
 
class  RenderSetup
 
class  RenderTarget
 
class  RenderToBufferFinishedEvent
 
class  Representation
 
class  RepresentationManager
 
class  RepresentationMessage
 Base class for all messages concerning a Representation. More...
 
class  ResidueNameColorProcessor
 
class  ResidueNumberColorProcessor
 
class  ResidueTypeColorProcessor
 
struct  Resolution
 
class  RotateMode
 
class  RTfactRenderer
 
class  RunGAMESSDialog
 
class  RunPythonThread
 
class  Scene
 
class  SceneMessage
 
class  SDWidget
 
class  SecondaryStructureColorProcessor
 
class  ServerPreferences
 
class  ServerWidget
 
class  SetCamera
 
class  SetClippingPlane
 
class  ShortcutDialog
 
class  ShortcutRegistry
 
class  ShortcutTableModel
 
class  ShortcutTableView
 
class  ShowDisplayPropertiesMessage
 
class  ShowHelpMessage
 
class  SimpleBox
 
class  SimulationThread
 
class  SnapshotManagerInterface
 
class  SnapshotVisualisationDialog
 
class  Sphere
 
class  Stage
 
class  StageSettings
 
class  StereoSettingsDialog
 
class  STLRenderer
 
class  StringEditorWidget
 
class  SyncClippingPlanesMessage
 
class  TemperatureFactorColorProcessor
 
class  TestFramework
 
class  TextEditorWidget
 
class  TilingRenderer
 
class  TrajectoryController
 
class  TransformationEvent6D
 
class  TransformationMessage
 
class  TreeWidget
 
class  TRenderWindow
 
class  Tube
 
class  TwoColoredLine
 
class  TwoColoredTube
 
class  UIntEditorWidget
 
class  UIOperationMode
 
class  UndoManagerDialog
 
class  UpdateRepresentationThread
 
class  VectorGridController
 
class  Vertex
 
class  Vertex2
 
class  VIEWPlugin
 
class  VRMLRenderer
 
class  XML3DRenderer
 

Typedefs

typedef TRegularData3D< Vector3VectorGrid
 
typedef QFlags< InputDeviceButtonInputDeviceButtons
 
typedef std::list
< GeometricObject * > 
GeometricObjectList
 
typedef std::list
< Representation * > 
RepresentationList
 
typedef std::vector
< FrameBufferFormat
BufferFormatList
 
typedef boost::shared_ptr
< FrameBuffer
FrameBufferPtr
 
typedef TRenderWindow
< BALL_DEFAULT_PIXEL_TYPE
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,
  RENDER_TO_BUFFER_FINISHED_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
 

Enumerations for Representations and Renderer

Enums and methods to describe the models and drawing methods.

enum  DrawingMode { DRAWING_MODE_DOTS = 0, DRAWING_MODE_WIREFRAME, DRAWING_MODE_SOLID, DRAWING_MODE_TOON }
 Enumeration for Drawing Modes. More...
 
enum  DrawingPrecision {
  DRAWING_PRECISION_INVALID = -1, DRAWING_PRECISION_LOW = 0, DRAWING_PRECISION_MEDIUM, DRAWING_PRECISION_HIGH,
  DRAWING_PRECISION_ULTRA
}
 Enumeration for Drawing Precisions. More...
 
enum  ModelType {
  MODEL_LINES = 0, MODEL_STICK, MODEL_BALL_AND_STICK, MODEL_VDW,
  MODEL_SE_SURFACE, MODEL_SA_SURFACE, MODEL_BACKBONE, MODEL_CARTOON,
  MODEL_RIBBON, MODEL_HBONDS, MODEL_FORCES, MODEL_LABEL = 100,
  MODEL_CONTOUR_SURFACE, MODEL_GRID_SLICE, MODEL_GRID_VOLUME, MODEL_FIELD_LINES,
  MODEL_INFORMATIONS, MODEL_COORDINATE_SYSTEM, MODEL_PROXIMITY_LIGHT, MODEL_PLANE,
  MODEL_SPHERE, 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 = 200
}
 
BALL_VIEW_EXPORT float SurfaceDrawingPrecisions [4]
 Mapping from the enum to the float values of Surfaces. More...
 
BALL_VIEW_EXPORT Composite composite_to_be_ignored_for_colorprocessors_
 
float icosaeder_vertices [12][3]
 Code to refine a icosaeder: More...
 
Position icosaeder_indices [20][3]
 
BALL_VIEW_EXPORT String vector3ToString (const Vector3 &v)
 
BALL_VIEW_EXPORT bool stringToVector3 (const String &data, Vector3 &v)
 
BALL_VIEW_EXPORT String createFloatString (float value, Size precision)
 create a string from a float and cut after a given number of digits after the dot More...
 
BALL_VIEW_EXPORT MainControlgetMainControl ()
 
BALL_VIEW_EXPORT String createTemporaryFilename ()
 Create a temporary filename in the users home dir. More...
 
BALL_VIEW_EXPORT Vector3 getNormal (const Vector3 &v)
 
BALL_VIEW_EXPORT void logString (const String &data)
 thread safe output to logview More...
 
BALL_VIEW_EXPORT void processDropEvent (QDropEvent *e)
 
BALL_VIEW_EXPORT Camera focusCamera (Composite *composite)
 
BALL_VIEW_EXPORT Camera focusCamera (const std::list< Vector3 > &points)
 
BALL_VIEW_EXPORT String ascii (const QString &str)
 
BALL_VIEW_EXPORT ColorRGBA getColor (const QLabel *label)
 
BALL_VIEW_EXPORT void setColor (const QLabel *label, const ColorRGBA &color)
 
BALL_VIEW_EXPORT QColor chooseColor (QLabel *label)
 
BALL_VIEW_EXPORT void setTextColor (QLabel *label, const ColorRGBA &color)
 
BALL_VIEW_EXPORT void cubicInterpolation (const Vector3 &a, const Vector3 &b, const Vector3 &tangent_a, const Vector3 &tangent_b, std::vector< Vector3 > &interpolated_values)
 
BALL_VIEW_EXPORT void subdivideTriangle (vector< Vector3 > &results, Vector3 &v1, Vector3 &v2, Vector3 &v3, Size precision)
 
BALL_VIEW_EXPORT vector< Vector3createSphere (Size precision)
 
BALL_VIEW_EXPORT void calculateHistogramEqualization (const vector< float > &values, vector< float > &normalized_values, bool use_absolute_values=false)
 
BALL_VIEW_EXPORT void 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 More...
 

Typedef Documentation

Definition at line 170 of file renderTarget.h.

typedef boost::shared_ptr<FrameBuffer> BALL::VIEW::FrameBufferPtr

Definition at line 222 of file renderTarget.h.

Definition at line 185 of file geometricObject.h.

Definition at line 28 of file buttonEvent.h.

Definition at line 114 of file renderWindow.h.

Definition at line 342 of file representation.h.

Definition at line 251 of file standardDatasets.h.

Enumeration Type Documentation

Enumeration for Coloring Methods. Add new coloring methods before COLORING_CUSTOM.

Enumerator
COLORING_ELEMENT 
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 

Definition at line 242 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 109 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 128 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.

RENDER_TO_BUFFER_FINISHED_EVENT 

Event posted by renderers after a new buffer is available.

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:

See also
getModelName(ModelType type)
getColoringName(ColoringMethod type)
isSurfaceModel(ModelType type)
modelMuteableByDisplayProperties(ModelType type)
modelMustBeRebuild(ModelType type)
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_PROXIMITY_LIGHT 

defines the property for the model: proximity light

MODEL_PLANE 
MODEL_SPHERE 
MODEL_UNKNOWN 

unkown property

Definition at line 165 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 44 of file demoTutorialDialog.C.

Function Documentation

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

std::ostream& BALL::VIEW::operator<< ( std::ostream &  o,
const FrameBufferFormat &  f 
)
inline

Definition at line 163 of file renderTarget.h.

std::ostream& BALL::VIEW::operator<< ( std::ostream &  o,
const PixelFormat &  f 
)
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)

Variable Documentation

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_

A special Composite, which is ignored by all ColoringProcessors, the GeometricObjects, which have this Composite set, will be colored by the default color.

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.