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

vtkSMArrayListDomain Class Reference

list of arrays obtained from input More...

#include <vtkSMArrayListDomain.h>

Inheritance diagram for vtkSMArrayListDomain:

Inheritance graph
[legend]
Collaboration diagram for vtkSMArrayListDomain:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 vtkTypeRevisionMacro (vtkSMArrayListDomain, vtkSMStringListDomain)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void Update (vtkSMProperty *prop)
int IsArrayPartial (unsigned int idx)
virtual unsigned int GetDefaultElement ()

Static Public Member Functions

vtkSMArrayListDomainNew ()

Protected Member Functions

 vtkSMArrayListDomain ()
 ~vtkSMArrayListDomain ()
virtual int ReadXMLAttributes (vtkSMProperty *prop, vtkPVXMLElement *element)
virtual void SetDefaultElement (unsigned int)
virtual void SetInputDomainName (const char *)
virtual char * GetInputDomainName ()
void AddArrays (vtkSMSourceProxy *sp, vtkPVDataSetAttributesInformation *info, vtkSMInputArrayDomain *iad)
void Update (vtkSMSourceProxy *sp, vtkSMInputArrayDomain *iad)
void Update (vtkSMProxyProperty *pp, vtkSMSourceProxy *sp)
void Update (vtkSMProxyProperty *pp)
virtual void SetAttributeType (int)
virtual int GetAttributeType ()

Protected Attributes

int AttributeType
unsigned int DefaultElement
char * InputDomainName

Detailed Description

list of arrays obtained from input

vtkSMArrayListDomain represents a domain consisting of array names obtained from an input. vtkSMArrayListDomain requires a property of class vtkSMProxyProperty which points to a vtkSMSourceProxy and contains a vtkSMInputArrayDomain. Only the first proxy and domain are used. Valid XML attributes are:

 * attribute_type - one of:
    - scalars
    - vectors
    - normals
    - tcoords
    - tensors
 
See also:
vtkSMDomain vtkSMProxyProperty vtkSMInputArrayDomain

Definition at line 50 of file vtkSMArrayListDomain.h.


Constructor & Destructor Documentation

vtkSMArrayListDomain::vtkSMArrayListDomain  )  [protected]
 

vtkSMArrayListDomain::~vtkSMArrayListDomain  )  [protected]
 


Member Function Documentation

vtkSMArrayListDomain* vtkSMArrayListDomain::New  )  [static]
 

Reimplemented from vtkSMStringListDomain.

vtkSMArrayListDomain::vtkTypeRevisionMacro vtkSMArrayListDomain  ,
vtkSMStringListDomain 
 

void vtkSMArrayListDomain::PrintSelf ostream &  os,
vtkIndent  indent
 

Reimplemented from vtkSMStringListDomain.

virtual void vtkSMArrayListDomain::Update vtkSMProperty prop  )  [virtual]
 

Updates the string list based on the available arrays. Requires a property of class vtkSMProxyProperty which points to a vtkSMSourceProxy and contains a vtkSMInputArrayDomain. Only the first proxy and domain are used.

Reimplemented from vtkSMStringListDomain.

virtual unsigned int vtkSMArrayListDomain::GetDefaultElement  )  [virtual]
 

The DefaultElement is set during Update() using the "active attribute" of the assigned AttributeType. For example, if the AttributeType is set to SCALARS, DefaultElement is set to the index of the array that is the active scalars in the dataset.

int vtkSMArrayListDomain::IsArrayPartial unsigned int  idx  ) 
 

Returns true if the array with the given idx is partial false otherwise. See vtkPVArrayInformation for more information.

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

void vtkSMArrayListDomain::AddArrays vtkSMSourceProxy sp,
vtkPVDataSetAttributesInformation info,
vtkSMInputArrayDomain iad
[protected]
 

Utility functions called by Update()

void vtkSMArrayListDomain::Update vtkSMSourceProxy sp,
vtkSMInputArrayDomain iad
[protected]
 

Utility functions called by Update()

void vtkSMArrayListDomain::Update vtkSMProxyProperty pp,
vtkSMSourceProxy sp
[protected]
 

Utility functions called by Update()

void vtkSMArrayListDomain::Update vtkSMProxyProperty pp  )  [protected]
 

Utility functions called by Update()

virtual void vtkSMArrayListDomain::SetAttributeType int   )  [protected, virtual]
 

Set to an attribute type defined in vtkDataSetAttributes.

virtual int vtkSMArrayListDomain::GetAttributeType  )  [protected, virtual]
 

Set to an attribute type defined in vtkDataSetAttributes.

virtual void vtkSMArrayListDomain::SetDefaultElement unsigned  int  )  [protected, virtual]
 

virtual void vtkSMArrayListDomain::SetInputDomainName const char *   )  [protected, virtual]
 

virtual char* vtkSMArrayListDomain::GetInputDomainName  )  [protected, virtual]
 


Member Data Documentation

int vtkSMArrayListDomain::AttributeType [protected]
 

Definition at line 101 of file vtkSMArrayListDomain.h.

unsigned int vtkSMArrayListDomain::DefaultElement [protected]
 

Definition at line 102 of file vtkSMArrayListDomain.h.

char* vtkSMArrayListDomain::InputDomainName [protected]
 

Definition at line 107 of file vtkSMArrayListDomain.h.


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