BALL  1.4.79
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Signals | Protected Member Functions | Protected Attributes | Static Protected Attributes | Friends | List of all members
BALL::VIEW::Scene Class Reference

#include <BALL/VIEW/WIDGETS/scene.h>

Inheritance diagram for BALL::VIEW::Scene:
QWidget BALL::VIEW::ModularWidget BALL::Embeddable BALL::VIEW::ConnectionObject

Public Types

Enums
enum  WindowType { CONTROL_WINDOW = 0, LEFT_EYE_WINDOW, RIGHT_EYE_WINDOW }
 
- Public Types inherited from BALL::Embeddable
typedef std::vector< Embeddable * > EmbeddableVector
 

Signals

void newEditOperation (EditOperation &eo)
 

Public Member Functions

Constructors and Destructor
 Scene (QWidget *parent_widget=0, const char *name=NULL, Qt::WFlags w_flags=0)
 
BALL_DEPRECATED Scene (const Scene &scene, QWidget *parent_widget=NULL, const char *name=NULL, Qt::WFlags wflags=0)
 
virtual ~Scene ()
 
virtual void clear ()
 
Assignment
BALL_DEPRECATED void set (const Scene &scene)
 
BALL_DEPRECATED const Sceneoperator= (const Scene &scene)
 
Accessors: inspectors and mutators
virtual void onNotify (Message *message)
 
virtual bool exportScene (Renderer &er) const
 
String getBondOrderString_ (Index order)
 
virtual void initializeWidget (MainControl &main_control)
 
virtual void fetchPreferences (INIFile &inifile)
 
virtual void writePreferences (INIFile &inifile)
 
virtual void checkMenu (MainControl &main_control)
 
- Public Member Functions inherited from BALL::VIEW::ModularWidget
void setWorkingDirFromFilename_ (String filename)
 
virtual void showHelp (const String &url)
 
 ModularWidget (const char *name="<ModularWidget>")
 
 ModularWidget (const ModularWidget &widget)
 
virtual ~ModularWidget ()
 
virtual void destroy ()
 
QAction * insertMenuEntry (Position parent_id, const QString &name, const QObject *receiver=0, const char *slot=0, const String &description="", QKeySequence accel=QKeySequence(), const QString &menu_hint=QString(""), UIOperationMode::OperationMode minimal_mode=UIOperationMode::MODE_ALL)
 
void setMenuHelp (QAction *action, const String &url)
 
virtual void registerForHelpSystem (const QObject *object, const String &url)
 
void setIcon (QAction *action, const String &filename, bool add_to_main_toolbar=true)
 
bool lockComposites ()
 
bool unlockComposites ()
 Unlock the Composites. More...
 
MainControlgetMainControl () const
 
virtual void setStatusbarText (const String &text, bool important=false)
 
virtual void setStatusbarText (const QString &text, bool important=false)
 
String getWorkingDir ()
 Implemented for convenience. More...
 
void setWorkingDir (const String &dir)
 Implemented for convenience. More...
 
FragmentDBgetFragmentDB () const
 
virtual void finalizeWidget (MainControl &main_control)
 
virtual bool canHandle (const String &) const
 
virtual bool openFile (const String &)
 
- Public Member Functions inherited from BALL::Embeddable
 Embeddable (const String &identifier="<Embeddable>")
 
 Embeddable (const Embeddable &embeddable)
 
virtual ~Embeddable ()
 
void setIdentifier (const String &identifier)
 
const StringgetIdentifier () const
 
void unregisterThis ()
 
virtual void registerThis ()
 
- Public Member Functions inherited from BALL::VIEW::ConnectionObject
 ConnectionObject ()
 
virtual ~ConnectionObject ()
 
void registerConnectionObject (ConnectionObject &object)
 
void unregisterConnectionObject (ConnectionObject &object)
 
bool isConnectionObjectRegistered (const ConnectionObject &object)
 
ConnectionObjectgetParent () const
 
ConnectionObjectgetRoot ()
 

Protected Slots

Protected slots
virtual void showViewPoint_ ()
 Show the viewpoint and the look at point in the statusline of the mainwidget. More...
 
virtual void setViewPoint_ ()
 Set the viewpoint. More...
 
virtual void resetCamera_ ()
 Reset the camera to standard values. More...
 
virtual void resetRepresentationsForRenderer_ (RenderSetup &rs)
 
virtual void dropEvent (QDropEvent *e)
 
virtual void dragEnterEvent (QDragEnterEvent *e)
 
void dummySlot ()
 

Protected Member Functions

void handleRepresentationMessage_ (RepresentationMessage *rm)
 
void handleDatasetMessage_ (DatasetMessage *dm)
 
void handleSceneMessage_ (SceneMessage *sm)
 
void handleCompositeMessage_ (CompositeMessage *cm)
 
void handleControlSelectionMessage_ (ControlSelectionMessage *csm)
 
virtual void handleRenderToBufferFinishedEvent_ (RenderToBufferFinishedEvent *evt)
 
void renderText_ (QPointF const &point, QString const &text, QPaintDevice *current_dev)
 
void insert_ (int x_, int y_, PDBAtom &atom_)
 
TVector2< floatgetScreenPosition_ (Vector3 vec)
 
void initializeMembers_ ()
 
void renderGrid_ ()
 
- Protected Member Functions inherited from BALL::VIEW::ConnectionObject
void onNotify_ (Message *message)
 
void notify_ (Message *message)
 
void notify_ (Message &message)
 

Protected Attributes

QAction * new_molecule_action_
 
QAction * optimize_action_
 
QAction * add_hydrogens_action_
 
QAction * bondorders_action_
 
Atomcurrent_atom_
 
Bondcurrent_bond_
 
int atomic_number_
 
vector< EditOperationundo_
 
EditSettingsedit_settings_
 
QList< QAction * > toolbar_actions_edit_controls_
 
- Protected Attributes inherited from BALL::VIEW::ModularWidget
QAction * window_menu_entry_
 
bool show_window_enty_
 
bool default_visible_
 
QList< QAction * > main_toolbar_actions_
 

Static Protected Attributes

static bool only_highlighted_
 

Friends

class AnimationThread
 
class RenderSetup
 
class HTMLBasedInterface
 

Debugging and Diagnostics

virtual bool isValid () const
 
virtual void dump (std::ostream &s=std::cout, Size depth=0) const
 
void setInfo (const QString &info_string)
 
bool isRecording () const
 
void captureCamera ()
 
AtomgetCurrentAtom ()
 
void setCurrentAtom (Atom *atom)
 
void notify (Message *msg)
 
Vector2 map3DToViewport (const Vector3 &coords)
 
Vector3 mapViewportTo3D (const Vector2 &coords)
 
Vector3 mapViewportTo3D (int x, int y)
 
void setRubberBandGeometry (const QRect &rect)
 
void setRubberBandVisible (bool show)
 
void pickObjects (const QPoint &pos, list< GeometricObject * > &objects)
 
void pickObjects (const QPoint &pos1, const QPoint &pos2, list< GeometricObject * > &objects)
 
void merge (Composite *a1, Composite *a2)
 
std::list< AtomContainer * > getContainers ()
 
void enterPickingMode ()
 
void exitPickingMode ()
 
void drawLine (const QPointF &a, const QPointF &b, QPainter *painter=0)
 
void drawLine (const Vector2 &a, const Vector2 &b, QPainter *painter=0)
 
BondgetCurrentBond ()
 
void setCurrentBond (Bond *b)
 
void changeBondOrder ()
 
void changeBondOrder (Index delta)
 
void activatedOrderItem_ (QAction *action)
 
void createMolecule_ ()
 
void setFormalCharge_ ()
 
void deselect (bool update=true)
 
void getClickedItems (const QPoint &p)
 
StagegetStage ()
 
const StagegetStage () const
 
StageSettingsgetStageSettings ()
 
const StageSettingsgetStageSettings () const
 
MaterialSettingsgetMaterialSettings ()
 
const MaterialSettingsgetMaterialSettings () const
 
void setCamera (const Camera &camera)
 
std::list< Camera > & getAnimationPoints ()
 
float getDownsamplingFactor () const
 
void setDownsamplingFactor (float ds_factor)
 
void setDefaultLighting (bool update_GL=true)
 
GLRenderergetGLRenderer ()
 
void setGLRenderer (GLRenderer &renderer)
 
bool inMoveMode () const
 
bool exportPNG (const String &filename)
 
virtual void setWidgetVisible (bool state)
 
void setOffScreenRendering (bool enabled, Size factor)
 
virtual void paintEvent (QPaintEvent *e)
 
virtual bool eventFilter (QObject *object, QEvent *event)
 
virtual void projectionModeChanged ()
 
void rotate (float degree_right, float degree_up)
 
void rotateClockwise (float degree)
 
void move (Vector3 v)
 
void moveComposites (const std::list< Composite * > &composites, Vector3 v)
 
void rotateComposites (const std::list< Composite * > &composites, float degree_right, float degree_up, float degree_clockwise=0)
 
bool isAnimationRunning () const
 
void setTurnPoint (const Vector3 &v)
 
const Vector3getTurnPoint () const
 
void setFullScreen (bool state)
 
void setFPSEnabled (bool state)
 
void showText (const String &text, Size font_size=20)
 
bool isUpdateRunning () const
 
void resetTracking ()
 
void updateAllMaterials ()
 
void updateMaterialForRepresentation (Representation *rep, const Stage::Material &new_material)
 
void lightsUpdated (bool redraw=false)
 
void setupEnvironmentMap (const QImage &image)
 Try to setup an environment map for all renderers that support it. More...
 
Position prepareGridTextures (const RegularData3D &grid, const ColorMap &map)
 
void updateGL ()
 
void initializePreferencesTab (Preferences &preferences)
 
void finalizePreferencesTab (Preferences &preferences)
 
virtual void applyPreferences ()
 
void showContextMenu (QPoint pos)
 
void setCursor (String c)
 
void setElementCursor (int number)
 
virtual void addToolBarEntries (QToolBar *tb)
 
virtual void keyPressEvent (QKeyEvent *e)
 Catch key events. More...
 
static void setAnimationSmoothness (float value)
 
static float getAnimationSmoothness ()
 
static void setMouseSensitivity (float sensitivity)
 
static float getMouseSensitivity ()
 
static void setMouseWheelSensitivity (float sensitivity)
 
static float getMouseWheelSensitivity ()
 
static void setShowLightSources (bool state)
 
static bool showLightSourcesEnabled ()
 
static bool stereoBufferSupportTest ()
 
static void setScreenShotNumber (Position pos)
 
static void setPOVNumber (Position pos)
 
static void setVRMLNumber (Position pos)
 
void createCoordinateSystem ()
 Create an coordinate system at current position. More...
 
void createCoordinateSystemAtOrigin ()
 Create an coordinate system at origin. More...
 
String exportPNG ()
 Export PNG image and return the filename. More...
 
void exportPOVRay ()
 
void exportNextPOVRay ()
 Export to POVRay whithout showing file dialog. More...
 
void exportXML3D ()
 
void dumpXML3D (std::ostream &xml3ddump)
 
void printScene ()
 
void showExportPNGDialog ()
 show an dialog to save an PNG file to More...
 
void showExportVRMLDialog ()
 opens the VIEW/DIALOGS/GeometryExportDialog for vrml and stl export More...
 
void setPreview (bool state)
 Enable or disable model previews e.g. while rotating. More...
 
bool usePreview () const
 Returns the state of the preview mode. More...
 
bool useVertexBuffers () const
 
virtual void switchShowWidget ()
 
void switchRenderer (RenderSetup::RendererType new_type)
 
void addGlWindow ()
 
void exitStereo ()
 
void enterStereo ()
 
void enterActiveStereo ()
 
void enterDualStereo ()
 
void enterDualStereoDifferentDisplays ()
 
void clearRecordedAnimation ()
 
void startAnimation ()
 
void stopAnimation ()
 
void switchToLastMode ()
 
void switchShowGrid ()
 
void showInfos ()
 Popup informations for object under mouse cursor. More...
 
void setupViewVolume ()
 
void storeViewPoint ()
 
void restoreViewPoint ()
 
void startContinuousLoop ()
 
void stopContinuousLoop ()
 
void toggleContinuousLoop ()
 
void applyStereoDefaults ()
 
void createNewMolecule ()
 
void saturateWithHydrogens ()
 
void optimizeStructure ()
 
void computeBondOrders ()
 
void setEditElementType (int element_number)
 
int getEditElementType ()
 

Protected QT overridden virtual methods

QAction * no_stereo_action_
 
QAction * enter_stereo_action_
 
QAction * active_stereo_action_
 
QAction * dual_stereo_action_
 
QAction * dual_stereo_different_display_action_
 
QAction * record_animation_action_
 
QAction * start_animation_action_
 
QAction * clear_animation_action_
 
QAction * cancel_animation_action_
 
QAction * animation_export_POV_action_
 
QAction * animation_export_VRML_action_
 
QAction * animation_export_PNG_action_
 
QAction * animation_repeat_action_
 
QAction * switch_grid_
 
QMenu * create_coordinate_system_
 
Vector3 system_origin_
 
Vector3 old_trackorigin_
 
bool tracking_initialized_
 
Quaternion old_trackrotation_
 
bool update_running_
 
QRubberBand * rb_
 
Stagestage_
 
Camera stereo_camera_
 
Camera stored_camera_
 
std::vector< boost::shared_ptr
< RenderSetup > > 
renderers_
 
GLRenderergl_renderer_
 
LightSettingslight_settings_
 
StageSettingsstage_settings_
 
MaterialSettingsmaterial_settings_
 
std::list< Cameraanimation_points_
 
AnimationThreadanimation_thread_
 
bool stop_animation_
 
bool want_to_use_vertex_buffer_
 
bool use_preview_
 
PreciseTime time_
 
QPoint info_point_
 
QByteArray last_state_
 
list< floatfps_
 
bool show_fps_
 
Size offscreen_factor_
 
Size font_size_
 
QToolBar * toolbar_view_controls_
 
QToolBar * toolbar_edit_controls_
 
QList< QAction * > toolbar_actions_view_controls_
 
QString info_string_
 
GLRenderWindowmain_display_
 
Position main_renderer_
 The index of the renderer responsible for the main display. More...
 
Index stereo_left_eye_
 
Index stereo_right_eye_
 
QFont default_font_
 
QPicture overlay_
 
bool has_overlay_
 
InteractionModeManager mode_manager_
 
static float mouse_sensitivity_
 
static float mouse_wheel_sensitivity_
 
static bool show_light_sources_
 
static float animation_smoothness_
 
static float downsampling_factor_
 
static Position screenshot_nr_
 
static Position pov_nr_
 
static Position vrml_nr_
 
static bool offscreen_rendering_
 
virtual void init ()
 
virtual void paintGL ()
 
virtual void resizeEvent (QResizeEvent *event)
 
virtual void customEvent (QEvent *evt)
 
virtual void transformationEvent6D (TransformationEvent6D *evt)
 
virtual void motionTrackingEvent (MotionTrackingEvent *evt)
 
virtual void buttonPressEvent (ButtonEvent *evt)
 
virtual void buttonReleaseEvent (ButtonEvent *evt)
 
virtual void mouseMoveEvent (QMouseEvent *qmouse_event)
 
virtual void mousePressEvent (QMouseEvent *qmouse_event)
 
virtual void mouseReleaseEvent (QMouseEvent *qmouse_event)
 
virtual void wheelEvent (QWheelEvent *qmouse_event)
 
virtual void mouseDoubleClickEvent (QMouseEvent *e)
 
void animate_ ()
 
void rotateSystemClockwise_ ()
 
void zoomSystem_ ()
 
void selectionPressed_ ()
 
void selectionPressedMoved_ ()
 
void selectObjects_ ()
 
void pickParent_ (QPoint p)
 
void writeLights_ (INIFile &inifile) const
 
void readLights_ (const INIFile &inifile)
 
void createCoordinateSystem_ (bool at_origin)
 
void registerRenderers_ ()
 
String createFPSInfo_ (Renderer *renderer)
 Estimate current fps and convert into a string. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from BALL::VIEW::ModularWidget
static void registerWidget (ModularWidget *mwidget) throw (Exception::NullPointer)
 
- Static Protected Member Functions inherited from BALL::Embeddable
static void registerInstance_ (const std::type_info &type, const Embeddable *instance)
 
static void unregisterInstance_ (const Embeddable *instance)
 
static Size countInstances_ (const std::type_info &type)
 
static EmbeddablegetInstance_ (const std::type_info &type, Position index)
 
static EmbeddablegetInstance_ (const std::type_info &type, const String &identifier)
 

Detailed Description

Scene is the main visualization widget that shows the graphical Representation 's. To do this, the class Scene must be a child of the MainControl. Because the MainControl is also the main application object a Scene must be created with the pointer to the MainControl as parent widget.
Scene is capable of stereo 3D view with shutter glasses and CRT monitors. This only works, if the OpenGL-driver supports this. NVIDIA cards need a Quad buffer, like they are used in the "Quad" cards. For other NVIDIA cards, you can try the tool "Rivatuner", which tries to enable this feature for cards, which natively dont support this. To enter and leave the stereo mode, press ALT-Y. If your OpenGL doesnt support the stereo view, you will see an error message in the message bar at the bottom of the main window.

The Scene has tree different mouse modi:

To change between the first two modi, there is a menu entry with checkboxes in the main menu bar of the application.
In Picking mode, left mouse button selects composites and right mouse button deselects. There are two ways to (de-)select: Either click on single items, or draw a selection rectangle by keeping the mouse button pressed and moving the mouse. Users with only one mouse button can use the SHIFT button, while pressing the mouse button to deselect.
In Rotate mode, left mouse button rotates, mid mouse button zooms in and out and right button moves the view. Users with only one mouse button can use the SHIFT / CONTROL button, while pressing the mouse button.
The eye distance change mode is only available in the stereo view mode. Here a user can press the ALT-button and move the mouse left or right to adjust the eye distance to their desired value.
Its possible to add new modi, to do so, derive a new class from Scene and overload the mouse*Event methods.

Furthermore, users can create modified versions of the GLRenderer and pass them to the Scene with the method setGLRenderer.

Definition at line 138 of file scene.h.

Member Enumeration Documentation

Scene may hold several windows for different renering modes. If you need to retrieve a particular window, use this enum together with Scene::getWindow() to get a reference to it.

Enumerator
CONTROL_WINDOW 

Main window that is always being displayed directly in the QT main interface.

LEFT_EYE_WINDOW 

Window into which left eye should be rendered. Indicates same window as CONTROL_WINDOW if no stereo is running.

RIGHT_EYE_WINDOW 

Window into which right eye should be renderer. Indicates same window as CONTROL_WINDOW if no stereo is running.

Definition at line 165 of file scene.h.

Constructor & Destructor Documentation

BALL::VIEW::Scene::Scene ( QWidget parent_widget = 0,
const char *  name = NULL,
Qt::WFlags  w_flags = 0 
)

Default Constructor. Initialize the width and height of this scene to 600 and sets the camera position.

Calls registerWidget.
Parameters
parent_widgetthe parent widget of this scene
namethe name of this scene
w_flagsthe flags the scene widget should have (See documentation of QT-library for information concerning widget flags)
BALL_DEPRECATED BALL::VIEW::Scene::Scene ( const Scene scene,
QWidget parent_widget = NULL,
const char *  name = NULL,
Qt::WFlags  wflags = 0 
)

Copy constructor. Initialize the width, height and camera position.

Calls registerWidget.
Parameters
scenethe scene to be copied
parent_widgetthe parent widget of this scene
namethe name of this scene
wflagsthe flags the scene widget should have (See documentation of QT-library for information concerning widget flags)
virtual BALL::VIEW::Scene::~Scene ( )
virtual

Destructor.

Member Function Documentation

void BALL::VIEW::Scene::activatedOrderItem_ ( QAction *  action)
void BALL::VIEW::Scene::addGlWindow ( )
slot
virtual void BALL::VIEW::Scene::addToolBarEntries ( QToolBar *  main_tb)
virtual

Add the widgets actions to the (main) toolbar. This method is needed to enable ordering the entries. It is called in Mainframe.

Reimplemented from BALL::VIEW::ModularWidget.

void BALL::VIEW::Scene::animate_ ( )
protected
virtual void BALL::VIEW::Scene::applyPreferences ( )
virtual

Apply the preferences of the specific tab. In this method the widget can extract any changed values from its preferences tab (if required). This method is called automatically by the applyPreferencesTab from the MainControl object if the apply button in the Preferences dialog is pressed.

Parameters
preferencesthe Preferences dialog of the MainControl
See also
initializePreferencesTab
finalizePreferencesTab
applyPreferencesTab

Reimplemented from BALL::VIEW::ModularWidget.

void BALL::VIEW::Scene::applyStereoDefaults ( )
slot
virtual void BALL::VIEW::Scene::buttonPressEvent ( ButtonEvent evt)
protectedvirtual

Function that interpretes the button press events sent to customEvent()

virtual void BALL::VIEW::Scene::buttonReleaseEvent ( ButtonEvent evt)
protectedvirtual

Function that interpretes the button release events sent to customEvent()

void BALL::VIEW::Scene::captureCamera ( )
void BALL::VIEW::Scene::changeBondOrder ( )
void BALL::VIEW::Scene::changeBondOrder ( Index  delta)
virtual void BALL::VIEW::Scene::checkMenu ( MainControl main_control)
virtual

Menu checking method. This method is called by MainControl::checkMenus before a popup menu is shown. The menus rotate mode and picking mode each will be checked if this scene is in the corresponding mode.

Parameters
main_controlthe MainControl object whose menus should be checked
See also
initializeWidget
finalizeWidget
checkMenus
show

Reimplemented from BALL::VIEW::ModularWidget.

virtual void BALL::VIEW::Scene::clear ( )
virtual

Explicit default initialization. Reset the default values of this scene to:

  • width is set to 600
  • height is set to 600
  • camera position set to Vector(1,0,0)
  • camera look at position set to Vector(0,0,0)

Reimplemented from BALL::VIEW::ModularWidget.

void BALL::VIEW::Scene::clearRecordedAnimation ( )
slot
void BALL::VIEW::Scene::computeBondOrders ( )
slot
void BALL::VIEW::Scene::createCoordinateSystem ( )
slot

Create an coordinate system at current position.

void BALL::VIEW::Scene::createCoordinateSystem_ ( bool  at_origin)
protected
void BALL::VIEW::Scene::createCoordinateSystemAtOrigin ( )
slot

Create an coordinate system at origin.

String BALL::VIEW::Scene::createFPSInfo_ ( Renderer renderer)
protected

Estimate current fps and convert into a string.

void BALL::VIEW::Scene::createMolecule_ ( )
void BALL::VIEW::Scene::createNewMolecule ( )
slot
virtual void BALL::VIEW::Scene::customEvent ( QEvent evt)
protectedvirtual

This function handles custom events that for example are sent by the input device drivers

Parameters
evtA pointer to the event that shell be processed
void BALL::VIEW::Scene::deselect ( bool  update = true)
virtual void BALL::VIEW::Scene::dragEnterEvent ( QDragEnterEvent *  e)
protectedvirtualslot
void BALL::VIEW::Scene::drawLine ( const QPointF &  a,
const QPointF &  b,
QPainter *  painter = 0 
)
void BALL::VIEW::Scene::drawLine ( const Vector2 a,
const Vector2 b,
QPainter *  painter = 0 
)
virtual void BALL::VIEW::Scene::dropEvent ( QDropEvent *  e)
protectedvirtualslot
void BALL::VIEW::Scene::dummySlot ( )
inlineprotectedslot

Definition at line 708 of file scene.h.

virtual void BALL::VIEW::Scene::dump ( std::ostream &  s = std::cout,
Size  depth = 0 
) const
virtual

Internal value dump. Dump the current internal state of this scene to the output ostream s with dumping depth depth.

Parameters
soutput stream where to output the internal state of this scene
depththe dumping depth

Reimplemented from BALL::VIEW::ModularWidget.

void BALL::VIEW::Scene::dumpXML3D ( std::ostream &  xml3ddump)
slot
void BALL::VIEW::Scene::enterActiveStereo ( )
slot
void BALL::VIEW::Scene::enterDualStereo ( )
slot
void BALL::VIEW::Scene::enterDualStereoDifferentDisplays ( )
slot
void BALL::VIEW::Scene::enterPickingMode ( )
void BALL::VIEW::Scene::enterStereo ( )
slot
virtual bool BALL::VIEW::Scene::eventFilter ( QObject object,
QEvent event 
)
virtual
void BALL::VIEW::Scene::exitPickingMode ( )
void BALL::VIEW::Scene::exitStereo ( )
slot
void BALL::VIEW::Scene::exportNextPOVRay ( )
slot

Export to POVRay whithout showing file dialog.

bool BALL::VIEW::Scene::exportPNG ( const String filename)
String BALL::VIEW::Scene::exportPNG ( )
slot

Export PNG image and return the filename.

void BALL::VIEW::Scene::exportPOVRay ( )
slot
virtual bool BALL::VIEW::Scene::exportScene ( Renderer er) const
virtual

This method exports the content of the Scene to an external Renderer.

void BALL::VIEW::Scene::exportXML3D ( )
slot
virtual void BALL::VIEW::Scene::fetchPreferences ( INIFile inifile)
virtual

Fetch the widgets preferences from the INIFile. This method is called automatically by MainControl::show() at the start of the application.

Parameters
inifilethe INIFile that contains the needed values
See also
writePreferences

Reimplemented from BALL::VIEW::ModularWidget.

void BALL::VIEW::Scene::finalizePreferencesTab ( Preferences preferences)
virtual

Remove the preferences tab. This method can remove a preferences widget (if created in initializePreferencesTab) from the Preferences dialog of the MainControl. This method is called automatically by MainControl::aboutToExit() at the end of the application.

Parameters
preferencesthe Preferences dialog of the MainControl

Reimplemented from BALL::VIEW::ModularWidget.

std::list<Camera>& BALL::VIEW::Scene::getAnimationPoints ( )
inline

Definition at line 368 of file scene.h.

static float BALL::VIEW::Scene::getAnimationSmoothness ( )
inlinestatic

Definition at line 376 of file scene.h.

String BALL::VIEW::Scene::getBondOrderString_ ( Index  order)
void BALL::VIEW::Scene::getClickedItems ( const QPoint &  p)
std::list<AtomContainer*> BALL::VIEW::Scene::getContainers ( )
Atom* BALL::VIEW::Scene::getCurrentAtom ( )
inline

Definition at line 310 of file scene.h.

Bond* BALL::VIEW::Scene::getCurrentBond ( )
inline

Definition at line 328 of file scene.h.

float BALL::VIEW::Scene::getDownsamplingFactor ( ) const
inline

Definition at line 380 of file scene.h.

int BALL::VIEW::Scene::getEditElementType ( )
slot
GLRenderer& BALL::VIEW::Scene::getGLRenderer ( )
inline

Definition at line 414 of file scene.h.

MaterialSettings* BALL::VIEW::Scene::getMaterialSettings ( )
inline

Definition at line 357 of file scene.h.

const MaterialSettings* BALL::VIEW::Scene::getMaterialSettings ( ) const
inline

Definition at line 361 of file scene.h.

static float BALL::VIEW::Scene::getMouseSensitivity ( )
inlinestatic

Definition at line 394 of file scene.h.

static float BALL::VIEW::Scene::getMouseWheelSensitivity ( )
inlinestatic

Definition at line 402 of file scene.h.

TVector2<float> BALL::VIEW::Scene::getScreenPosition_ ( Vector3  vec)
protected

Given a 3-dim. Coordinates (in Viewing Volume) getScreenPosition computes the 2-dim Coordinates on Screen.

Stage* BALL::VIEW::Scene::getStage ( )
inline

Definition at line 341 of file scene.h.

const Stage* BALL::VIEW::Scene::getStage ( ) const
inline

Definition at line 345 of file scene.h.

StageSettings* BALL::VIEW::Scene::getStageSettings ( )
inline

Definition at line 349 of file scene.h.

const StageSettings* BALL::VIEW::Scene::getStageSettings ( ) const
inline

Definition at line 353 of file scene.h.

const Vector3& BALL::VIEW::Scene::getTurnPoint ( ) const
inline

Definition at line 497 of file scene.h.

void BALL::VIEW::Scene::handleCompositeMessage_ ( CompositeMessage cm)
protected

React to CompositeMessages.

void BALL::VIEW::Scene::handleControlSelectionMessage_ ( ControlSelectionMessage csm)
protected

React to ControlSelectionMessages.

void BALL::VIEW::Scene::handleDatasetMessage_ ( DatasetMessage dm)
protected

React to DatasetMessages.

virtual void BALL::VIEW::Scene::handleRenderToBufferFinishedEvent_ ( RenderToBufferFinishedEvent evt)
protectedvirtual

React to RenderToBufferFinishedEvents

void BALL::VIEW::Scene::handleRepresentationMessage_ ( RepresentationMessage rm)
protected

React to RepresentationMessages.

void BALL::VIEW::Scene::handleSceneMessage_ ( SceneMessage sm)
protected

React to SceneMessages.

virtual void BALL::VIEW::Scene::init ( )
protectedvirtual

Initialize the scene and all predefined render setups.

void BALL::VIEW::Scene::initializeMembers_ ( )
protected
void BALL::VIEW::Scene::initializePreferencesTab ( Preferences preferences)
virtual

Initialize a preferences tab for the widget (if needed). This method can be used to create preferences widgets that can be inserted into the Preferences dialog with the method insertTab. This method is called automatically by MainControl::show at the start of the application.

Parameters
preferencesthe Preferences dialog of the MainControl

Reimplemented from BALL::VIEW::ModularWidget.

virtual void BALL::VIEW::Scene::initializeWidget ( MainControl main_control)
virtual

ModularWidget methods. Initialize the popup menu Display and the menus of this scene:

  • the rotate mode (all mouse actions are attached to rotating, translating and zooming the scene)
  • the picking mode (all mouse actions are attached to picking objects from the scene)
    This method is called automatically immediately before the main application is started by MainControl::show().
    Parameters
    main_controlthe MainControl object to be initialized with this scene

Reimplemented from BALL::VIEW::ModularWidget.

bool BALL::VIEW::Scene::inMoveMode ( ) const
void BALL::VIEW::Scene::insert_ ( int  x_,
int  y_,
PDBAtom atom_ 
)
protected

Insert a given Atom in the Scene. Its position is specified by the 2-dim Mouseclick coordinates of the Screen, which will be translated into the 3-dim space of Viewing Volume.

bool BALL::VIEW::Scene::isAnimationRunning ( ) const
bool BALL::VIEW::Scene::isRecording ( ) const
bool BALL::VIEW::Scene::isUpdateRunning ( ) const
inline

Definition at line 511 of file scene.h.

virtual bool BALL::VIEW::Scene::isValid ( ) const
virtual

Internal state and consistency self-validation. A Scene is valid if it has a parent.

Reimplemented from BALL::VIEW::ConnectionObject.

virtual void BALL::VIEW::Scene::keyPressEvent ( QKeyEvent *  e)
virtual

Catch key events.

void BALL::VIEW::Scene::lightsUpdated ( bool  redraw = false)
Vector2 BALL::VIEW::Scene::map3DToViewport ( const Vector3 coords)
Vector3 BALL::VIEW::Scene::mapViewportTo3D ( const Vector2 coords)
Vector3 BALL::VIEW::Scene::mapViewportTo3D ( int  x,
int  y 
)
void BALL::VIEW::Scene::merge ( Composite a1,
Composite a2 
)
virtual void BALL::VIEW::Scene::motionTrackingEvent ( MotionTrackingEvent evt)
protectedvirtual

Function that interpretes the motion tracker events sent to customEvent()

virtual void BALL::VIEW::Scene::mouseDoubleClickEvent ( QMouseEvent e)
protectedvirtual
virtual void BALL::VIEW::Scene::mouseMoveEvent ( QMouseEvent qmouse_event)
protectedvirtual

Catch mouse move events, store the actual mouse position in this scene widget and sent events accordingly.

Parameters
ethe QT-mouse event (See QT-library for mouse events)
virtual void BALL::VIEW::Scene::mousePressEvent ( QMouseEvent qmouse_event)
protectedvirtual

Catch mouse press events, store the actual mouse position in this scene widget and sent events accordingly.

Parameters
ethe QT-mouse event (See QT-library for mouse events)
virtual void BALL::VIEW::Scene::mouseReleaseEvent ( QMouseEvent qmouse_event)
protectedvirtual

Catch mouse release events, store the actual mouse position in this scene widget and sent events accordingly.

Parameters
ethe QT-mouse event (See QT-library for mouse events)
void BALL::VIEW::Scene::move ( Vector3  v)

Move the view. \ v.x = right \ v.y = up \ v.z = view direction

void BALL::VIEW::Scene::moveComposites ( const std::list< Composite * > &  composites,
Vector3  v 
)

Move some Composites. \ v.x = right \ v.y = up \ v.z = view direction

void BALL::VIEW::Scene::newEditOperation ( EditOperation eo)
signal
void BALL::VIEW::Scene::notify ( Message msg)
inline

Definition at line 312 of file scene.h.

virtual void BALL::VIEW::Scene::onNotify ( Message message)
virtual

Handles messages sent by other registered ConnectionObject objects. Filters for SceneMessage and sets the Camera appropriate or updates the visualization.

Parameters
messagethe pointer to the message that should be processed
See also
ConnectionObject
Message

Reimplemented from BALL::VIEW::ConnectionObject.

BALL_DEPRECATED const Scene& BALL::VIEW::Scene::operator= ( const Scene scene)

Assignment operator. Calls set.

void BALL::VIEW::Scene::optimizeStructure ( )
slot
virtual void BALL::VIEW::Scene::paintEvent ( QPaintEvent *  e)
virtual
virtual void BALL::VIEW::Scene::paintGL ( )
protectedvirtual

Render the visualization. Overriden qt method for rendering the visualization of this scene. This method will be called automatically every time an update is necessary. See QT-library for information concerning qglwidgets and paintGL methods and events.

See also
MainControl
void BALL::VIEW::Scene::pickObjects ( const QPoint &  pos,
list< GeometricObject * > &  objects 
)
void BALL::VIEW::Scene::pickObjects ( const QPoint &  pos1,
const QPoint &  pos2,
list< GeometricObject * > &  objects 
)
void BALL::VIEW::Scene::pickParent_ ( QPoint  p)
protected
Position BALL::VIEW::Scene::prepareGridTextures ( const RegularData3D grid,
const ColorMap map 
)
void BALL::VIEW::Scene::printScene ( )
slot
virtual void BALL::VIEW::Scene::projectionModeChanged ( )
virtual
void BALL::VIEW::Scene::readLights_ ( const INIFile inifile)
protected
void BALL::VIEW::Scene::registerRenderers_ ( )
protected
void BALL::VIEW::Scene::renderGrid_ ( )
protected
void BALL::VIEW::Scene::renderText_ ( QPointF const &  point,
QString const &  text,
QPaintDevice current_dev 
)
protected

Render a text at the given position. Currently, this always uses a 16pt Arial bold font. TODO: this should be configurable in the GUI.

virtual void BALL::VIEW::Scene::resetCamera_ ( )
protectedvirtualslot

Reset the camera to standard values.

virtual void BALL::VIEW::Scene::resetRepresentationsForRenderer_ ( RenderSetup rs)
protectedvirtualslot

Rebuffer all representations for the current renderer_. Note: this function does not yet clear the old state of the renderer.

void BALL::VIEW::Scene::resetTracking ( )
inline

Definition at line 513 of file scene.h.

virtual void BALL::VIEW::Scene::resizeEvent ( QResizeEvent *  event)
protectedvirtual

Resize the widget. Overridden qt method for resizing this scene. This method will be called automatically every time a rezize event is handled.

Parameters
widththe new width of this scene
heightthe new height of this scene
void BALL::VIEW::Scene::restoreViewPoint ( )
slot
void BALL::VIEW::Scene::rotate ( float  degree_right,
float  degree_up 
)
void BALL::VIEW::Scene::rotateClockwise ( float  degree)
void BALL::VIEW::Scene::rotateComposites ( const std::list< Composite * > &  composites,
float  degree_right,
float  degree_up,
float  degree_clockwise = 0 
)

Rotate some Composites. \ v.x = right \ v.y = up \ v.z = view direction

void BALL::VIEW::Scene::rotateSystemClockwise_ ( )
protected
void BALL::VIEW::Scene::saturateWithHydrogens ( )
slot
void BALL::VIEW::Scene::selectionPressed_ ( )
protected
void BALL::VIEW::Scene::selectionPressedMoved_ ( )
protected
void BALL::VIEW::Scene::selectObjects_ ( )
protected
BALL_DEPRECATED void BALL::VIEW::Scene::set ( const Scene scene)

Assignment. Initialize the width, height and camera position.

Parameters
scenethe scene to be copied
static void BALL::VIEW::Scene::setAnimationSmoothness ( float  value)
inlinestatic

Definition at line 372 of file scene.h.

void BALL::VIEW::Scene::setCamera ( const Camera camera)
void BALL::VIEW::Scene::setCurrentAtom ( Atom atom)
inline

Definition at line 311 of file scene.h.

void BALL::VIEW::Scene::setCurrentBond ( Bond b)
inline

Definition at line 329 of file scene.h.

void BALL::VIEW::Scene::setCursor ( String  c)
void BALL::VIEW::Scene::setDefaultLighting ( bool  update_GL = true)
void BALL::VIEW::Scene::setDownsamplingFactor ( float  ds_factor)
void BALL::VIEW::Scene::setEditElementType ( int  element_number)
slot
void BALL::VIEW::Scene::setElementCursor ( int  number)
void BALL::VIEW::Scene::setFormalCharge_ ( )
void BALL::VIEW::Scene::setFPSEnabled ( bool  state)
inline

Definition at line 503 of file scene.h.

void BALL::VIEW::Scene::setFullScreen ( bool  state)
void BALL::VIEW::Scene::setGLRenderer ( GLRenderer renderer)

Set a new GLRenderer. This method is intended for users, that what to overload the behaviour of the GLRenderer.

void BALL::VIEW::Scene::setInfo ( const QString &  info_string)
static void BALL::VIEW::Scene::setMouseSensitivity ( float  sensitivity)
inlinestatic

Definition at line 390 of file scene.h.

static void BALL::VIEW::Scene::setMouseWheelSensitivity ( float  sensitivity)
inlinestatic

Definition at line 398 of file scene.h.

void BALL::VIEW::Scene::setOffScreenRendering ( bool  enabled,
Size  factor 
)
static void BALL::VIEW::Scene::setPOVNumber ( Position  pos)
inlinestatic

Definition at line 457 of file scene.h.

void BALL::VIEW::Scene::setPreview ( bool  state)
inlineslot

Enable or disable model previews e.g. while rotating.

Definition at line 588 of file scene.h.

void BALL::VIEW::Scene::setRubberBandGeometry ( const QRect &  rect)
void BALL::VIEW::Scene::setRubberBandVisible ( bool  show)
static void BALL::VIEW::Scene::setScreenShotNumber ( Position  pos)
inlinestatic

Definition at line 454 of file scene.h.

static void BALL::VIEW::Scene::setShowLightSources ( bool  state)
inlinestatic

Definition at line 406 of file scene.h.

void BALL::VIEW::Scene::setTurnPoint ( const Vector3 v)
inline

Definition at line 494 of file scene.h.

void BALL::VIEW::Scene::setupEnvironmentMap ( const QImage &  image)

Try to setup an environment map for all renderers that support it.

void BALL::VIEW::Scene::setupViewVolume ( )
slot
virtual void BALL::VIEW::Scene::setViewPoint_ ( )
protectedvirtualslot

Set the viewpoint.

static void BALL::VIEW::Scene::setVRMLNumber ( Position  pos)
inlinestatic

Definition at line 460 of file scene.h.

virtual void BALL::VIEW::Scene::setWidgetVisible ( bool  state)
virtual
void BALL::VIEW::Scene::showContextMenu ( QPoint  pos)
void BALL::VIEW::Scene::showExportPNGDialog ( )
slot

show an dialog to save an PNG file to

void BALL::VIEW::Scene::showExportVRMLDialog ( )
slot

opens the VIEW/DIALOGS/GeometryExportDialog for vrml and stl export

void BALL::VIEW::Scene::showInfos ( )
slot

Popup informations for object under mouse cursor.

static bool BALL::VIEW::Scene::showLightSourcesEnabled ( )
inlinestatic

Definition at line 410 of file scene.h.

void BALL::VIEW::Scene::showText ( const String text,
Size  font_size = 20 
)

Show text in the lower right corner. To clear the text, call this method again with an empty string.

virtual void BALL::VIEW::Scene::showViewPoint_ ( )
protectedvirtualslot

Show the viewpoint and the look at point in the statusline of the mainwidget.

void BALL::VIEW::Scene::startAnimation ( )
slot
void BALL::VIEW::Scene::startContinuousLoop ( )
slot
static bool BALL::VIEW::Scene::stereoBufferSupportTest ( )
static
void BALL::VIEW::Scene::stopAnimation ( )
slot
void BALL::VIEW::Scene::stopContinuousLoop ( )
slot
void BALL::VIEW::Scene::storeViewPoint ( )
slot
void BALL::VIEW::Scene::switchRenderer ( RenderSetup::RendererType  new_type)
slot
void BALL::VIEW::Scene::switchShowGrid ( )
slot
virtual void BALL::VIEW::Scene::switchShowWidget ( )
virtualslot

Show or hide widget (Called by menu entry in "WINDOWS") If the ModularWidget is not also a QWidget, this method does nothing

void BALL::VIEW::Scene::switchToLastMode ( )
slot
void BALL::VIEW::Scene::toggleContinuousLoop ( )
slot
virtual void BALL::VIEW::Scene::transformationEvent6D ( TransformationEvent6D evt)
protectedvirtual

Function that interpretes the transformation events sent to customEvent()

void BALL::VIEW::Scene::updateAllMaterials ( )
void BALL::VIEW::Scene::updateGL ( )
void BALL::VIEW::Scene::updateMaterialForRepresentation ( Representation rep,
const Stage::Material new_material 
)
bool BALL::VIEW::Scene::usePreview ( ) const
inlineslot

Returns the state of the preview mode.

Definition at line 591 of file scene.h.

bool BALL::VIEW::Scene::useVertexBuffers ( ) const
inlineslot

Definition at line 593 of file scene.h.

virtual void BALL::VIEW::Scene::wheelEvent ( QWheelEvent *  qmouse_event)
protectedvirtual

Catch mouse wheel events and zoom the scene accordingly.

Parameters
ethe QT-mouse event (See QT-library for mouse events)
void BALL::VIEW::Scene::writeLights_ ( INIFile inifile) const
protected
virtual void BALL::VIEW::Scene::writePreferences ( INIFile inifile)
virtual

Writes the widgets preferences to the INIFile. This method is called automatically by MainControl::aboutToExit at the end of the application.

Parameters
inifilethe INIFile to contain the values
See also
fetchPreferences

Reimplemented from BALL::VIEW::ModularWidget.

void BALL::VIEW::Scene::zoomSystem_ ( )
protected

Friends And Related Function Documentation

friend class AnimationThread
friend

Definition at line 142 of file scene.h.

friend class HTMLBasedInterface
friend

Definition at line 144 of file scene.h.

friend class RenderSetup
friend

Definition at line 143 of file scene.h.

Member Data Documentation

QAction * BALL::VIEW::Scene::active_stereo_action_
protected

Definition at line 885 of file scene.h.

QAction* BALL::VIEW::Scene::add_hydrogens_action_
protected

Definition at line 769 of file scene.h.

QAction * BALL::VIEW::Scene::animation_export_PNG_action_
protected

Definition at line 887 of file scene.h.

QAction* BALL::VIEW::Scene::animation_export_POV_action_
protected

Definition at line 887 of file scene.h.

QAction * BALL::VIEW::Scene::animation_export_VRML_action_
protected

Definition at line 887 of file scene.h.

std::list<Camera> BALL::VIEW::Scene::animation_points_
protected

Definition at line 933 of file scene.h.

QAction * BALL::VIEW::Scene::animation_repeat_action_
protected

Definition at line 887 of file scene.h.

float BALL::VIEW::Scene::animation_smoothness_
staticprotected

Definition at line 919 of file scene.h.

AnimationThread* BALL::VIEW::Scene::animation_thread_
protected

Definition at line 934 of file scene.h.

int BALL::VIEW::Scene::atomic_number_
protected

Definition at line 778 of file scene.h.

QAction* BALL::VIEW::Scene::bondorders_action_
protected

Definition at line 770 of file scene.h.

QAction * BALL::VIEW::Scene::cancel_animation_action_
protected

Definition at line 886 of file scene.h.

QAction * BALL::VIEW::Scene::clear_animation_action_
protected

Definition at line 886 of file scene.h.

QMenu* BALL::VIEW::Scene::create_coordinate_system_
protected

Definition at line 893 of file scene.h.

Atom* BALL::VIEW::Scene::current_atom_
protected

Definition at line 772 of file scene.h.

Bond* BALL::VIEW::Scene::current_bond_
protected

Definition at line 773 of file scene.h.

QFont BALL::VIEW::Scene::default_font_
protected

Definition at line 963 of file scene.h.

float BALL::VIEW::Scene::downsampling_factor_
staticprotected

Definition at line 920 of file scene.h.

QAction * BALL::VIEW::Scene::dual_stereo_action_
protected

Definition at line 885 of file scene.h.

QAction * BALL::VIEW::Scene::dual_stereo_different_display_action_
protected

Definition at line 885 of file scene.h.

EditSettings* BALL::VIEW::Scene::edit_settings_
protected

Definition at line 782 of file scene.h.

QAction * BALL::VIEW::Scene::enter_stereo_action_
protected

Definition at line 885 of file scene.h.

Size BALL::VIEW::Scene::font_size_
protected

Definition at line 949 of file scene.h.

list<float> BALL::VIEW::Scene::fps_
protected

Definition at line 945 of file scene.h.

GLRenderer* BALL::VIEW::Scene::gl_renderer_
protected

Definition at line 909 of file scene.h.

bool BALL::VIEW::Scene::has_overlay_
protected

Definition at line 966 of file scene.h.

QPoint BALL::VIEW::Scene::info_point_
protected

Definition at line 943 of file scene.h.

QString BALL::VIEW::Scene::info_string_
protected

Definition at line 954 of file scene.h.

QByteArray BALL::VIEW::Scene::last_state_
protected

Definition at line 944 of file scene.h.

LightSettings* BALL::VIEW::Scene::light_settings_
protected

Definition at line 922 of file scene.h.

GLRenderWindow* BALL::VIEW::Scene::main_display_
protected

Definition at line 956 of file scene.h.

Position BALL::VIEW::Scene::main_renderer_
protected

The index of the renderer responsible for the main display.

Definition at line 958 of file scene.h.

MaterialSettings* BALL::VIEW::Scene::material_settings_
protected

Definition at line 924 of file scene.h.

InteractionModeManager BALL::VIEW::Scene::mode_manager_
protected

Definition at line 967 of file scene.h.

float BALL::VIEW::Scene::mouse_sensitivity_
staticprotected

Definition at line 916 of file scene.h.

float BALL::VIEW::Scene::mouse_wheel_sensitivity_
staticprotected

Definition at line 917 of file scene.h.

QAction* BALL::VIEW::Scene::new_molecule_action_
protected

Definition at line 768 of file scene.h.

QAction* BALL::VIEW::Scene::no_stereo_action_
protected

Definition at line 885 of file scene.h.

Size BALL::VIEW::Scene::offscreen_factor_
protected

Definition at line 948 of file scene.h.

bool BALL::VIEW::Scene::offscreen_rendering_
staticprotected

Definition at line 947 of file scene.h.

Vector3 BALL::VIEW::Scene::old_trackorigin_
protected

Definition at line 896 of file scene.h.

Quaternion BALL::VIEW::Scene::old_trackrotation_
protected

Definition at line 898 of file scene.h.

bool BALL::VIEW::Scene::only_highlighted_
staticprotected

Definition at line 776 of file scene.h.

QAction * BALL::VIEW::Scene::optimize_action_
protected

Definition at line 768 of file scene.h.

QPicture BALL::VIEW::Scene::overlay_
protected

Definition at line 965 of file scene.h.

Position BALL::VIEW::Scene::pov_nr_
staticprotected

Definition at line 929 of file scene.h.

QRubberBand* BALL::VIEW::Scene::rb_
protected

Definition at line 902 of file scene.h.

QAction* BALL::VIEW::Scene::record_animation_action_
protected

Definition at line 886 of file scene.h.

std::vector<boost::shared_ptr<RenderSetup> > BALL::VIEW::Scene::renderers_
protected

Definition at line 908 of file scene.h.

Position BALL::VIEW::Scene::screenshot_nr_
staticprotected

Definition at line 927 of file scene.h.

bool BALL::VIEW::Scene::show_fps_
protected

Definition at line 946 of file scene.h.

bool BALL::VIEW::Scene::show_light_sources_
staticprotected

Definition at line 918 of file scene.h.

Stage* BALL::VIEW::Scene::stage_
protected

Definition at line 904 of file scene.h.

StageSettings* BALL::VIEW::Scene::stage_settings_
protected

Definition at line 923 of file scene.h.

QAction * BALL::VIEW::Scene::start_animation_action_
protected

Definition at line 886 of file scene.h.

Camera BALL::VIEW::Scene::stereo_camera_
protected

Definition at line 905 of file scene.h.

Index BALL::VIEW::Scene::stereo_left_eye_
protected

Definition at line 960 of file scene.h.

Index BALL::VIEW::Scene::stereo_right_eye_
protected

Definition at line 961 of file scene.h.

bool BALL::VIEW::Scene::stop_animation_
protected

Definition at line 935 of file scene.h.

Camera BALL::VIEW::Scene::stored_camera_
protected

Definition at line 906 of file scene.h.

QAction* BALL::VIEW::Scene::switch_grid_
protected

Definition at line 892 of file scene.h.

Vector3 BALL::VIEW::Scene::system_origin_
protected

Definition at line 895 of file scene.h.

PreciseTime BALL::VIEW::Scene::time_
protected

Definition at line 942 of file scene.h.

QList<QAction*> BALL::VIEW::Scene::toolbar_actions_edit_controls_
protected

Definition at line 783 of file scene.h.

QList<QAction*> BALL::VIEW::Scene::toolbar_actions_view_controls_
protected

Definition at line 952 of file scene.h.

QToolBar* BALL::VIEW::Scene::toolbar_edit_controls_
protected

Definition at line 951 of file scene.h.

QToolBar* BALL::VIEW::Scene::toolbar_view_controls_
protected

Definition at line 950 of file scene.h.

bool BALL::VIEW::Scene::tracking_initialized_
protected

Definition at line 897 of file scene.h.

vector<EditOperation> BALL::VIEW::Scene::undo_
protected

Definition at line 781 of file scene.h.

bool BALL::VIEW::Scene::update_running_
protected

Definition at line 900 of file scene.h.

bool BALL::VIEW::Scene::use_preview_
protected

Definition at line 940 of file scene.h.

Position BALL::VIEW::Scene::vrml_nr_
staticprotected

Definition at line 931 of file scene.h.

bool BALL::VIEW::Scene::want_to_use_vertex_buffer_
protected

Definition at line 939 of file scene.h.