32 #ifndef _pqDisplayColorWidget_h 33 #define _pqDisplayColorWidget_h 35 #include "pqComponentsModule.h" 44 class vtkEventQtSlotConnect;
56 typedef QWidget Superclass;
64 ValueType arraySelection()
const;
67 return this->arraySelection().second;
71 int componentNumber()
const;
74 vtkSMViewProxy* viewProxy()
const;
78 void arraySelectionChanged();
87 void refreshColorArrayNames();
90 void renderActiveView();
93 void refreshComponents();
98 void updateColorTransferFunction();
102 void componentNumberChanged();
107 void pruneOutOfDomainEntries();
111 void setArraySelection(
const ValueType&);
113 void setComponentNumber(
int);
116 QVariant itemData(
int association,
const QString& arrayName)
const;
117 QIcon* itemIcon(
int association,
const QString& arrayName)
const;
127 int addOutOfDomainEntry(
int association,
const QString& arrayName);
131 QIcon* PointDataIcon;
132 QIcon* FieldDataIcon;
133 QIcon* SolidColorIcon;
134 QComboBox* Variables;
135 QComboBox* Components;
136 QPointer<pqDataRepresentation> Representation;
137 QPointer<pqScalarsToColors> ColorTransferFunction;
140 void* CachedRepresentation;
143 pqInternals* Internals;
145 class PropertyLinksConnection;
146 friend class PropertyLinksConnection;
pqDataRepresentation is the superclass for a display for a pqPipelineSource i.e.
pqScalarsToColors is a represents a vtkScalarsToColors proxy.