4 #ifndef pqDisplayColorWidget_h 5 #define pqDisplayColorWidget_h 7 #include "pqComponentsModule.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();
149 void pruneOutOfDomainComponentEntries();
155 void setArraySelection(
const ValueType&);
159 void setComponentNumber(
int);
162 QVariant itemData(
int association,
const QString& arrayName)
const;
163 QIcon* itemIcon(
int association,
const QString& arrayName)
const;
173 int addOutOfDomainEntry(
int association,
const QString& arrayName);
174 int addOutOfDomainComponentEntry(
const QString& componentName,
int index);
176 QScopedPointer<QIcon> CellDataIcon;
177 QScopedPointer<QIcon> PointDataIcon;
178 QScopedPointer<QIcon> FieldDataIcon;
179 QScopedPointer<QIcon> SolidColorIcon;
180 QComboBox* Variables;
181 QComboBox* Components;
182 QPointer<pqDataRepresentation> Representation;
183 QPointer<pqScalarsToColors> ColorTransferFunction;
184 QString RepresentationText;
187 QScopedPointer<pqInternals> Internals;
189 class PropertyLinksConnection;
190 friend class PropertyLinksConnection;
pqDataRepresentation is the superclass for a display for a pqPipelineSource i.e.
pqScalarsToColors is a represents a vtkScalarsToColors proxy.
Superclass for all view proxies.
proxy for a VTK object(s) on a server