25 class CameraDialogInternal;
106 void saveCameraConfiguration();
107 void loadCameraConfiguration();
112 void ConfigureCustomViewpoints();
113 void ApplyCustomViewpoint();
114 void addCurrentViewpointToCustomViewpoints();
115 void updateCustomViewpointButtons();
117 void resetViewDirectionPosX();
118 void resetViewDirectionNegX();
119 void resetViewDirectionPosY();
120 void resetViewDirectionNegY();
121 void resetViewDirectionPosZ();
122 void resetViewDirectionNegZ();
124 void resetViewDirection(
double look_x,
131 void applyCameraRoll();
132 void applyCameraElevation();
133 void applyCameraAzimuth();
134 void applyCameraZoomIn();
135 void applyCameraZoomOut();
137 void autoPickRotationCenterWithCamera();
140 void reflectParamChange();
165 CameraDialogInternal* Internal;
167 enum CameraAdjustmentType { Roll = 0, Elevation, Azimuth, Zoom };
168 void adjustCamera(CameraAdjustmentType enType,
double value);
#define CVAPPCOMMON_LIB_API
Hierarchical CLOUDVIEWER Object.
Generic overlay dialog interface.
Point/triangle picking hub.
Point/triangle picking listener interface.
Dialog to interactively edit the camera pose parameters.
void updatePivotPoint(const CCVector3d &P)
Updates dialog values with pivot point.
ccPickingHub * m_pickingHub
Picking hub.
static bool DeleteCustomViewpoint(int CustomViewpointIndex)
static QStringList CustomViewpointToolTips()
bool setCameraTool(ecvGenericCameraTool *tool)
static bool ApplyCustomViewpoint(int CustomViewpointIndex)
void SetCameraGroupsEnabled(bool enabled)
void processPickedItem(ccHObject *, unsigned, int, int, const CCVector3 &)
void linkWith(QMdiSubWindow *qWin)
Links this dialog with a given sub-window.
std::pair< QWidget *, ccGLMatrixd > PushedMatricesMapElement
Type of an element of the pushed matrices map structure.
void rotationFactorChanged(double)
void onItemPicked(const PickedItem &pi) override
Method called whenever an item is picked.
ecvCameraParamEditDlg(QWidget *parent, ccPickingHub *pickingHub)
Default constructor.
void pickPointAsPivot(bool)
static bool AddCurrentViewpointToCustomViewpoints()
void zfactorSliderMoved(int val)
static bool ConfigureCustomViewpoints(QWidget *parentWidget)
void initWith(QWidget *win)
Inits dialog values with specified window.
~ecvCameraParamEditDlg() override
Destructor.
bool start() override
Starts process.
std::map< QWidget *, ccGLMatrixd > PushedMatricesMapType
Type of the pushed matrices map structure.
static QStringList CustomViewpointConfigurations()
PushedMatricesMapType pushedMatrices
Pushed camera matrices (per window)
void updateViewMode()
Updates current view mode.
static bool SetToCurrentViewpoint(int CustomViewpointIndex)
bool linkWith(QWidget *win) override
Links the overlay dialog with a MDI window.