|
Public Types |
| enum | PropertyTypes { UNKNOWN = 0,
ENUMERATION,
SELECTION,
RANGE
} |
| enum | ElementType {
INT = RANGE + 1,
DOUBLE,
STRING,
BOOLEAN,
PROXY
} |
Public Member Functions |
| | vtkTypeRevisionMacro (vtkSMPropertyAdaptor, vtkSMObject) |
| void | PrintSelf (ostream &os, vtkIndent indent) |
| unsigned int | GetNumberOfRangeElements () |
| const char * | GetRangeValue (unsigned int idx) |
| int | SetRangeValue (unsigned int idx, const char *value) |
| unsigned int | GetNumberOfEnumerationElements () |
| const char * | GetEnumerationName (unsigned int idx) |
| const char * | GetEnumerationValue () |
| int | SetEnumerationValue (const char *idx) |
| unsigned int | GetNumberOfSelectionElements () |
| const char * | GetSelectionName (unsigned int idx) |
| const char * | GetSelectionValue (unsigned int idx) |
| int | SetSelectionValue (unsigned int idx, const char *value) |
| void | InitializePropertyFromInformation () |
| int | GetPropertyType () |
| int | GetElementType () |
| int | SetGenericValue (unsigned int idx, const char *value) |
|
| void | SetProperty (vtkSMProperty *prop) |
| virtual vtkSMProperty * | GetProperty () |
|
| const char * | GetRangeMinimum (unsigned int idx) |
| const char * | GetRangeMaximum (unsigned int idx) |
|
| const char * | GetSelectionMinimum (unsigned int idx) |
| const char * | GetSelectionMaximum (unsigned int idx) |
Static Public Member Functions |
| vtkSMPropertyAdaptor * | New () |
Protected Member Functions |
| | vtkSMPropertyAdaptor () |
| | ~vtkSMPropertyAdaptor () |
| void | InitializeDomains () |
| void | InitializeProperties () |
| void | SetDomain (vtkSMDomain *domain) |
| virtual void | SaveState (const char *, ostream *, vtkIndent) |
Protected Attributes |
| vtkSMBooleanDomain * | BooleanDomain |
| vtkSMDoubleRangeDomain * | DoubleRangeDomain |
| vtkSMEnumerationDomain * | EnumerationDomain |
| vtkSMIntRangeDomain * | IntRangeDomain |
| vtkSMProxyGroupDomain * | ProxyGroupDomain |
| vtkSMStringListDomain * | StringListDomain |
| vtkSMStringListRangeDomain * | StringListRangeDomain |
| vtkSMProxyProperty * | ProxyProperty |
| vtkSMDoubleVectorProperty * | DoubleVectorProperty |
| vtkSMIdTypeVectorProperty * | IdTypeVectorProperty |
| vtkSMIntVectorProperty * | IntVectorProperty |
| vtkSMStringVectorProperty * | StringVectorProperty |
| vtkSMProperty * | Property |
| char | Minimum [128] |
| char | Maximum [128] |
| char | EnumValue [128] |
| char | ElemValue [128] |
vtkSMPropertyAdaptor provides a general purpose string based interface for properties and domain. This is a helper class that can be used to simplify the management of properties and domains although it somehow restricts the capabilities of the server manager.