33 #ifndef _pqSMAdaptor_h 34 #define _pqSMAdaptor_h 40 #include "pqCoreModule.h" 42 #include "vtkVariant.h" 47 Q_DECLARE_METATYPE(QList<QList<QVariant> >)
60 static const int metaId;
114 static QList<pqSMProxy> getProxyListProperty(
vtkSMProperty* Property);
119 static void setProxyListProperty(
vtkSMProperty* Property, QList<pqSMProxy> Value);
124 static QList<pqSMProxy> getProxyPropertyDomain(
vtkSMProperty* Property);
129 static QList<QList<QVariant> > getSelectionProperty(
134 static QList<QVariant> getSelectionProperty(
139 static void setSelectionProperty(
147 static void setSelectionProperty(
153 static QList<QVariant> getSelectionPropertyDomain(
vtkSMProperty* Property);
162 static void setEnumerationProperty(
167 static QList<QVariant> getEnumerationPropertyDomain(
vtkSMProperty* Property);
176 static void setElementProperty(
181 static QList<QVariant> getElementPropertyDomain(
vtkSMProperty* Property);
186 static QList<QVariant> getMultipleElementProperty(
191 static void setMultipleElementProperty(
197 static QList<QList<QVariant> > getMultipleElementPropertyDomain(
vtkSMProperty* Property);
203 static QVariant getMultipleElementProperty(
209 static void setMultipleElementProperty(
216 static QList<QVariant> getMultipleElementPropertyDomain(
226 static void setFileListProperty(
231 static void setFieldSelection(
238 static void setFieldSelectionMode(
240 static QList<QString> getFieldSelectionModeDomain(
vtkSMProperty*);
246 static void setFieldSelectionScalar(
248 static QList<QString> getFieldSelectionScalarDomain(
vtkSMProperty*);
249 static QList<QPair<QString, bool> > getFieldSelectionScalarDomainWithPartialArrays(
257 static QList<QString> getDomainTypes(
vtkSMProperty* property);
262 static void clearUncheckedProperties(
vtkSMProperty* property);
267 static QVariant convertToQVariant(
const vtkVariant& variant);
270 #endif // !_pqSMAdaptor_h
Translates server manager events into Qt-compatible slots and signals.
PropertyType
enumeration for types of properties this class handles
superclass for all SM properties
vtkSmartPointer< vtkSMProxy > pqSMProxy
make pqSMProxy synonymous to a smart pointer of a vtkSMProxy
proxy for a VTK object(s) on a server