pqRescaleScalarRangeToCustomDialog provides a dialog to be able to rescale the active lookup table's range to a custom range.
More...
#include <pqRescaleScalarRangeToCustomDialog.h>
Inherits QDialog.
|
void | apply () |
| Fired when the user wants to apply his changes. More...
|
|
|
std::unique_ptr< pqRescaleScalarRangeToCustomDialogForm > | Form |
|
pqRescaleScalarRangeToCustomDialog provides a dialog to be able to rescale the active lookup table's range to a custom range.
Definition at line 19 of file pqRescaleScalarRangeToCustomDialog.h.
◆ pqRescaleScalarRangeToCustomDialog()
pqRescaleScalarRangeToCustomDialog::pqRescaleScalarRangeToCustomDialog |
( |
QWidget * |
parent = nullptr | ) |
|
◆ ~pqRescaleScalarRangeToCustomDialog()
pqRescaleScalarRangeToCustomDialog::~pqRescaleScalarRangeToCustomDialog |
( |
| ) |
|
|
override |
◆ minimum()
double pqRescaleScalarRangeToCustomDialog::minimum |
( |
| ) |
const |
Get the minimum of the color map range.
◆ maximum()
double pqRescaleScalarRangeToCustomDialog::maximum |
( |
| ) |
const |
Get the maximum of the color map range.
◆ showOpacityControls()
void pqRescaleScalarRangeToCustomDialog::showOpacityControls |
( |
bool |
show | ) |
|
Show or hide the opacity controls.
◆ opacityMinimum()
double pqRescaleScalarRangeToCustomDialog::opacityMinimum |
( |
| ) |
const |
Get the minimum of the opacity map range.
◆ opacityMaximum()
double pqRescaleScalarRangeToCustomDialog::opacityMaximum |
( |
| ) |
const |
Get the maximum of the opacity map range.
◆ setRange()
void pqRescaleScalarRangeToCustomDialog::setRange |
( |
double |
min, |
|
|
double |
max |
|
) |
| |
Initialize the range for the color map.
◆ setOpacityRange()
void pqRescaleScalarRangeToCustomDialog::setOpacityRange |
( |
double |
min, |
|
|
double |
max |
|
) |
| |
Initialize the range for a separate opacity map, if the option is available.
◆ setLock()
void pqRescaleScalarRangeToCustomDialog::setLock |
( |
bool |
lock | ) |
|
Initialize AutomaticRescaling checkbox value.
◆ doLock()
bool pqRescaleScalarRangeToCustomDialog::doLock |
( |
| ) |
const |
Get lock value from AutomaticRescaling checkbox.
◆ apply
void pqRescaleScalarRangeToCustomDialog::apply |
( |
| ) |
|
|
signal |
Fired when the user wants to apply his changes.
◆ validate
void pqRescaleScalarRangeToCustomDialog::validate |
( |
| ) |
|
|
protectedslot |
Check that minimum scalar value < maximum scalar value.
Deactivate apply and rescale button if that's not the case.
◆ rescale
void pqRescaleScalarRangeToCustomDialog::rescale |
( |
| ) |
|
|
protectedslot |
Emit apply and close the dialog.
◆ Form
std::unique_ptr<pqRescaleScalarRangeToCustomDialogForm> pqRescaleScalarRangeToCustomDialog::Form |
|
protected |
The documentation for this class was generated from the following file: