ParaView
Public Slots | Public Member Functions | Protected Slots | 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 setRepresentation (pqDataRepresentation *)
 Set the active representation. More...
 
void setScalarBarVisibility (bool visible)
 set scalar bar visibility. 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...
 
virtual ~pqScalarBarVisibilityReaction ()
 
pqDataRepresentationrepresentation () const
 Returns the representation currently being used by the reaction. 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...
 
virtual ~pqReaction ()
 
QAction * parentAction () const
 Provides access to the parent action. More...
 

Protected Slots

virtual void updateEnableState ()
 Updates the enabled state. More...
 
- Protected Slots inherited from pqReaction
virtual void updateEnableState ()
 
virtual void updateMasterEnableState (bool)
 

Protected Member Functions

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

Additional Inherited Members

- Protected Attributes inherited from pqReaction
bool IsMaster
 

Detailed Description

Reaction to toggle scalar bar visibility.

Definition at line 46 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()

virtual pqScalarBarVisibilityReaction::~pqScalarBarVisibilityReaction ( )
virtual

Member Function Documentation

§ representation()

pqDataRepresentation* pqScalarBarVisibilityReaction::representation ( ) const

Returns the representation currently being used by the reaction.

§ scalarBarProxy()

vtkSMProxy* pqScalarBarVisibilityReaction::scalarBarProxy ( ) const

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

§ setRepresentation

void pqScalarBarVisibilityReaction::setRepresentation ( pqDataRepresentation )
slot

Set the active representation.

§ setScalarBarVisibility

void pqScalarBarVisibilityReaction::setScalarBarVisibility ( bool  visible)
slot

set scalar bar visibility.

§ updateEnableState

virtual void pqScalarBarVisibilityReaction::updateEnableState ( )
protectedvirtualslot

Updates the enabled state.

Applications need not explicitly call this.

§ onTriggered()

virtual void pqScalarBarVisibilityReaction::onTriggered ( )
inlineprotectedvirtual

Called when the action is triggered.

Reimplemented from pqReaction.

Definition at line 91 of file pqScalarBarVisibilityReaction.h.


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