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

Reaction to toggle scalar bar visibility. More...

#include <pqScalarBarVisibilityReaction.h>

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

Public Slots

void setScalarBarVisibility (bool visible)
 set scalar bar visibility. More...
 
void updateEnableState () override
 Updates the enabled state. More...
 
void setRepresentation (pqDataRepresentation *, int selectedPropertiesType)
 Set the representation. More...
 
void setRepresentation (pqDataRepresentation *repr)
 Set the representation. More...
 
void setActiveRepresentation ()
 Set the representation. More...
 

Public Member Functions

 pqScalarBarVisibilityReaction (QAction *parent, bool track_active_objects=true)
 if track_active_objects is false, then the reaction will not track pqActiveObjects automatically. More...
 
 ~pqScalarBarVisibilityReaction () override
 
pqDataRepresentationrepresentation () const
 Returns the representation currently being used by the reaction. More...
 
std::vector< vtkSMProxy * > scalarBarProxies () const
 Returns the scalar bar for the current representation, if any. More...
 
vtkSMProxyscalarBarProxy () const
 Returns the scalar bar for the current representation, if any. 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 Member Functions

void onTriggered () override
 Called when the action is triggered. More...
 

Additional Inherited Members

- Protected Slots inherited from pqReaction
virtual void updateEnableState ()
 
virtual void updateMasterEnableState (bool)
 
- Protected Attributes inherited from pqReaction
bool IsMaster
 

Detailed Description

Reaction to toggle scalar bar visibility.

Definition at line 24 of file pqScalarBarVisibilityReaction.h.

Constructor & Destructor Documentation

◆ pqScalarBarVisibilityReaction()

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

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

◆ ~pqScalarBarVisibilityReaction()

pqScalarBarVisibilityReaction::~pqScalarBarVisibilityReaction ( )
override

Member Function Documentation

◆ representation()

pqDataRepresentation* pqScalarBarVisibilityReaction::representation ( ) const

Returns the representation currently being used by the reaction.

◆ scalarBarProxies()

std::vector<vtkSMProxy*> pqScalarBarVisibilityReaction::scalarBarProxies ( ) const

Returns the scalar bar for the current representation, if any.

◆ scalarBarProxy()

vtkSMProxy* pqScalarBarVisibilityReaction::scalarBarProxy ( ) const
inline

Returns the scalar bar for the current representation, if any.

Definition at line 47 of file pqScalarBarVisibilityReaction.h.

◆ setRepresentation [1/2]

void pqScalarBarVisibilityReaction::setRepresentation ( pqDataRepresentation ,
int  selectedPropertiesType 
)
slot

Set the representation.

◆ setRepresentation [2/2]

void pqScalarBarVisibilityReaction::setRepresentation ( pqDataRepresentation repr)
inlineslot

Set the representation.

Definition at line 60 of file pqScalarBarVisibilityReaction.h.

◆ setActiveRepresentation

void pqScalarBarVisibilityReaction::setActiveRepresentation ( )
slot

Set the representation.

◆ setScalarBarVisibility

void pqScalarBarVisibilityReaction::setScalarBarVisibility ( bool  visible)
slot

set scalar bar visibility.

◆ updateEnableState

void pqScalarBarVisibilityReaction::updateEnableState ( )
overrideslot

Updates the enabled state.

Applications need not explicitly call this.

◆ onTriggered()

void pqScalarBarVisibilityReaction::onTriggered ( )
inlineoverrideprotectedvirtual

Called when the action is triggered.

Reimplemented from pqReaction.

Definition at line 81 of file pqScalarBarVisibilityReaction.h.


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