#include <vtkSMIntRangeDomain.h>
Inheritance diagram for vtkSMIntRangeDomain:
Public Member Functions | |
vtkTypeRevisionMacro (vtkSMIntRangeDomain, vtkSMDomain) | |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual int | IsInDomain (vtkSMProperty *property) |
int | IsInDomain (unsigned int idx, int val) |
int | GetMinimum (unsigned int idx, int &exists) |
int | GetMaximum (unsigned int idx, int &exists) |
int | GetResolution (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 () |
void | AddResolution (unsigned int idx, int value) |
void | RemoveResolution (unsigned int idx) |
void | RemoveAllResolutions () |
unsigned int | GetNumberOfEntries () |
virtual void | Update (vtkSMProperty *) |
virtual void | SetAnimationValue (vtkSMProperty *property, int idx, double value) |
Static Public Member Functions | |
vtkSMIntRangeDomain * | New () |
Protected Types | |
enum | { MIN = 0, MAX = 1, RESOLUTION = 2 } |
Protected Member Functions | |
vtkSMIntRangeDomain () | |
~vtkSMIntRangeDomain () | |
virtual int | ReadXMLAttributes (vtkSMProperty *prop, vtkPVXMLElement *element) |
virtual void | SaveState (const char *name, ostream *file, vtkIndent indent) |
void | SetEntry (unsigned int idx, int minOrMax, int set, int value) |
void | SetNumberOfEntries (unsigned int size) |
Protected Attributes | |
vtkSMIntRangeDomainInternals * | IRInternals |
vtkSMIntRangeDomain represents an interger interval specified using a min and a max value. Valid XML attributes are:
* min * max
Definition at line 40 of file vtkSMIntRangeDomain.h.
|
Definition at line 138 of file vtkSMIntRangeDomain.h. |
|
|
|
|
|
Reimplemented from vtkSMObject. Reimplemented in vtkSMExtentDomain, and vtkSMNumberOfGroupsDomain. |
|
|
|
Reimplemented from vtkSMDomain. Reimplemented in vtkSMExtentDomain, and vtkSMNumberOfGroupsDomain. |
|
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. A value is in the domain if it is between (min, max) Implements vtkSMDomain. Reimplemented in vtkSMNumberOfGroupsDomain. |
|
Returns true if the int is in the domain. If value is in domain, it's index is return in idx. A value is in the domain if it is between (min, max) |
|
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 |
|
Return a resolution. value if it exists. If the resolution. exists exists is set to 1. Otherwise, it is set to 0. An unspecified max. is equivalent to 1 |
|
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 a resolution. of a given index. |
|
Remove a resolution. of a given index. An unspecified resolution. is equivalent to 1 |
|
Clear all resolution values. |
|
Returns the number of entries in the internal maxima/minima list. No maxima/minima exists beyond this index. Maxima/minima below this number may or may not exist. |
|
Update self checking the "unchecked" values of all required properties. Overwritten by sub-classes. Reimplemented from vtkSMDomain. Reimplemented in vtkSMExtentDomain, and vtkSMNumberOfGroupsDomain. |
|
Set the value of an element of a property from the animation editor. Reimplemented from vtkSMDomain. Reimplemented in vtkSMExtentDomain. |
|
Set the appropriate ivars from the xml element. Should be overwritten by subclass if adding ivars. Reimplemented from vtkSMDomain. Reimplemented in vtkSMNumberOfGroupsDomain. |
|
Saves the state of the object in XML format. Should be overwritten by proxies and properties. Reimplemented from vtkSMObject. Reimplemented in vtkSMNumberOfGroupsDomain. |
|
General purpose method called by both AddMinimum() and AddMaximum() |
|
|
|
Definition at line 135 of file vtkSMIntRangeDomain.h. |