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

pqColorMapEditor is a widget that can be used to edit the active color-map, if any. More...

#include <pqColorMapEditor.h>

Inherits QWidget.

Public Member Functions

 pqColorMapEditor (QWidget *parent=nullptr)
 
 ~pqColorMapEditor () override
 

Protected Slots

void updateActive ()
 slot called to update the currently showing proxies. More...
 
void updatePanel ()
 slot called to update the visible widgets. More...
 
void renderViews ()
 render's view when transfer function is modified. More...
 
void saveAsDefault ()
 Save the current transfer function(s) as default. More...
 
void saveAsArrayDefault ()
 Save the current transfer function(s) as default for arrays with the same name as the selected array. More...
 
void restoreDefaults ()
 Restore the defaults (undoes effects of saveAsDefault()). More...
 
void setAutoUpdate (bool)
 called when AutoUpdate button is toggled. More...
 
void updateIfNeeded ()
 
void updateScalarBarButtons ()
 update the enabled state for show/edit scalar bar buttons. More...
 
void updateColorArraySelectorWidgets ()
 
void updateOpacityArraySelectorWidgets ()
 
void updateColor2ArraySelectorWidgets ()
 

Protected Member Functions

void setDataRepresentation (pqDataRepresentation *repr)
 
void setColorTransferFunction (vtkSMProxy *ctf)
 

Friends

class pqInternals
 

Detailed Description

pqColorMapEditor is a widget that can be used to edit the active color-map, if any.

The panel is implemented as an auto-generated panel (similar to the Properties panel) that shows the properties on the lookup-table proxy. Custom widgets such as pqColorOpacityEditorWidget, pqColorAnnotationsPropertyWidget, and others are used to control certain properties on the proxy.

Definition at line 21 of file pqColorMapEditor.h.

Constructor & Destructor Documentation

◆ pqColorMapEditor()

pqColorMapEditor::pqColorMapEditor ( QWidget *  parent = nullptr)

◆ ~pqColorMapEditor()

pqColorMapEditor::~pqColorMapEditor ( )
override

Member Function Documentation

◆ updateActive

void pqColorMapEditor::updateActive ( )
protectedslot

slot called to update the currently showing proxies.

◆ updatePanel

void pqColorMapEditor::updatePanel ( )
protectedslot

slot called to update the visible widgets.

◆ renderViews

void pqColorMapEditor::renderViews ( )
protectedslot

render's view when transfer function is modified.

◆ saveAsDefault

void pqColorMapEditor::saveAsDefault ( )
protectedslot

Save the current transfer function(s) as default.

◆ saveAsArrayDefault

void pqColorMapEditor::saveAsArrayDefault ( )
protectedslot

Save the current transfer function(s) as default for arrays with the same name as the selected array.

◆ restoreDefaults

void pqColorMapEditor::restoreDefaults ( )
protectedslot

Restore the defaults (undoes effects of saveAsDefault()).

◆ setAutoUpdate

void pqColorMapEditor::setAutoUpdate ( bool  )
protectedslot

called when AutoUpdate button is toggled.

◆ updateIfNeeded

void pqColorMapEditor::updateIfNeeded ( )
protectedslot

◆ setDataRepresentation()

void pqColorMapEditor::setDataRepresentation ( pqDataRepresentation repr)
protected

◆ setColorTransferFunction()

void pqColorMapEditor::setColorTransferFunction ( vtkSMProxy ctf)
protected

◆ updateScalarBarButtons

void pqColorMapEditor::updateScalarBarButtons ( )
protectedslot

update the enabled state for show/edit scalar bar buttons.

◆ updateColorArraySelectorWidgets

void pqColorMapEditor::updateColorArraySelectorWidgets ( )
protectedslot

◆ updateOpacityArraySelectorWidgets

void pqColorMapEditor::updateOpacityArraySelectorWidgets ( )
protectedslot

◆ updateColor2ArraySelectorWidgets

void pqColorMapEditor::updateColor2ArraySelectorWidgets ( )
protectedslot

Friends And Related Function Documentation

◆ pqInternals

friend class pqInternals
friend

Definition at line 86 of file pqColorMapEditor.h.


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