#include <vtkSMNumberOfPartsDomain.h>
Inheritance diagram for vtkSMNumberOfPartsDomain:
Public Types | |
enum | NumberOfParts { SINGLE = 0, MULTIPLE = 1 } |
Public Member Functions | |
vtkTypeRevisionMacro (vtkSMNumberOfPartsDomain, vtkSMDomain) | |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual int | IsInDomain (vtkSMProperty *property) |
int | IsInDomain (vtkSMSourceProxy *proxy) |
virtual void | SetPartMultiplicity (unsigned char) |
virtual unsigned char | GetPartMultiplicity () |
Static Public Member Functions | |
vtkSMNumberOfPartsDomain * | New () |
Protected Member Functions | |
vtkSMNumberOfPartsDomain () | |
~vtkSMNumberOfPartsDomain () | |
virtual int | ReadXMLAttributes (vtkSMProperty *prop, vtkPVXMLElement *element) |
virtual void | SaveState (const char *name, ostream *file, vtkIndent indent) |
Protected Attributes | |
unsigned char | PartMultiplicity |
vtkSMNumberOfPartsDomain requires that the source proxy pointed by the property has an output with the specified multiplicity of parts: SINGLE or MULTIPLE. Valid XML attributes are:
* multiplicity - can be either single or multiple
Definition at line 35 of file vtkSMNumberOfPartsDomain.h.
|
Definition at line 60 of file vtkSMNumberOfPartsDomain.h. |
|
|
|
|
|
Reimplemented from vtkSMObject. |
|
|
|
Reimplemented from vtkSMDomain. |
|
Returns true if the value of the propery is in the domain. The propery has to be a vtkSMProxyProperty which points to a vtkSMSourceProxy. If the number of parts contained by the source matches the criteria set in the domain, returns 1. Returns 0 otherwise. Implements vtkSMDomain. |
|
If the number of parts contained by the source matches the criteria set in the domain, returns 1. Returns 0 otherwise. |
|
Set/get the part multiplicity. Can be either SINGLE or MULTIPLE. |
|
Set/get the part multiplicity. Can be either SINGLE or MULTIPLE. |
|
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 77 of file vtkSMNumberOfPartsDomain.h. |