Public Slots | Public Member Functions | Protected Slots | List of all members
pqUseSeparateColorMapReaction Class Reference

Reaction to toggle the use of separated color map for an array in a representation. More...

#include <pqUseSeparateColorMapReaction.h>

Inheritance diagram for pqUseSeparateColorMapReaction:
Inheritance graph
[legend]
Collaboration diagram for pqUseSeparateColorMapReaction:
Collaboration graph
[legend]

Public Slots

void setRepresentation (pqDataRepresentation *)
 Set the active representation. More...
 

Public Member Functions

 pqUseSeparateColorMapReaction (QAction *parent, pqDisplayColorWidget *colorWidget, bool track_active_objects=true)
 if track_active_objects is false, then the reaction will not track pqActiveObjects automatically. More...
 
 ~pqUseSeparateColorMapReaction () override
 
pqDataRepresentationrepresentation () const
 Returns the representation currently being used by the reaction. More...
 
- 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...
 

Protected Slots

void updateEnableState () override
 Updates the enabled state. More...
 
void onTriggered () override
 Called when the action is triggered. More...
 
- Protected Slots inherited from pqReaction
virtual void onTriggered ()
 Called when the action is triggered. More...
 
virtual void updateEnableState ()
 
virtual void updateMasterEnableState (bool)
 

Additional Inherited Members

- Protected Attributes inherited from pqReaction
bool IsMaster
 

Detailed Description

Reaction to toggle the use of separated color map for an array in a representation.

Definition at line 18 of file pqUseSeparateColorMapReaction.h.

Constructor & Destructor Documentation

◆ pqUseSeparateColorMapReaction()

pqUseSeparateColorMapReaction::pqUseSeparateColorMapReaction ( QAction *  parent,
pqDisplayColorWidget colorWidget,
bool  track_active_objects = true 
)

if track_active_objects is false, then the reaction will not track pqActiveObjects automatically.

colorWidget is used to force a representation update

◆ ~pqUseSeparateColorMapReaction()

pqUseSeparateColorMapReaction::~pqUseSeparateColorMapReaction ( )
override

Member Function Documentation

◆ representation()

pqDataRepresentation* pqUseSeparateColorMapReaction::representation ( ) const

Returns the representation currently being used by the reaction.

◆ setRepresentation

void pqUseSeparateColorMapReaction::setRepresentation ( pqDataRepresentation )
slot

Set the active representation.

◆ updateEnableState

void pqUseSeparateColorMapReaction::updateEnableState ( )
overrideprotectedslot

Updates the enabled state.

Applications need not explicitly call this.

◆ onTriggered

void pqUseSeparateColorMapReaction::onTriggered ( )
overrideprotectedslot

Called when the action is triggered.


The documentation for this class was generated from the following file: