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...
 
virtual ~pqUseSeparateColorMapReaction ()
 
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

virtual void updateEnableState ()
 Updates the enabled state. More...
 
virtual void onTriggered ()
 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 47 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()

virtual pqUseSeparateColorMapReaction::~pqUseSeparateColorMapReaction ( )
virtual

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

virtual void pqUseSeparateColorMapReaction::updateEnableState ( )
protectedvirtualslot

Updates the enabled state.

Applications need not explicitly call this.

◆ onTriggered

virtual void pqUseSeparateColorMapReaction::onTriggered ( )
protectedvirtualslot

Called when the action is triggered.


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