#include <vtkSMStringListRangeDomain.h>
Inheritance diagram for vtkSMStringListRangeDomain:
Public Types | |
enum | Modes { RANGE, BOOLEAN } |
Public Member Functions | |
vtkTypeRevisionMacro (vtkSMStringListRangeDomain, vtkSMDomain) | |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual int | IsInDomain (vtkSMProperty *property) |
unsigned int | GetNumberOfStrings () |
const char * | GetString (unsigned int idx) |
unsigned int | AddString (const char *string) |
void | RemoveString (const char *string) |
void | RemoveAllStrings () |
int | GetMinimum (unsigned int idx, int &exists) |
int | GetMaximum (unsigned int idx, int &exists) |
void | AddMinimum (unsigned int idx, int value) |
void | RemoveMinimum (unsigned int idx) |
void | RemoveAllMinima () |
void | AddMaximum (unsigned int idx, int value) |
void | RemoveMaximum (unsigned int idx) |
void | RemoveAllMaxima () |
virtual void | SetIntDomainMode (int) |
virtual int | GetIntDomainMode () |
virtual void | SetAnimationValue (vtkSMProperty *property, int idx, double value) |
Static Public Member Functions | |
vtkSMStringListRangeDomain * | New () |
Protected Member Functions | |
vtkSMStringListRangeDomain () | |
~vtkSMStringListRangeDomain () | |
virtual int | ReadXMLAttributes (vtkSMProperty *prop, vtkPVXMLElement *element) |
virtual void | SaveState (const char *name, ostream *file, vtkIndent indent) |
Protected Attributes | |
vtkSMIntRangeDomain * | IRDomain |
vtkSMBooleanDomain * | BDomain |
vtkSMStringListDomain * | SLDomain |
int | IntDomainMode |
vtkSMStringListRangeDomain restricts the values of string vectors (works only with vtkSMStringVectorProperty) to a list of strings and either a range or a boolean. This is used with string properties that have tuples of string and int type components. A good example is array selection, where the first entry is the name of the array (string) and the second one is whether it is selected or not (int, bool). Another example is xdmf parameters, where the first entry is the name of the property and the second one it's value (restricted to an int range)
Definition at line 40 of file vtkSMStringListRangeDomain.h.
|
Definition at line 52 of file vtkSMStringListRangeDomain.h. |
|
|
|
|
|
Reimplemented from vtkSMObject. Reimplemented in vtkSMArraySelectionDomain, and vtkSMXDMFPropertyDomain. |
|
|
|
Reimplemented from vtkSMDomain. Reimplemented in vtkSMArraySelectionDomain, and vtkSMXDMFPropertyDomain. |
|
True if every even element is in the list of strings and every add element is in the range (or boolean), false otherwise. Implements vtkSMDomain. |
|
Set the domain for the integer value. Can be either RANGE or BOOLEAN |
|
Set the domain for the integer value. Can be either RANGE or BOOLEAN |
|
Returns the number of strings in the domain. |
|
Returns a string in the domain. The pointer may become invalid once the domain has been modified. |
|
Adds a new string to the domain. |
|
Removes a string from the domain. |
|
Removes all strings from the domain. |
|
Return a min. value if it exists. If the min. exists exists is set to 1. Otherwise, it is set to 0. An unspecified min. is equivalent to -inf |
|
Return a max. value if it exists. If the min. exists exists is set to 1. Otherwise, it is set to 0. An unspecified max. is equivalent to inf |
|
Set a min. of a given index. |
|
Remove a min. of a given index. An unspecified min. is equivalent to -inf |
|
Clear all minimum values. |
|
Set a max. of a given index. |
|
Remove a max. of a given index. An unspecified min. is equivalent to inf |
|
Clear all maximum values. |
|
Set the value of an element of a property from the animation editor. Reimplemented from vtkSMDomain. |
|
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 127 of file vtkSMStringListRangeDomain.h. |
|
Definition at line 128 of file vtkSMStringListRangeDomain.h. |
|
Definition at line 129 of file vtkSMStringListRangeDomain.h. |
|
Definition at line 131 of file vtkSMStringListRangeDomain.h. |