 |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Go to the documentation of this file.
34 #include <QProgressDialog>
37 #include "ui_animationDlg.h"
42 class QListWidgetItem;
43 #ifdef QFFMPEG_SUPPORT
59 bool init(
const std::vector<cc2DViewportObject*>& viewports,
60 const std::vector<ccMesh*>& meshes);
105 void render(
bool asSeparateFrames);
137 QProgressDialog& progressDialog);
139 QProgressDialog& progressDialog,
140 bool asSeparateFrames
141 #ifdef QFFMPEG_SUPPORT
143 QScopedPointer<QVideoEncoder>& encoder
CCVector3d cameraCenter
Definition: qAnimationDlg.h:114
void updateSmoothTrajectoryDurations()
Definition: qAnimationDlg.cpp:412
void render(bool asSeparateFrames)
Definition: qAnimationDlg.cpp:1358
size_t countEnabledSteps() const
Definition: qAnimationDlg.cpp:898
void renderFrames()
Definition: qAnimationDlg.h:80
void onSmoothTrajectoryToggled(bool)
Definition: qAnimationDlg.cpp:711
ecvViewportParameters viewportParams
Definition: qAnimationDlg.h:112
bool smoothTrajectory(double ratio, unsigned iterationCount)
Definition: qAnimationDlg.cpp:459
void onBrowseButtonClicked()
Definition: qAnimationDlg.cpp:864
void onBrowseTexturesButtonClicked()
Definition: qAnimationDlg.cpp:882
void textureAnimationPreview(const QStringList &texture_files, QProgressDialog &progressDialog)
Definition: qAnimationDlg.cpp:1203
double length
Definition: qAnimationDlg.h:116
double duration_sec
Definition: qAnimationDlg.h:115
Standard parameters for GL displays/viewports.
Definition: ecvViewportParameters.h:18
void updateTotalDuration()
Definition: qAnimationDlg.cpp:1644
void onCurrentStepChanged(int)
Definition: qAnimationDlg.cpp:1667
int indexInSmoothTrajectory
Definition: qAnimationDlg.h:117
int countFrames(size_t startIndex=0)
Definition: qAnimationDlg.cpp:961
void applyViewport(const ecvViewportParameters &viewportParameters)
Definition: qAnimationDlg.cpp:754
void onSmoothRatioChanged(double)
Definition: qAnimationDlg.cpp:719
virtual ~qAnimationDlg()
Destrcuctor.
Definition: qAnimationDlg.cpp:236
int indexInOriginalTrajectory
Definition: qAnimationDlg.h:113
Trajectory m_smoothVideoSteps
Smoothed animation.
Definition: qAnimationDlg.h:131
std::vector< ccMesh * > MeshList
Definition: qAnimationDlg.h:121
void updateCurrentStepDuration()
Definition: qAnimationDlg.cpp:1652
bool exportTrajectoryOnExit()
Definition: qAnimationDlg.cpp:730
void onLoopToggled(bool)
Definition: qAnimationDlg.cpp:1693
std::vector< Step > Trajectory
Definition: qAnimationDlg.h:120
double computeTotalTime()
Definition: qAnimationDlg.cpp:734
QWidget * m_view3d
Associated 3D view.
Definition: qAnimationDlg.h:135
2D viewport object
Definition: ecv2DViewportObject.h:15
bool getCompressedTrajectory(Trajectory &compressedTrajectory) const
Definition: qAnimationDlg.cpp:987
void onFPSChanged(int)
Definition: qAnimationDlg.cpp:762
cc2DViewportObject * viewport
Definition: qAnimationDlg.h:111
Dialog for qAnimation plugin.
Definition: qAnimationDlg.h:48
void renderAnimation()
Definition: qAnimationDlg.h:79
bool updateTextures() const
Definition: qAnimationDlg.cpp:242
void onItemChanged(QListWidgetItem *)
Definition: qAnimationDlg.cpp:1661
void preview()
Definition: qAnimationDlg.cpp:1011
void onAccept()
Definition: qAnimationDlg.cpp:325
ccPolyline * getTrajectory()
Definition: qAnimationDlg.cpp:725
void onTotalTimeChanged(double)
Definition: qAnimationDlg.cpp:766
Trajectory m_videoSteps
Animation.
Definition: qAnimationDlg.h:129
void onStepTimeChanged(double)
Definition: qAnimationDlg.cpp:849
qAnimationDlg(QWidget *view3d, QWidget *parent=nullptr)
Default constructor.
Definition: qAnimationDlg.cpp:82
bool init(const std::vector< cc2DViewportObject * > &viewports, const std::vector< ccMesh * > &meshes)
Initialize the dialog with a set of viewports.
Definition: qAnimationDlg.cpp:246
bool updateCameraTrajectory()
Definition: qAnimationDlg.cpp:367
Triangular mesh.
Definition: ecvMesh.h:35
bool getNextSegment(size_t &vp1, size_t &vp2) const
Definition: qAnimationDlg.cpp:910
Simple step (viewport + time)
Definition: qAnimationDlg.h:110
void onAutoStepsDurationToggled(bool)
Definition: qAnimationDlg.cpp:621
void onReject()
Definition: qAnimationDlg.cpp:323
bool updateSmoothCameraTrajectory()
Definition: qAnimationDlg.cpp:590
bool textureAnimationRender(const QStringList &texture_files, QProgressDialog &progressDialog, bool asSeparateFrames)
Definition: qAnimationDlg.cpp:1258
int getCurrentStepIndex()
Definition: qAnimationDlg.cpp:750
MeshList m_mesh_list
Definition: qAnimationDlg.h:132
bool smoothModeEnabled() const
Definition: qAnimationDlg.cpp:238
Colored polyline.
Definition: ecvPolyline.h:23