#include <vtkSMStringListDomain.h>
Inheritance diagram for vtkSMStringListDomain:
Public Member Functions | |
vtkTypeRevisionMacro (vtkSMStringListDomain, vtkSMDomain) | |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual int | IsInDomain (vtkSMProperty *property) |
int | IsInDomain (const char *string, unsigned int &idx) |
unsigned int | GetNumberOfStrings () |
const char * | GetString (unsigned int idx) |
unsigned int | AddString (const char *string) |
void | RemoveString (const char *string) |
void | RemoveAllStrings () |
virtual void | Update (vtkSMProperty *) |
virtual void | SetAnimationValue (vtkSMProperty *, int, double) |
Static Public Member Functions | |
vtkSMStringListDomain * | New () |
Protected Member Functions | |
vtkSMStringListDomain () | |
~vtkSMStringListDomain () | |
virtual int | ReadXMLAttributes (vtkSMProperty *prop, vtkPVXMLElement *element) |
virtual void | SaveState (const char *name, ostream *file, vtkIndent indent) |
Protected Attributes | |
vtkSMStringListDomainInternals * | SLInternals |
vtkSMStringListDomain represents a domain consisting of a list of strings. It only works with vtkSMStringVectorProperty. Valid XML elements are:
* <String value="">
Definition at line 37 of file vtkSMStringListDomain.h.
|
|
|
|
|
Reimplemented from vtkSMObject. Reimplemented in vtkSMArrayListDomain. |
|
|
|
Reimplemented from vtkSMDomain. Reimplemented in vtkSMArrayListDomain. |
|
Returns true if the value of the property is in the domain. The propery has to be a vtkSMStringVectorProperty. If all vector values are in the domain, it returns 1. It returns 0 otherwise. Implements vtkSMDomain. |
|
Returns true if the string is in the domain. |
|
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. |
|
Update self checking the "unchecked" values of all required properties. Overwritten by sub-classes. Reimplemented from vtkSMDomain. Reimplemented in vtkSMArrayListDomain. |
|
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. Reimplemented in vtkSMArrayListDomain. |
|
Saves the state of the object in XML format. Should be overwritten by proxies and properties. Reimplemented from vtkSMObject. |
|
Definition at line 85 of file vtkSMStringListDomain.h. |