ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
ecvApplyTransformationDlg.h
Go to the documentation of this file.
1
// ----------------------------------------------------------------------------
2
// - CloudViewer: www.cloudViewer.org -
3
// ----------------------------------------------------------------------------
4
// Copyright (c) 2018-2024 www.cloudViewer.org
5
// SPDX-License-Identifier: MIT
6
// ----------------------------------------------------------------------------
7
8
#pragma once
9
10
#include <ui_applyTransformationDlg.h>
11
12
// CV_DB_LIB
13
#include <
ecvGLMatrix.h
>
14
16
class
ccApplyTransformationDlg
:
public
QDialog,
17
public
Ui::ApplyTransformationDialog {
18
Q_OBJECT
19
20
public
:
22
explicit
ccApplyTransformationDlg
(QWidget* parent = 0);
23
25
ccGLMatrixd
getTransformation
()
const
;
26
27
protected
slots
:
28
30
void
checkMatrixValidityAndAccept
();
31
34
void
onMatrixTextChange
();
35
37
void
onRotAngleValueChanged
(
double
);
39
void
onEulerValueChanged
(
double
);
40
42
void
loadFromASCIIFile
();
44
void
loadFromClipboard
();
46
void
initFromDipAndDipDir
();
47
49
void
buttonClicked
(QAbstractButton*);
50
51
protected
:
53
void
updateAll
(
const
ccGLMatrix
& mat,
54
bool
textForm =
true
,
55
bool
axisAngleForm =
true
,
56
bool
eulerForm =
true
);
57
};
slots
#define slots
Definition:
PythonPlugin.cpp:25
ccApplyTransformationDlg
Dialog to input a 4x4 matrix.
Definition:
ecvApplyTransformationDlg.h:17
ccApplyTransformationDlg::onEulerValueChanged
void onEulerValueChanged(double)
Updates dialog when a component of the euleur form changes.
Definition:
ecvApplyTransformationDlg.cpp:170
ccApplyTransformationDlg::updateAll
void updateAll(const ccGLMatrix &mat, bool textForm=true, bool axisAngleForm=true, bool eulerForm=true)
Updates all forms with a given matrix.
Definition:
ecvApplyTransformationDlg.cpp:190
ccApplyTransformationDlg::onRotAngleValueChanged
void onRotAngleValueChanged(double)
Updates dialog when a component of the rotation axis/angle form changes.
Definition:
ecvApplyTransformationDlg.cpp:151
ccApplyTransformationDlg::ccApplyTransformationDlg
ccApplyTransformationDlg(QWidget *parent=0)
Default constructor.
Definition:
ecvApplyTransformationDlg.cpp:51
ccApplyTransformationDlg::onMatrixTextChange
void onMatrixTextChange()
Definition:
ecvApplyTransformationDlg.cpp:132
ccApplyTransformationDlg::getTransformation
ccGLMatrixd getTransformation() const
Returns input matrix.
Definition:
ecvApplyTransformationDlg.cpp:259
ccApplyTransformationDlg::loadFromASCIIFile
void loadFromASCIIFile()
Loads matrix from ASCII file.
Definition:
ecvApplyTransformationDlg.cpp:295
ccApplyTransformationDlg::buttonClicked
void buttonClicked(QAbstractButton *)
Signal called when a button is clicked.
Definition:
ecvApplyTransformationDlg.cpp:377
ccApplyTransformationDlg::checkMatrixValidityAndAccept
void checkMatrixValidityAndAccept()
Checks matrix validity and 'accept' dialog if ok.
Definition:
ecvApplyTransformationDlg.cpp:274
ccApplyTransformationDlg::loadFromClipboard
void loadFromClipboard()
Loads matrix from clipboard ("paste")
Definition:
ecvApplyTransformationDlg.cpp:320
ccApplyTransformationDlg::initFromDipAndDipDir
void initFromDipAndDipDir()
Inits matrix from dip / dip direction values.
Definition:
ecvApplyTransformationDlg.cpp:331
ccGLMatrix
Float version of ccGLMatrixTpl.
Definition:
ecvGLMatrix.h:19
ccGLMatrixd
Double version of ccGLMatrixTpl.
Definition:
ecvGLMatrix.h:56
ecvGLMatrix.h
app
ecvApplyTransformationDlg.h
Generated on Wed Jan 28 2026 09:00:52 for ACloudViewer by
1.9.1