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

Reaction to toggle the use of 2D transfer function for a representation. More...

#include <pqUse2DTransferFunctionReaction.h>

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

Public Slots

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

Public Member Functions

 pqUse2DTransferFunctionReaction (QAction *parent, bool track_active_objects=true)
 if track_active_objects is false, then the reaction will not track pqActiveObjects automatically. More...
 
 ~pqUse2DTransferFunctionReaction () 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...
 
- 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 2D transfer function for a representation.

Definition at line 18 of file pqUse2DTransferFunctionReaction.h.

Constructor & Destructor Documentation

◆ pqUse2DTransferFunctionReaction()

pqUse2DTransferFunctionReaction::pqUse2DTransferFunctionReaction ( QAction *  parent,
bool  track_active_objects = true 
)

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

◆ ~pqUse2DTransferFunctionReaction()

pqUse2DTransferFunctionReaction::~pqUse2DTransferFunctionReaction ( )
override

Member Function Documentation

◆ representation()

pqDataRepresentation* pqUse2DTransferFunctionReaction::representation ( ) const

Returns the representation currently being used by the reaction.

◆ setRepresentation

void pqUse2DTransferFunctionReaction::setRepresentation ( pqDataRepresentation )
slot

Set the active representation.

◆ setActiveRepresentation

void pqUse2DTransferFunctionReaction::setActiveRepresentation ( )
slot

Set the active representation.

◆ updateEnableState

void pqUse2DTransferFunctionReaction::updateEnableState ( )
overrideprotectedslot

Updates the enabled state.

Applications need not explicitly call this.


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