ParaView
|
Reaction to reset the active lookup table's range to match the active representation. More...
#include <pqResetScalarRangeReaction.h>
Public Types | |
enum | Modes { DATA, CUSTOM, TEMPORAL } |
Public Slots | |
void | updateEnableState () |
Updates the enabled state. More... | |
void | setRepresentation (pqDataRepresentation *repr) |
Set the data representation explicitly when track_active_objects is false. More... | |
Public Member Functions | |
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. More... | |
~pqResetScalarRangeReaction () | |
![]() | |
pqReaction (QAction *parent, Qt::ConnectionType type=Qt::AutoConnection) | |
Constructor. Parent cannot be NULL. More... | |
virtual | ~pqReaction () |
QAction * | parentAction () const |
Provides access to the parent action. More... | |
Static Public Member Functions | |
static void | resetScalarRange (pqPipelineRepresentation *repr=NULL) |
static bool | resetScalarRangeToData (pqPipelineRepresentation *repr=NULL) |
Reset to current data range. More... | |
static bool | resetScalarRangeToCustom (pqPipelineRepresentation *repr=NULL) |
Reset range to a custom range. More... | |
static bool | resetScalarRangeToDataOverTime (pqPipelineRepresentation *repr=NULL) |
Reset range to data range over time. More... | |
Protected Slots | |
virtual void | onServerAdded (pqServer *server) |
virtual void | onAboutToRemoveServer (pqServer *server) |
![]() | |
virtual void | updateEnableState () |
virtual void | updateMasterEnableState (bool) |
Protected Member Functions | |
virtual void | onTriggered () |
Called when the action is triggered. More... | |
Additional Inherited Members | |
![]() | |
bool | IsMaster |
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 50 of file pqResetScalarRangeReaction.h.
Enumerator | |
---|---|
DATA | |
CUSTOM | |
TEMPORAL |
Definition at line 55 of file pqResetScalarRangeReaction.h.
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 | ( | ) |
|
inlinestatic |
Definition at line 69 of file pqResetScalarRangeReaction.h.
|
static |
Reset to current data range.
|
static |
Reset range to a custom range.
|
static |
Reset range to data range over time.
|
slot |
Updates the enabled state.
Applications need not explicitly call this.
|
slot |
Set the data representation explicitly when track_active_objects is false.
|
protectedvirtual |
Called when the action is triggered.
Reimplemented from pqReaction.
|
protectedvirtualslot |
|
protectedvirtualslot |