qCC version 2.13.alpha (Qt) - 31 May 2022
Main CloudCompare application (GUI & command line)
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
MatrixDisplayDlg Class Reference

Simple widget to display a 4x4 matrix in various formats. More...

#include <matrixDisplayDlg.h>

Inheritance diagram for MatrixDisplayDlg:
Inheritance graph
[legend]
Collaboration diagram for MatrixDisplayDlg:
Collaboration graph
[legend]

Public Member Functions

 MatrixDisplayDlg (QWidget *parent=nullptr)
 Default constructor.
 
void clear ()
 Clears widget.
 
void fillDialogWith (const ccGLMatrix &mat)
 Updates dialog with a given (float) matrix.
 
void fillDialogWith (const ccGLMatrixd &mat)
 Updates dialog with a given (double) matrix.
 
void exportToASCII ()
 Exports current matrix to an ASCII file. More...
 
void exportToClipboard ()
 Exports current matrix to the clipboard.
 

Protected Member Functions

void fillDialogWith (const CCVector3d &axis, double angle_rad, const CCVector3d &T, int precision)
 Fills the second part of the dialog.
 

Protected Attributes

ccGLMatrixd m_mat
 Matrix.
 
Ui::MatrixDisplayDlg * m_ui
 

Detailed Description

Simple widget to display a 4x4 matrix in various formats.

Member Function Documentation

◆ exportToASCII()

void MatrixDisplayDlg::exportToASCII ( )

Exports current matrix to an ASCII file.

Will display a file selection dialog!


The documentation for this class was generated from the following files: