#include <vtkSMEnumerationDomain.h>
Inheritance diagram for vtkSMEnumerationDomain:


Public Member Functions | |
| vtkTypeRevisionMacro (vtkSMEnumerationDomain, vtkSMDomain) | |
| void | PrintSelf (ostream &os, vtkIndent indent) |
| virtual int | IsInDomain (vtkSMProperty *property) |
| int | IsInDomain (int val, unsigned int &idx) |
| unsigned int | GetNumberOfEntries () |
| int | GetEntryValue (unsigned int idx) |
| const char * | GetEntryText (unsigned int idx) |
| void | AddEntry (const char *text, int value) |
| void | RemoveAllEntries () |
Static Public Member Functions | |
| vtkSMEnumerationDomain * | New () |
Protected Member Functions | |
| vtkSMEnumerationDomain () | |
| ~vtkSMEnumerationDomain () | |
| virtual int | ReadXMLAttributes (vtkSMProperty *prop, vtkPVXMLElement *element) |
| virtual void | SaveState (const char *name, ostream *file, vtkIndent indent) |
Protected Attributes | |
| vtkSMEnumerationDomainInternals * | EInternals |
vtkSMEnumerationDomain represents an enumeration of integer values with associated descriptive strings. Valid XML elements are:
* <Entry text="" value=""/> where text is the descriptive string and value is the integer value.
Definition at line 38 of file vtkSMEnumerationDomain.h.
|
|
|
|
|
|
|
|
Reimplemented from vtkSMObject. Reimplemented in vtkSMFieldDataDomain. |
|
||||||||||||
|
|
|
||||||||||||
|
Reimplemented from vtkSMDomain. Reimplemented in vtkSMFieldDataDomain. |
|
|
Returns true if the value of the propery is in the domain. The propery has to be a vtkSMIntVectorProperty. If all vector values are in the domain, it returns 1. It returns 0 otherwise. Implements vtkSMDomain. |
|
||||||||||||
|
Returns true if the int is in the domain. If value is in domain, it's index is return in idx. |
|
|
Returns the number of entries in the enumeration. |
|
|
Returns the integer value of an enumeration entry. |
|
|
Returns the descriptive string of an enumeration entry. |
|
||||||||||||
|
Add a new enumeration entry. text cannot be null. |
|
|
Clear all entries. |
|
||||||||||||
|
Set the appropriate ivars from the xml element. Should be overwritten by subclass if adding ivars. Reimplemented from vtkSMDomain. |
|
||||||||||||||||
|
Saves the state of the object in XML format. Should be overwritten by proxies and properties. Reimplemented from vtkSMObject. |
|
|
Definition at line 79 of file vtkSMEnumerationDomain.h. |
1.3.5