ScenegraphWidget Class Reference

This class provides a widget which holds a scene3D::SceneViewer in which the scene graph is rendered. More...

#include <MemoryX/gui-plugins/SceneEditor/gui/ScenegraphWidget.h>

+ Inheritance diagram for ScenegraphWidget:

Public Slots

void cameraViewAll ()
 
void cameraViewFromNegX ()
 
void cameraViewFromNegY ()
 
void cameraViewFromNegZ ()
 
void cameraViewFromX ()
 
void cameraViewFromY ()
 
void cameraViewFromZ ()
 
void copy ()
 
void duplicate ()
 
void paste ()
 
void resetRotation ()
 
void resetTranslation ()
 
void selectToggleAll ()
 

Public Member Functions

void postDocking ()
 
 ScenegraphWidget (const controller::ControllerPtr control, QWidget *parent=0)
 Constructor. More...
 
 ~ScenegraphWidget () override
 Destructor. More...
 

Protected Member Functions

void dragEnterEvent (QDragEnterEvent *event) override
 Reimplements the function Qt::QWidget:dragEnterEvent();. More...
 
void dragMoveEvent (QDragMoveEvent *de) override
 Reimplements the function Qt::QWidget:dragMoveEvent();. More...
 
void dropEvent (QDropEvent *de) override
 Reimplements the function Qt::QWidget:dropEvent(). More...
 

Detailed Description

This class provides a widget which holds a scene3D::SceneViewer in which the scene graph is rendered.

See also
scene3D::SceneViewer

Definition at line 49 of file ScenegraphWidget.h.

Constructor & Destructor Documentation

◆ ScenegraphWidget()

ScenegraphWidget ( const controller::ControllerPtr  control,
QWidget *  parent = 0 
)
explicit

Constructor.

Constructs a scene graph widget. Expects a controller::ControllerPtr.

Parameters
controlshared pointer to controller::controller
parentparent widget

Definition at line 40 of file ScenegraphWidget.cpp.

+ Here is the call graph for this function:

◆ ~ScenegraphWidget()

~ScenegraphWidget ( )
override

Destructor.

Definition at line 145 of file ScenegraphWidget.cpp.

Member Function Documentation

◆ cameraViewAll

void cameraViewAll ( )
slot

Definition at line 283 of file ScenegraphWidget.cpp.

+ Here is the caller graph for this function:

◆ cameraViewFromNegX

void cameraViewFromNegX ( )
slot

Definition at line 302 of file ScenegraphWidget.cpp.

+ Here is the caller graph for this function:

◆ cameraViewFromNegY

void cameraViewFromNegY ( )
slot

Definition at line 324 of file ScenegraphWidget.cpp.

+ Here is the caller graph for this function:

◆ cameraViewFromNegZ

void cameraViewFromNegZ ( )
slot

Definition at line 346 of file ScenegraphWidget.cpp.

+ Here is the caller graph for this function:

◆ cameraViewFromX

void cameraViewFromX ( )
slot

Definition at line 291 of file ScenegraphWidget.cpp.

+ Here is the caller graph for this function:

◆ cameraViewFromY

void cameraViewFromY ( )
slot

Definition at line 313 of file ScenegraphWidget.cpp.

+ Here is the caller graph for this function:

◆ cameraViewFromZ

void cameraViewFromZ ( )
slot

Definition at line 335 of file ScenegraphWidget.cpp.

+ Here is the caller graph for this function:

◆ copy

void copy ( )
slot

Definition at line 212 of file ScenegraphWidget.cpp.

+ Here is the caller graph for this function:

◆ dragEnterEvent()

void dragEnterEvent ( QDragEnterEvent *  event)
overrideprotected

Reimplements the function Qt::QWidget:dragEnterEvent();.

This event handler is called when a drag is in progress and the mouse enters this widget. The event is passed in the event parameter.

Parameters
dropEventQt::DragEnterEvent
See also
Qt::QDragEnterEvent
Qt::QWidget:dragEnterEvent();

Definition at line 409 of file ScenegraphWidget.cpp.

◆ dragMoveEvent()

void dragMoveEvent ( QDragMoveEvent *  de)
overrideprotected

Reimplements the function Qt::QWidget:dragMoveEvent();.

This event handler is called if a drag is in progress, and when any of the following conditions occur: the cursor enters this widget, the cursor moves within this widget, or a modifier key is pressed on the keyboard while this widget has the focus. The event is passed in the event parameter.

Parameters
dropEventQt::QDragMoveEvent
See also
Qt::QDragMoveEvent
Qt::QWidget:dragMoveEvent();

Definition at line 403 of file ScenegraphWidget.cpp.

◆ dropEvent()

void dropEvent ( QDropEvent *  de)
overrideprotected

Reimplements the function Qt::QWidget:dropEvent().

This event handler is called when the drag is dropped on this widget. The event is passed in the event parameter.

Parameters
dropEventQt::DropEvent
See also
Qt::DropEvent
Qt::QWidget:dropEvent()

Definition at line 422 of file ScenegraphWidget.cpp.

◆ duplicate

void duplicate ( )
slot

Definition at line 260 of file ScenegraphWidget.cpp.

+ Here is the caller graph for this function:

◆ paste

void paste ( )
slot

Definition at line 231 of file ScenegraphWidget.cpp.

+ Here is the caller graph for this function:

◆ postDocking()

void postDocking ( )

Definition at line 149 of file ScenegraphWidget.cpp.

◆ resetRotation

void resetRotation ( )
slot

Definition at line 171 of file ScenegraphWidget.cpp.

+ Here is the caller graph for this function:

◆ resetTranslation

void resetTranslation ( )
slot

Definition at line 192 of file ScenegraphWidget.cpp.

+ Here is the caller graph for this function:

◆ selectToggleAll

void selectToggleAll ( )
slot

Definition at line 357 of file ScenegraphWidget.cpp.

+ Here is the caller graph for this function:

The documentation for this class was generated from the following files: