#include <pqRescaleScalarRangeReaction.h>


Public Types | |
| enum | Modes { DATA, CUSTOM, TEMPORAL, VISIBLE } |
Public Slots | |
| void | updateEnableState () override |
| Updates the enabled state. More... | |
| void | setRepresentation (pqDataRepresentation *repr) |
| Set the data representation explicitly when track_active_objects is false. More... | |
Public Member Functions | |
| pqRescaleScalarRangeReaction (QAction *parent, bool track_active_objects=true, Modes mode=DATA) | |
if track_active_objects is false, then the reaction will not track pqActiveObjects automatically. More... | |
| ~pqRescaleScalarRangeReaction () override | |
Public Member Functions inherited from pqReaction | |
| pqReaction (QAction *parent, Qt::ConnectionType type=Qt::AutoConnection) | |
| Constructor. More... | |
| ~pqReaction () override | |
| QAction * | parentAction () const |
| Provides access to the parent action. More... | |
Static Public Member Functions | |
| static bool | rescaleScalarRangeToData (pqPipelineRepresentation *repr=nullptr) |
| Rescale to current data range. More... | |
| static pqRescaleScalarRangeToCustomDialog * | rescaleScalarRangeToCustom (pqPipelineRepresentation *repr=nullptr) |
| Rescale range to a custom range. More... | |
| static pqRescaleScalarRangeToCustomDialog * | rescaleScalarRangeToCustom (vtkSMProxy *tfProxy, bool separateOpacity=false) |
| Rescale range to a custom range. More... | |
| static pqRescaleScalarRangeToDataOverTimeDialog * | rescaleScalarRangeToDataOverTime (pqPipelineRepresentation *repr=nullptr) |
| Rescale range to data range over time. More... | |
| static bool | rescaleScalarRangeToVisible (pqPipelineRepresentation *repr=nullptr) |
| Rescale range to data range for data visible in the view. More... | |
Protected Slots | |
| virtual void | onServerAdded (pqServer *server) |
| virtual void | onAboutToRemoveServer (pqServer *server) |
Protected Slots inherited from pqReaction | |
| virtual void | updateEnableState () |
| virtual void | updateMasterEnableState (bool) |
Protected Member Functions | |
| void | onTriggered () override |
| Called when the action is triggered. More... | |
Additional Inherited Members | |
Protected Attributes inherited from pqReaction | |
| bool | IsMaster |
Reaction to rescale 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 27 of file pqRescaleScalarRangeReaction.h.
| Enumerator | |
|---|---|
| DATA | |
| CUSTOM | |
| TEMPORAL | |
| VISIBLE | |
Definition at line 33 of file pqRescaleScalarRangeReaction.h.
| pqRescaleScalarRangeReaction::pqRescaleScalarRangeReaction | ( | QAction * | parent, |
| bool | track_active_objects = true, |
||
| Modes | mode = DATA |
||
| ) |
if track_active_objects is false, then the reaction will not track pqActiveObjects automatically.
|
override |
|
static |
Rescale to current data range.
| [in] | repr | The data representation to use to determine the data range. If nullptr, then the active representation is used, if available. |
true if the operation was successful, otherwise false.
|
static |
Rescale range to a custom range.
| [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. |
nullptr.
|
static |
Rescale range to a custom range.
| [in] | tfProxy | The transfer function proxy to rescale the range on. |
| [in] | separateOpacity | Show controls for setting the opacity function range separately from the color transfer function. |
nullptr.
|
static |
Rescale range to data range over time.
| [in] | repr | The data representation to use to determine the data range. If nullptr, then the active representation is used, if available. |
true if the operation was successful, otherwise false.
|
static |
Rescale range to data range for data visible in the view.
| [in] | repr | The data representation to use to determine the data range. If nullptr, then the active representation is used, if available. |
true if the operation was successful, otherwise false.
|
overrideslot |
Updates the enabled state.
Applications need not explicitly call this.
|
slot |
Set the data representation explicitly when track_active_objects is false.
|
overrideprotectedvirtual |
Called when the action is triggered.
Reimplemented from pqReaction.
|
protectedvirtualslot |
|
protectedvirtualslot |
1.8.17 on Wed Mar 27 2024