ParaView
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
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

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual int IsInDomain (vtkSMProperty *property)
int IsInDomain (vtkSMSourceProxy *proxy, int outputport=0)
unsigned int GetNumberOfDataTypes ()
const char * GetDataType (unsigned int idx)

Static Public Member Functions

static vtkSMDataTypeDomainNew ()
static int IsTypeOf (const char *type)
static vtkSMDataTypeDomainSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkSMDataTypeDomain ()
 ~vtkSMDataTypeDomain ()
virtual int ReadXMLAttributes (vtkSMProperty *prop, vtkPVXMLElement *element)
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 <DataType> 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

static vtkSMDataTypeDomain* vtkSMDataTypeDomain::New ( ) [static]

Reimplemented from vtkSMSessionObject.

virtual const char* vtkSMDataTypeDomain::GetClassName ( ) [virtual]

Reimplemented from vtkSMDomain.

static int vtkSMDataTypeDomain::IsTypeOf ( const char *  type) [static]

Reimplemented from vtkSMDomain.

virtual int vtkSMDataTypeDomain::IsA ( const char *  type) [virtual]

Reimplemented from vtkSMDomain.

static vtkSMDataTypeDomain* vtkSMDataTypeDomain::SafeDownCast ( vtkObject o) [static]

Reimplemented from vtkSMDomain.

void vtkSMDataTypeDomain::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

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,
int  outputport = 0 
)

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::SetCompositeDataSupported ( int  ) [protected, virtual]
virtual int vtkSMDataTypeDomain::GetCompositeDataSupported ( ) [protected, virtual]

Member Data Documentation

vtkSMDataTypeDomainInternals* vtkSMDataTypeDomain::DTInternals [protected]

Definition at line 72 of file vtkSMDataTypeDomain.h.

Definition at line 74 of file vtkSMDataTypeDomain.h.


The documentation for this class was generated from the following file: