#include <vtkSMDomain.h>
Inheritance diagram for vtkSMDomain:
[NOHEADER] | |
virtual void | SetIsOptional (int) |
virtual int | GetIsOptional () |
int | IsOptional |
Public Member Functions | |
vtkTypeRevisionMacro (vtkSMDomain, vtkSMObject) | |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual int | IsInDomain (vtkSMProperty *property)=0 |
virtual void | Update (vtkSMProperty *) |
virtual void | SetAnimationValue (vtkSMProperty *, int, double) |
void | AddRequiredProperty (vtkSMProperty *prop, const char *function) |
virtual char * | GetXMLName () |
Protected Member Functions | |
vtkSMDomain () | |
~vtkSMDomain () | |
vtkSMProperty * | GetRequiredProperty (const char *function) |
void | RemoveRequiredProperty (vtkSMProperty *prop) |
virtual int | ReadXMLAttributes (vtkSMProperty *prop, vtkPVXMLElement *elem) |
void | InvokeModified () |
virtual void | SetXMLName (const char *) |
Protected Attributes | |
char * | XMLName |
vtkSMDomainInternals * | Internals |
Friends | |
class | vtkSMProperty |
vtkSMDomain is an abstract class that describes the "domain" of a a widget. A domain is a collection of possible values a property can have. Each domain can depend on one or more properties to compute it's values. This are called "required" properties and can be set in the XML configuration file.
Definition at line 40 of file vtkSMDomain.h.
|
|
|
|
|
|
|
|
Is the (unchecked) value of the property in the domain? Overwritten by sub-classes. Implemented in vtkSMBooleanDomain, vtkSMDataTypeDomain, vtkSMDoubleRangeDomain, vtkSMEnumerationDomain, vtkSMFixedTypeDomain, vtkSMInputArrayDomain, vtkSMIntRangeDomain, vtkSMNumberOfGroupsDomain, vtkSMNumberOfPartsDomain, vtkSMProxyGroupDomain, vtkSMStringListDomain, and vtkSMStringListRangeDomain. |
|
Update self based on the "unchecked" values of all required properties. Overwritten by sub-classes. Reimplemented in vtkSMArrayListDomain, vtkSMArrayRangeDomain, vtkSMArraySelectionDomain, vtkSMBoundsDomain, vtkSMDoubleRangeDomain, vtkSMExtentDomain, vtkSMFieldDataDomain, vtkSMIntRangeDomain, vtkSMNumberOfGroupsDomain, vtkSMStringListDomain, and vtkSMXDMFPropertyDomain. Definition at line 52 of file vtkSMDomain.h. |
|
Set the value of an element of a property from the animation editor. Reimplemented in vtkSMBooleanDomain, vtkSMDoubleRangeDomain, vtkSMExtentDomain, vtkSMIntRangeDomain, vtkSMStringListDomain, and vtkSMStringListRangeDomain. Definition at line 55 of file vtkSMDomain.h. |
|
Assigned by the XML parser. The name assigned in the XML configuration. Can be used to figure out the origin of the domain. |
|
Add a new required property to this domain. |
|
Returns a given required property of the given function. Function is a string associated with the require property in the XML file. |
|
Remove the given property from the required properties list. |
|
Set the appropriate ivars from the xml element. Should be overwritten by subclass if adding ivars. Reimplemented in vtkSMArrayListDomain, vtkSMBoundsDomain, vtkSMDataTypeDomain, vtkSMDoubleRangeDomain, vtkSMEnumerationDomain, vtkSMInputArrayDomain, vtkSMIntRangeDomain, vtkSMNumberOfGroupsDomain, vtkSMNumberOfPartsDomain, vtkSMProxyGroupDomain, vtkSMStringListDomain, and vtkSMStringListRangeDomain. |
|
When the IsOptional flag is set, IsInDomain() always returns true. This is used by properties that use domains to provide information (a suggestion to the gui for example) as opposed to restrict their values. |
|
When the IsOptional flag is set, IsInDomain() always returns true. This is used by properties that use domains to provide information (a suggestion to the gui for example) as opposed to restrict their values. |
|
Assigned by the XML parser. The name assigned in the XML configuration. Can be used to figure out the origin of the domain. |
|
Invoked DomainModifiedEvent. |
|
Definition at line 71 of file vtkSMDomain.h. |
|
When the IsOptional flag is set, IsInDomain() always returns true. This is used by properties that use domains to provide information (a suggestion to the gui for example) as opposed to restrict their values. Definition at line 92 of file vtkSMDomain.h. |
|
Definition at line 95 of file vtkSMDomain.h. |
|
Definition at line 103 of file vtkSMDomain.h. |