25 class CameraDialogInternal;
41 bool start()
override;
42 bool linkWith(QWidget* win)
override;
49 void SetCameraGroupsEnabled(
bool enabled);
54 static bool ConfigureCustomViewpoints(QWidget* parentWidget);
59 static bool AddCurrentViewpointToCustomViewpoints();
64 static bool ApplyCustomViewpoint(
int CustomViewpointIndex);
69 static bool DeleteCustomViewpoint(
int CustomViewpointIndex);
74 static bool SetToCurrentViewpoint(
int CustomViewpointIndex);
79 static QStringList CustomViewpointToolTips();
84 static QStringList CustomViewpointConfigurations();
94 void updateViewMode();
97 void rotationFactorChanged(
double);
98 void zfactorSliderMoved(
int val);
100 void pickPointAsPivot(
bool);
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();
144 void initWith(QWidget* win);
161 void cameraChanged();
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.
virtual bool start()
Starts process.
virtual bool linkWith(QWidget *win)
Links the overlay dialog with a MDI window.
Point/triangle picking hub.
Point/triangle picking listener interface.
virtual void onItemPicked(const PickedItem &pi)=0
Method called whenever an item is picked.
Dialog to interactively edit the camera pose parameters.
ccPickingHub * m_pickingHub
Picking hub.
std::pair< QWidget *, ccGLMatrixd > PushedMatricesMapElement
Type of an element of the pushed matrices map structure.
std::map< QWidget *, ccGLMatrixd > PushedMatricesMapType
Type of the pushed matrices map structure.
PushedMatricesMapType pushedMatrices
Pushed camera matrices (per window)