Reaction to reset the active lookup table's range to match the active representation.
More...
#include <pqResetScalarRangeReaction.h>
Reaction to reset the active lookup table's range to match the active representation.
You can disable tracking of the active representation, instead explicitly provide one using setRepresentation() by pass track_active_objects as false to the constructor.
Definition at line 53 of file pqResetScalarRangeReaction.h.
◆ Modes
◆ pqResetScalarRangeReaction()
pqResetScalarRangeReaction::pqResetScalarRangeReaction |
( |
QAction * |
parent, |
|
|
bool |
track_active_objects = true , |
|
|
Modes |
mode = DATA |
|
) |
| |
if track_active_objects
is false, then the reaction will not track pqActiveObjects automatically.
◆ ~pqResetScalarRangeReaction()
pqResetScalarRangeReaction::~pqResetScalarRangeReaction |
( |
| ) |
|
|
override |
◆ resetScalarRange()
◆ resetScalarRangeToData()
Reset to current data range.
- Parameters
-
[in] | repr | The data representation to use to determine the data range. If nullptr , then the active representation is used, if available. |
- Returns
true
if the operation was successful, otherwise false
.
◆ resetScalarRangeToCustom() [1/2]
Reset range to a custom range.
- Parameters
-
[in] | repr | The representation used to determine the transfer function to change range on. If repr is nullptr , then the active representation is used, if available. |
- Returns
true
if the operation was successful, otherwise false
.
◆ resetScalarRangeToCustom() [2/2]
static bool pqResetScalarRangeReaction::resetScalarRangeToCustom |
( |
vtkSMProxy * |
tfProxy, |
|
|
bool |
separateOpacity = false |
|
) |
| |
|
static |
Reset range to a custom range.
- Parameters
-
[in] | tfProxy | The transfer function proxy to reset the range on. |
[in] | separateOpacity | Show controls for setting the opacity function range separately from the color transfer function. |
- Returns
true
if the operation was successful, otherwise false
.
◆ resetScalarRangeToDataOverTime()
Reset range to data range over time.
- Parameters
-
[in] | repr | The data representation to use to determine the data range. If nullptr , then the active representation is used, if available. |
- Returns
true
if the operation was successful, otherwise false
.
◆ resetScalarRangeToVisible()
Reset range to data range for data visible in the view.
- Parameters
-
[in] | repr | The data representation to use to determine the data range. If nullptr , then the active representation is used, if available. |
- Returns
true
if the operation was successful, otherwise false
.
◆ updateEnableState
void pqResetScalarRangeReaction::updateEnableState |
( |
| ) |
|
|
overrideslot |
Updates the enabled state.
Applications need not explicitly call this.
◆ setRepresentation
Set the data representation explicitly when track_active_objects is false.
◆ onTriggered()
void pqResetScalarRangeReaction::onTriggered |
( |
| ) |
|
|
overrideprotectedvirtual |
Called when the action is triggered.
Reimplemented from pqReaction.
◆ onServerAdded
virtual void pqResetScalarRangeReaction::onServerAdded |
( |
pqServer * |
server | ) |
|
|
protectedvirtualslot |
◆ onAboutToRemoveServer
virtual void pqResetScalarRangeReaction::onAboutToRemoveServer |
( |
pqServer * |
server | ) |
|
|
protectedvirtualslot |
The documentation for this class was generated from the following file: