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

#include <ecvCustomViewpointsToolbar.h>

Inheritance diagram for ecvCustomViewpointsToolbar:
[legend]
Collaboration diagram for ecvCustomViewpointsToolbar:
[legend]

Public Member Functions

 ecvCustomViewpointsToolbar (const QString &title, QWidget *parentObject=0)
 
 ecvCustomViewpointsToolbar (QWidget *parentObject=0)
 
 ~ecvCustomViewpointsToolbar () override=default
 

Protected Slots

void updateCustomViewpointActions ()
 
void updateEnabledState ()
 
void ConfigureCustomViewpoints ()
 
void ApplyCustomViewpoint ()
 
void addCurrentViewpointToCustomViewpoints ()
 
void SetToCurrentViewpoint ()
 
void DeleteCustomViewpoint ()
 

Constructor & Destructor Documentation

◆ ecvCustomViewpointsToolbar() [1/2]

ecvCustomViewpointsToolbar::ecvCustomViewpointsToolbar ( const QString &  title,
QWidget *  parentObject = 0 
)
inline

◆ ecvCustomViewpointsToolbar() [2/2]

ecvCustomViewpointsToolbar::ecvCustomViewpointsToolbar ( QWidget *  parentObject = 0)
inline

◆ ~ecvCustomViewpointsToolbar()

ecvCustomViewpointsToolbar::~ecvCustomViewpointsToolbar ( )
overridedefault

Member Function Documentation

◆ addCurrentViewpointToCustomViewpoints

void ecvCustomViewpointsToolbar::addCurrentViewpointToCustomViewpoints ( )
protectedslot

Slot to add current viewpoint to a new custom viewpoint

References ecvCameraParamEditDlg::AddCurrentViewpointToCustomViewpoints(), and EditCameraTool::UpdateCameraInfo().

Referenced by updateCustomViewpointActions().

◆ ApplyCustomViewpoint

void ecvCustomViewpointsToolbar::ApplyCustomViewpoint ( )
protectedslot

◆ ConfigureCustomViewpoints

void ecvCustomViewpointsToolbar::ConfigureCustomViewpoints ( )
protectedslot

Open the Custom Viewpoint button dialog to configure the viewpoints manually

Referenced by updateCustomViewpointActions().

◆ DeleteCustomViewpoint

void ecvCustomViewpointsToolbar::DeleteCustomViewpoint ( )
protectedslot

◆ SetToCurrentViewpoint

void ecvCustomViewpointsToolbar::SetToCurrentViewpoint ( )
protectedslot

Slot to set a custom viewpoint to a current viewpoint

References ecvDisplayTools::GetCurrentScreen(), ecvCameraParamEditDlg::SetToCurrentViewpoint(), and ecvDisplayTools::UpdateScreen().

◆ updateCustomViewpointActions

void ecvCustomViewpointsToolbar::updateCustomViewpointActions ( )
protectedslot

◆ updateEnabledState

void ecvCustomViewpointsToolbar::updateEnabledState ( )
protectedslot

Update the state of the toolbuttons depending of the type of the current active view

References ecvDisplayTools::GetCurrentScreen(), and ecvCustomViewpointButtonDlg::MAXIMUM_NUMBER_OF_ITEMS.

Referenced by updateCustomViewpointActions().


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