![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Primitive factory. More...
#include <ecvPrimitiveFactoryDlg.h>


Public Member Functions | |
| ecvPrimitiveFactoryDlg (MainWindow *win) | |
| Default constructor. More... | |
Protected Slots | |
| void | createPrimitive () |
| Creates currently defined primitive. More... | |
Protected Member Functions | |
| void | setSpherePositionFromClipboard () |
| Set sphere position from clipboard. More... | |
| void | setSpherePositionToOrigin () |
| Set sphere position to origin. More... | |
| void | setCoordinateSystemBasedOnSelectedObject () |
| void | onMatrixTextChange () |
| void | setCSMatrixToIdentity () |
| ccGLMatrix | getCSMatrix (bool &valid) |
Protected Attributes | |
| MainWindow * | m_win |
| Associated main window. More... | |
Primitive factory.
Definition at line 19 of file ecvPrimitiveFactoryDlg.h.
|
explicit |
Default constructor.
Definition at line 35 of file ecvPrimitiveFactoryDlg.cpp.
References createPrimitive(), m_win, onMatrixTextChange(), setCoordinateSystemBasedOnSelectedObject(), setCSMatrixToIdentity(), setSpherePositionFromClipboard(), and setSpherePositionToOrigin().
|
protectedslot |
Creates currently defined primitive.
Definition at line 57 of file ecvPrimitiveFactoryDlg.cpp.
References MainWindow::addToDB(), cloudViewer::DegreesToRadians(), getCSMatrix(), m_win, ecvDisplayTools::ResetCameraClippingRange(), ccGLMatrixTpl< T >::setTranslation(), and ccGLMatrixTpl< T >::toIdentity().
Referenced by ecvPrimitiveFactoryDlg().
|
protected |
Definition at line 222 of file ecvPrimitiveFactoryDlg.cpp.
References ccGLMatrixTpl< float >::FromString().
Referenced by createPrimitive(), and onMatrixTextChange().
|
protected |
Definition at line 204 of file ecvPrimitiveFactoryDlg.cpp.
References getCSMatrix(), and CVLog::Print().
Referenced by ecvPrimitiveFactoryDlg().
|
protected |
Definition at line 196 of file ecvPrimitiveFactoryDlg.cpp.
References MainWindow::getSelectedEntities(), and m_win.
Referenced by ecvPrimitiveFactoryDlg().
|
protected |
Definition at line 212 of file ecvPrimitiveFactoryDlg.cpp.
Referenced by ecvPrimitiveFactoryDlg().
|
protected |
Set sphere position from clipboard.
Definition at line 168 of file ecvPrimitiveFactoryDlg.cpp.
References qtCompatSplitRegex(), QtCompat::SkipEmptyParts, Vector3Tpl< Type >::toDouble(), Tuple3Tpl< Type >::x, Tuple3Tpl< Type >::y, and Tuple3Tpl< Type >::z.
Referenced by ecvPrimitiveFactoryDlg().
|
protected |
Set sphere position to origin.
Definition at line 190 of file ecvPrimitiveFactoryDlg.cpp.
Referenced by ecvPrimitiveFactoryDlg().
|
protected |
Associated main window.
Definition at line 48 of file ecvPrimitiveFactoryDlg.h.
Referenced by createPrimitive(), ecvPrimitiveFactoryDlg(), and setCoordinateSystemBasedOnSelectedObject().