A widget for configuring photo draping (texture projection) settings during scanning, including raster resolution and aspect ratio.
More...
|
|
void | refreshFromUISlot () |
| | Refresh internal state from the UI controls.
|
| Vector< 2, uint04 > | resolution () const |
| | Get the current resolution from the UI controls.
|
|
|
RasterInfo | m_info |
| | Current raster configuration.
|
|
fltp08 | m_resolution_aspect_ratio |
| | Resolution aspect ratio constraint.
|
|
Ui::PhotoDrapingSettingsUI * | ui |
| | Auto-generated UI form.
|
A widget for configuring photo draping (texture projection) settings during scanning, including raster resolution and aspect ratio.
Definition at line 16 of file PhotoDrapingSettings.h.
◆ PhotoDrapingSettings()
| PhotoDrapingSettings::PhotoDrapingSettings |
( |
QWidget * | parent = nullptr | ) |
|
Construct the photo draping settings widget.
- Parameters
-
| [in] | parent | Optional parent widget. |
◆ rasterInfo()
| RasterInfo PhotoDrapingSettings::rasterInfo |
( |
| ) |
const |
Get the current raster info from the UI.
- Returns
- The configured raster info.
◆ resolution()
| Vector< 2, uint04 > PhotoDrapingSettings::resolution |
( |
| ) |
const |
|
protected |
Get the current resolution from the UI controls.
- Returns
- Width and height in pixels.
◆ setRasterInfo()
| void PhotoDrapingSettings::setRasterInfo |
( |
const RasterInfo & | info | ) |
|
Set the raster info to display.
- Parameters
-
| [in] | info | The raster configuration. |
◆ setResolutionAspectRatio()
| void PhotoDrapingSettings::setResolutionAspectRatio |
( |
fltp08 | aspect_ratio | ) |
|
Set the aspect ratio constraint on the resolution.
- Parameters
-
| [in] | aspect_ratio | The width-to-height ratio. |
The documentation for this class was generated from the following file: