Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

vtkSMNumberOfPartsDomain Class Reference

restricts the number of parts of input More...

#include <vtkSMNumberOfPartsDomain.h>

Inheritance diagram for vtkSMNumberOfPartsDomain:

Inheritance graph
[legend]
Collaboration diagram for vtkSMNumberOfPartsDomain:

Collaboration graph
[legend]
List of all members.

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

vtkSMNumberOfPartsDomainNew ()

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

Detailed Description

restricts the number of parts of input

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
 
See also:
vtkSMDomain

Definition at line 35 of file vtkSMNumberOfPartsDomain.h.


Member Enumeration Documentation

enum vtkSMNumberOfPartsDomain::NumberOfParts
 

Enumeration values:
SINGLE 
MULTIPLE 

Definition at line 60 of file vtkSMNumberOfPartsDomain.h.


Constructor & Destructor Documentation

vtkSMNumberOfPartsDomain::vtkSMNumberOfPartsDomain  )  [protected]
 

vtkSMNumberOfPartsDomain::~vtkSMNumberOfPartsDomain  )  [protected]
 


Member Function Documentation

vtkSMNumberOfPartsDomain* vtkSMNumberOfPartsDomain::New  )  [static]
 

Reimplemented from vtkSMObject.

vtkSMNumberOfPartsDomain::vtkTypeRevisionMacro vtkSMNumberOfPartsDomain  ,
vtkSMDomain 
 

void vtkSMNumberOfPartsDomain::PrintSelf ostream &  os,
vtkIndent  indent
 

Reimplemented from vtkSMDomain.

virtual int vtkSMNumberOfPartsDomain::IsInDomain vtkSMProperty property  )  [virtual]
 

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.

int vtkSMNumberOfPartsDomain::IsInDomain vtkSMSourceProxy proxy  ) 
 

If the number of parts contained by the source matches the criteria set in the domain, returns 1. Returns 0 otherwise.

virtual void vtkSMNumberOfPartsDomain::SetPartMultiplicity unsigned  char  )  [virtual]
 

Set/get the part multiplicity. Can be either SINGLE or MULTIPLE.

virtual unsigned char vtkSMNumberOfPartsDomain::GetPartMultiplicity  )  [virtual]
 

Set/get the part multiplicity. Can be either SINGLE or MULTIPLE.

virtual int vtkSMNumberOfPartsDomain::ReadXMLAttributes vtkSMProperty prop,
vtkPVXMLElement element
[protected, virtual]
 

Set the appropriate ivars from the xml element. Should be overwritten by subclass if adding ivars.

Reimplemented from vtkSMDomain.

virtual void vtkSMNumberOfPartsDomain::SaveState const char *  name,
ostream *  file,
vtkIndent  indent
[protected, virtual]
 

Saves the state of the object in XML format. Should be overwritten by proxies and properties.

Reimplemented from vtkSMObject.


Member Data Documentation

unsigned char vtkSMNumberOfPartsDomain::PartMultiplicity [protected]
 

Definition at line 77 of file vtkSMNumberOfPartsDomain.h.


The documentation for this class was generated from the following file:
Generated on Tue May 30 12:40:44 2006 for ParaView by doxygen 1.3.5