qCC  version 2.5.4 (Qt) - 19 Apr. 2014
 All Classes Functions Variables Typedefs Enumerations
Public Slots | Public Member Functions | Protected Types | Protected Slots | Protected Attributes | List of all members
ccCameraParamEditDlg Class Reference

Dialog to interactively edit the camera pose parameters. More...

#include <ccCameraParamEditDlg.h>

Inheritance diagram for ccCameraParamEditDlg:
Inheritance graph
[legend]
Collaboration diagram for ccCameraParamEditDlg:
Collaboration graph
[legend]

Public Slots

void linkWith (QMdiSubWindow *qWin)
 Links this dialog with a given sub-window.
 
void initWithMatrix (const ccGLMatrix &mat)
 Inits dialog values with matrix.
 
void updatePivotPoint (const CCVector3 &P)
 Updates dialog values with pivot point.
 
void updateCameraCenter (const CCVector3 &P)
 Updates dialog values with camera center.
 
void updateViewMode ()
 Updates current view mode.
 
void setFrontView ()
 
void setBottomView ()
 
void setTopView ()
 
void setBackView ()
 
void setLeftView ()
 
void setRightView ()
 
void setIso1View ()
 
void setIso2View ()
 
void iThetaValueChanged (int)
 
void iPsiValueChanged (int)
 
void iPhiValueChanged (int)
 
void dThetaValueChanged (double)
 
void dPsiValueChanged (double)
 
void dPhiValueChanged (double)
 
void pivotChanged ()
 
void cameraCenterChanged ()
 
void fovChanged (double)
 
void pickPointAsPivot ()
 
void processPickedPoint (int, unsigned, int, int)
 

Public Member Functions

 ccCameraParamEditDlg (QWidget *parent)
 Default constructor.
 
virtual ~ccCameraParamEditDlg ()
 Destructor.
 
void makeFrameless ()
 Makes this dialog frameless.
 
ccGLMatrix getMatrix ()
 Returns matrix corresponding to dialog values.
 
virtual bool start ()
 Starts process. More...
 
virtual bool linkWith (ccGLWindow *win)
 Links the overlay dialog with a MDI window. More...
 
- Public Member Functions inherited from ccOverlayDialog
 ccOverlayDialog (QWidget *parent=0)
 Default constructor.
 
virtual ~ccOverlayDialog ()
 Destructor.
 
virtual void stop (bool accepted)
 Stops process/dialog. More...
 
virtual void reject ()
 
void addOverridenShortcut (Qt::Key key)
 Adds a keyboard shortcut (single key) that will be overridden from the associated window. More...
 

Protected Types

typedef std::map< ccGLWindow
*, ccGLMatrix > 
PushedMatricesMapType
 Type of the pushed matrices map structure.
 
typedef std::pair< ccGLWindow
*, ccGLMatrix > 
PushedMatricesMapElement
 Type of an element of the pushed matrices map structure.
 

Protected Slots

void reflectParamChange ()
 Reflects any dialog parameter change.
 
void setView (CC_VIEW_ORIENTATION orientation)
 Places the camera in a given prefedined orientation.
 
void pushCurrentMatrix ()
 Pushes current matrix.
 
void revertToPushedMatrix ()
 Reverts to pushed matrix.
 
- Protected Slots inherited from ccOverlayDialog
virtual void onLinkedWindowDeletion (QObject *object=0)
 Slot called when the linked window is deleted (calls 'onClose')
 

Protected Attributes

PushedMatricesMapType pushedMatrices
 Pushed camera matrices (per window)
 
- Protected Attributes inherited from ccOverlayDialog
ccGLWindow * m_associatedWin
 Associated (MDI) window.
 
bool m_processing
 Running/processing state.
 
QList< int > m_overriddenKeys
 Overridden keys.
 

Additional Inherited Members

- Signals inherited from ccOverlayDialog
void processFinished (bool accepted)
 Signal emitted when process is finished. More...
 
void shortcutTriggered (int key)
 Signal emitted when an overridden key shortcut is pressed. More...
 
- Protected Member Functions inherited from ccOverlayDialog
bool eventFilter (QObject *obj, QEvent *e)
 

Detailed Description

Dialog to interactively edit the camera pose parameters.

Member Function Documentation

bool ccCameraParamEditDlg::linkWith ( ccGLWindow *  win)
virtual

Links the overlay dialog with a MDI window.

Warning: link can't be modified while dialog is displayed/process is running!

Returns
success

Reimplemented from ccOverlayDialog.

bool ccCameraParamEditDlg::start ( )
virtual

Starts process.

Returns
success

Reimplemented from ccOverlayDialog.


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