NDEVR
API Documentation
BackgroundandLightingEditor

A dialog for allowing the user to specify a background or sun position of a particular camera or viewport. More...

Collaboration diagram for BackgroundandLightingEditor:
[legend]

Public Member Functions

 BackgroundandLightingEditor (UUID camera, QTModelManager *manager, QWidget *parent=nullptr)
 Constructs the editor for a specific camera.
 ~BackgroundandLightingEditor ()
 Destructor.
Cameracamera ()
 Returns the camera being edited.

Protected Member Functions

void updateFromManager ()
 Updates the UI from the current camera/manager state.
void updateFromUI ()
 Updates the camera from the current UI values.

Protected Attributes

UUID m_camera_id
 UUID of the camera being edited.
QTModelManagerm_model_manager
 Pointer to the model manager.
Ui::BackgroundLightingUI * ui
 Pointer to the auto-generated UI.

Detailed Description

A dialog for allowing the user to specify a background or sun position of a particular camera or viewport.


Class: BackgroundandLightingEditor

Definition at line 50 of file BackgroundandLightingEditor.h.

Constructor & Destructor Documentation

◆ BackgroundandLightingEditor()

BackgroundandLightingEditor::BackgroundandLightingEditor ( UUID camera,
QTModelManager * manager,
QWidget * parent = nullptr )

Constructs the editor for a specific camera.

Parameters
[in]cameraThe UUID of the camera to edit.
[in]managerThe model manager.
[in]parentOptional parent widget.

References camera().

Member Function Documentation

◆ camera()

Camera * BackgroundandLightingEditor::camera ( )

Returns the camera being edited.

Returns
Pointer to the Camera.

Referenced by BackgroundandLightingEditor().


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