ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
ecvPrimitiveFactoryDlg Class Reference

Primitive factory. More...

#include <ecvPrimitiveFactoryDlg.h>

Inheritance diagram for ecvPrimitiveFactoryDlg:
Collaboration diagram for ecvPrimitiveFactoryDlg:

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

MainWindowm_win
 Associated main window. More...
 

Detailed Description

Primitive factory.

Definition at line 19 of file ecvPrimitiveFactoryDlg.h.

Constructor & Destructor Documentation

◆ ecvPrimitiveFactoryDlg()

ecvPrimitiveFactoryDlg::ecvPrimitiveFactoryDlg ( MainWindow win)
explicit

Member Function Documentation

◆ createPrimitive

void ecvPrimitiveFactoryDlg::createPrimitive ( )
protectedslot

◆ getCSMatrix()

ccGLMatrix ecvPrimitiveFactoryDlg::getCSMatrix ( bool &  valid)
protected

◆ onMatrixTextChange()

void ecvPrimitiveFactoryDlg::onMatrixTextChange ( )
protected

Definition at line 204 of file ecvPrimitiveFactoryDlg.cpp.

References getCSMatrix(), and CVLog::Print().

Referenced by ecvPrimitiveFactoryDlg().

◆ setCoordinateSystemBasedOnSelectedObject()

void ecvPrimitiveFactoryDlg::setCoordinateSystemBasedOnSelectedObject ( )
protected

Definition at line 196 of file ecvPrimitiveFactoryDlg.cpp.

References MainWindow::getSelectedEntities(), and m_win.

Referenced by ecvPrimitiveFactoryDlg().

◆ setCSMatrixToIdentity()

void ecvPrimitiveFactoryDlg::setCSMatrixToIdentity ( )
protected

Definition at line 212 of file ecvPrimitiveFactoryDlg.cpp.

Referenced by ecvPrimitiveFactoryDlg().

◆ setSpherePositionFromClipboard()

void ecvPrimitiveFactoryDlg::setSpherePositionFromClipboard ( )
protected

◆ setSpherePositionToOrigin()

void ecvPrimitiveFactoryDlg::setSpherePositionToOrigin ( )
protected

Set sphere position to origin.

Definition at line 190 of file ecvPrimitiveFactoryDlg.cpp.

Referenced by ecvPrimitiveFactoryDlg().

Member Data Documentation

◆ m_win

MainWindow* ecvPrimitiveFactoryDlg::m_win
protected

Associated main window.

Definition at line 48 of file ecvPrimitiveFactoryDlg.h.

Referenced by createPrimitive(), ecvPrimitiveFactoryDlg(), and setCoordinateSystemBasedOnSelectedObject().


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