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

vtkSMDataTypeDomain Class Reference

restricts the input proxies to one or more data types More...

#include <vtkSMDataTypeDomain.h>

Inheritance diagram for vtkSMDataTypeDomain:

Inheritance graph
[legend]
Collaboration diagram for vtkSMDataTypeDomain:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 vtkTypeRevisionMacro (vtkSMDataTypeDomain, vtkSMDomain)
void PrintSelf (ostream &os, vtkIndent indent)
virtual int IsInDomain (vtkSMProperty *property)
int IsInDomain (vtkSMSourceProxy *proxy)
unsigned int GetNumberOfDataTypes ()
const char * GetDataType (unsigned int idx)

Static Public Member Functions

vtkSMDataTypeDomainNew ()

Protected Member Functions

 vtkSMDataTypeDomain ()
 ~vtkSMDataTypeDomain ()
virtual int ReadXMLAttributes (vtkSMProperty *prop, vtkPVXMLElement *element)
virtual void SaveState (const char *name, ostream *file, vtkIndent indent)
virtual void SetCompositeDataSupported (int)
virtual int GetCompositeDataSupported ()

Protected Attributes

vtkSMDataTypeDomainInternals * DTInternals
int CompositeDataSupported

Detailed Description

restricts the input proxies to one or more data types

vtkSMDataTypeDomain restricts the input proxies to one or more data types. These data types are specified in the XML with the element. VTK class names are used. It is possible to specify a superclass (i.e. vtkDataSet) for a more general domain. Works with vtkSMSourceProxy only. Valid XML elements are:

 * <DataType value=""> where value is the classname for the data type
 for example: vtkDataSet, vtkImageData,...
 
See also:
vtkSMDomain vtkSMSourceProxy

Definition at line 41 of file vtkSMDataTypeDomain.h.


Constructor & Destructor Documentation

vtkSMDataTypeDomain::vtkSMDataTypeDomain  )  [protected]
 

vtkSMDataTypeDomain::~vtkSMDataTypeDomain  )  [protected]
 


Member Function Documentation

vtkSMDataTypeDomain* vtkSMDataTypeDomain::New  )  [static]
 

Reimplemented from vtkSMObject.

vtkSMDataTypeDomain::vtkTypeRevisionMacro vtkSMDataTypeDomain  ,
vtkSMDomain 
 

void vtkSMDataTypeDomain::PrintSelf ostream &  os,
vtkIndent  indent
 

Reimplemented from vtkSMDomain.

virtual int vtkSMDataTypeDomain::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 all data types of the input's parts are in the domain, it returns. It returns 0 otherwise.

Implements vtkSMDomain.

int vtkSMDataTypeDomain::IsInDomain vtkSMSourceProxy proxy  ) 
 

Returns true if all parts of the source proxy are in the domain.

unsigned int vtkSMDataTypeDomain::GetNumberOfDataTypes  ) 
 

Returns the number of acceptable data types.

const char* vtkSMDataTypeDomain::GetDataType unsigned int  idx  ) 
 

Returns a data type.

virtual int vtkSMDataTypeDomain::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 vtkSMDataTypeDomain::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.

virtual void vtkSMDataTypeDomain::SetCompositeDataSupported int   )  [protected, virtual]
 

virtual int vtkSMDataTypeDomain::GetCompositeDataSupported  )  [protected, virtual]
 


Member Data Documentation

vtkSMDataTypeDomainInternals* vtkSMDataTypeDomain::DTInternals [protected]
 

Definition at line 73 of file vtkSMDataTypeDomain.h.

int vtkSMDataTypeDomain::CompositeDataSupported [protected]
 

Definition at line 75 of file vtkSMDataTypeDomain.h.


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