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

Dialog for screen to file rendering. More...

#include <ecvRenderToFileDlg.h>

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

Public Member Functions

 ccRenderToFileDlg (unsigned baseWidth, unsigned baseHeight, QWidget *parent=0)
 Default constructor. More...
 
 ~ccRenderToFileDlg () override
 
void hideOptions ()
 Disable and hide the scale and overlay checkboxes. More...
 
float getZoom () const
 On dialog acceptance, returns requested zoom. More...
 
QString getFilename () const
 On dialog acceptance, returns requested output filename. More...
 
bool dontScalePoints () const
 On dialog acceptance, returns whether points should be scaled or not. More...
 
bool renderOverlayItems () const
 Whether overlay items should be rendered. More...
 

Protected Slots

void chooseFile ()
 
void updateInfo ()
 
void saveSettings ()
 

Protected Attributes

unsigned w
 
unsigned h
 
QString selectedFilter
 
QString currentPath
 
QString filters
 
Ui::RenderToFileDialog * m_ui
 

Detailed Description

Dialog for screen to file rendering.

Constructor & Destructor Documentation

◆ ccRenderToFileDlg()

ccRenderToFileDlg::ccRenderToFileDlg ( unsigned  baseWidth,
unsigned  baseHeight,
QWidget *  parent = 0 
)

◆ ~ccRenderToFileDlg()

ccRenderToFileDlg::~ccRenderToFileDlg ( )
override

References m_ui.

Member Function Documentation

◆ chooseFile

void ccRenderToFileDlg::chooseFile ( )
protectedslot

References filters, m_ui, and selectedFilter.

Referenced by ccRenderToFileDlg().

◆ dontScalePoints()

bool ccRenderToFileDlg::dontScalePoints ( ) const

On dialog acceptance, returns whether points should be scaled or not.

References m_ui.

Referenced by ccRenderToFileDlg(), DistanceMapGenerationDlg::exportMapAsImage(), and saveSettings().

◆ getFilename()

QString ccRenderToFileDlg::getFilename ( ) const

On dialog acceptance, returns requested output filename.

References m_ui.

Referenced by DistanceMapGenerationDlg::exportMapAsImage().

◆ getZoom()

float ccRenderToFileDlg::getZoom ( ) const

On dialog acceptance, returns requested zoom.

References m_ui.

Referenced by DistanceMapGenerationDlg::exportMapAsImage(), and updateInfo().

◆ hideOptions()

void ccRenderToFileDlg::hideOptions ( )

Disable and hide the scale and overlay checkboxes.

References m_ui.

Referenced by DistanceMapGenerationDlg::exportMapAsImage().

◆ renderOverlayItems()

bool ccRenderToFileDlg::renderOverlayItems ( ) const

Whether overlay items should be rendered.

References m_ui.

Referenced by ccRenderToFileDlg(), DistanceMapGenerationDlg::exportMapAsImage(), and saveSettings().

◆ saveSettings

void ccRenderToFileDlg::saveSettings ( )
protectedslot

◆ updateInfo

void ccRenderToFileDlg::updateInfo ( )
protectedslot

References getZoom(), h, m_ui, and w.

Referenced by ccRenderToFileDlg().

Member Data Documentation

◆ currentPath

QString ccRenderToFileDlg::currentPath
protected

Referenced by ccRenderToFileDlg(), and saveSettings().

◆ filters

QString ccRenderToFileDlg::filters
protected

Referenced by ccRenderToFileDlg(), and chooseFile().

◆ h

unsigned ccRenderToFileDlg::h
protected

Referenced by updateInfo().

◆ m_ui

◆ selectedFilter

QString ccRenderToFileDlg::selectedFilter
protected

◆ w

unsigned ccRenderToFileDlg::w
protected

Referenced by updateInfo().


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