 |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Go to the documentation of this file.
24 class AnimationDialogInternal;
43 bool start()
override;
44 bool linkWith(QWidget* win)
override;
76 void onClose() { reset(); }
77 void enablePickRotationAxis(
bool state);
90 AnimationDialogInternal* Internal;
ecvAnimationParamDlg(QWidget *parent, MainWindow *app, ccPickingHub *pickingHub)
Default constructor.
Definition: ecvAnimationParamDlg.cpp:39
bool linkWith(QWidget *win) override
Links the overlay dialog with a MDI window.
Definition: ecvAnimationParamDlg.cpp:212
CCVector3d getRotationAxis() const
Definition: ecvAnimationParamDlg.cpp:248
Type x
Definition: CVGeom.h:137
void updateAxisStartToolState(bool state)
Definition: ecvAnimationParamDlg.cpp:350
void doActionSaveViewportAsCamera()
Definition: MainWindow.cpp:2367
bool addListener(ccPickingListener *listener, bool exclusive=false, bool autoStartPicking=true, ecvDisplayTools::PICKING_MODE mode=ecvDisplayTools::POINT_OR_TRIANGLE_PICKING)
Adds a listener.
Definition: ecvPickingHub.cpp:104
Standard parameters for GL displays/viewports.
Definition: ecvViewportParameters.h:18
ecvViewportParameters viewportParamsHistory
Definition: ecvAnimationParamDlg.h:87
Point/triangle picking listener interface.
Definition: ecvPickingListener.h:21
Dialog to interactively edit the camera pose parameters.
Definition: ecvAnimationParamDlg.h:28
Vector3Tpl< double > CCVector3d
Double 3D Vector.
Definition: CVGeom.h:804
virtual bool linkWith(QWidget *win)
Links the overlay dialog with a MDI window.
Definition: ecvOverlayDialog.cpp:32
static bool Error(const char *format,...)
Display an error dialog with formatted message.
Definition: CVLog.cpp:143
2D Vector
Definition: CVGeom.h:32
#define slots
Definition: PythonPlugin.cpp:25
~ecvAnimationParamDlg() override
Destructor.
Definition: ecvAnimationParamDlg.cpp:72
void updateRotationAxisPoint(AxisType axisType, const CCVector3d &P)
Updates dialog values with axis point.
Definition: ecvAnimationParamDlg.cpp:264
Definition: MainWindow.h:117
virtual bool start()
Starts process.
Definition: ecvOverlayDialog.cpp:80
bool start() override
Starts process.
Definition: ecvAnimationParamDlg.cpp:192
MainWindow * m_app
Definition: ecvAnimationParamDlg.h:86
@ AXIS_END
Definition: ecvAnimationParamDlg.h:40
Type z
Definition: CVGeom.h:137
bool m_processing
Running/processing state.
Definition: ecvOverlayDialog.h:87
CCVector3 P3D
Definition: ecvPickingListener.h:32
@ AXIS_START
Definition: ecvAnimationParamDlg.h:40
QWidget * m_associatedWin
Associated (MDI) window.
Definition: ecvOverlayDialog.h:84
Generic overlay dialog interface.
Definition: ecvOverlayDialog.h:17
Point/triangle picking hub.
Definition: ecvPickingHub.h:29
void startAnimation()
Start animation.
Definition: ecvAnimationParamDlg.cpp:82
void Sleep(int milliseconds)
Definition: Helper.cpp:278
Hierarchical CLOUDVIEWER Object.
Definition: ecvHObject.h:25
double getRotationAngle() const
Definition: ecvAnimationParamDlg.cpp:74
void updateAxisEndToolState(bool state)
Definition: ecvAnimationParamDlg.cpp:357
Type y
Definition: CVGeom.h:137
MainWindow * getMainWindow()
Definition: ecvAnimationParamDlg.h:54
AxisType
Definition: ecvAnimationParamDlg.h:40
void onItemPicked(const PickedItem &pi) override
Method called whenever an item is picked.
Definition: ecvAnimationParamDlg.cpp:141
Picked item.
Definition: ecvPickingListener.h:26
void enableListener(bool state)
Definition: ecvAnimationParamDlg.cpp:322
Type u[3]
Definition: CVGeom.h:139
ccPickingHub * m_pickingHub
Picking hub.
Definition: ecvAnimationParamDlg.h:84
static Vector3Tpl fromArray(const int a[3])
Constructor from an int array.
Definition: CVGeom.h:268
void removeListener(ccPickingListener *listener, bool autoStopPickingIfLast=true)
Removes a listener.
Definition: ecvPickingHub.cpp:165
void initWith(QWidget *win)
Inits dialog values with specified window.
Definition: ecvAnimationParamDlg.cpp:243
bool isSavingViewport() const
Definition: ecvAnimationParamDlg.cpp:78
void processPickedItem(ccHObject *, unsigned, int, int, const CCVector3 &)
Definition: ecvAnimationParamDlg.cpp:164