4 #ifndef pqDisplayColorWidget_h 5 #define pqDisplayColorWidget_h 12 #include <QScopedPointer> 34 Q_PROPERTY(QString representationText READ representationText WRITE setRepresentationText);
35 typedef QWidget Superclass;
46 ValueType arraySelection()
const;
52 int componentNumber()
const;
62 static void hideScalarBarsIfNotNeeded(
vtkSMViewProxy* view, std::vector<vtkSMProxy*> luts);
68 static void updateScalarBarVisibility(
80 void arraySelectionChanged();
85 void representationTextChanged(
const QString& text);
95 this->setRepresentation(display, 0 );
102 void setRepresentationText(
const QString& text);
107 void queryCurrentSelectedArray();
114 void refreshColorArrayNames();
119 void renderActiveView();
124 void refreshComponents();
131 void updateColorTransferFunction();
137 void componentNumberChanged();
144 void pruneOutOfDomainEntries();
150 void setArraySelection(
const ValueType&);
154 void setComponentNumber(
int);
157 QVariant itemData(
int association,
const QString& arrayName)
const;
158 QIcon* itemIcon(
int association,
const QString& arrayName)
const;
168 int addOutOfDomainEntry(
int association,
const QString& arrayName);
170 QScopedPointer<QIcon> CellDataIcon;
171 QScopedPointer<QIcon> PointDataIcon;
172 QScopedPointer<QIcon> FieldDataIcon;
173 QScopedPointer<QIcon> SolidColorIcon;
174 QComboBox* Variables;
175 QComboBox* Components;
176 QPointer<pqDataRepresentation> Representation;
177 QPointer<pqScalarsToColors> ColorTransferFunction;
178 QString RepresentationText;
181 QScopedPointer<pqInternals> Internals;
183 class PropertyLinksConnection;
184 friend class PropertyLinksConnection;
pqDataRepresentation is the superclass for a display for a pqPipelineSource i.e.
#define PQCOMPONENTS_EXPORT
pqScalarsToColors is a represents a vtkScalarsToColors proxy.
Superclass for all view proxies.
proxy for a VTK object(s) on a server