Public Member Functions | List of all members
pqDisplayColor2Widget Class Reference

pqDisplayColor2Widget enables a user to select the array corresponding to the y-axis of a 2D transfer function. More...

#include <pqDisplayColor2Widget.h>

Inherits QWidget.

Public Member Functions

 pqDisplayColor2Widget (QWidget *parent=nullptr)
 
 ~pqDisplayColor2Widget () override
 
void setRepresentation (pqDataRepresentation *display)
 Set the representation on which the scalar Color2 array will be set. More...
 

Detailed Description

pqDisplayColor2Widget enables a user to select the array corresponding to the y-axis of a 2D transfer function.

This feature is available when the representation is rendering volumes.

This widget uses a pqArraySelectorWidget to present the available arrays in a combobox and a pqIntVectorPropertyWidget enumerates the components of the selected array in another combobox. Both the widgets are laid out horizontally.

The first array in this widget is "Gradient Magnitude". This entry corresponds the "UseGradientForTransfer2D" property on the volume representation. As a result, this entry will always be present and it is the default.

Definition at line 28 of file pqDisplayColor2Widget.h.

Constructor & Destructor Documentation

◆ pqDisplayColor2Widget()

pqDisplayColor2Widget::pqDisplayColor2Widget ( QWidget *  parent = nullptr)

◆ ~pqDisplayColor2Widget()

pqDisplayColor2Widget::~pqDisplayColor2Widget ( )
override

Member Function Documentation

◆ setRepresentation()

void pqDisplayColor2Widget::setRepresentation ( pqDataRepresentation display)

Set the representation on which the scalar Color2 array will be set.


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