ParaView
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkSMFieldDataDomain Class Reference

enumeration with point and cell data entries More...

#include <vtkSMFieldDataDomain.h>

Inheritance diagram for vtkSMFieldDataDomain:
Inheritance graph
[legend]
Collaboration diagram for vtkSMFieldDataDomain:
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 void Update (vtkSMProperty *prop)
virtual int SetDefaultValues (vtkSMProperty *)

Static Public Member Functions

static vtkSMFieldDataDomainNew ()
static int IsTypeOf (const char *type)
static vtkSMFieldDataDomainSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkSMFieldDataDomain ()
 ~vtkSMFieldDataDomain ()
virtual int ReadXMLAttributes (vtkSMProperty *prop, vtkPVXMLElement *elem)

Protected Attributes

bool EnableFieldDataSelection
bool DisableUpdateDomainEntries
bool ForcePointAndCellDataSelection

Detailed Description

enumeration with point and cell data entries

vtkSMFieldDataDomain is a sub-class vtkSMEnumerationDomain that looks at the input in Update() and populates the entry list based on whether there are valid arrays in point/cell/vertex/edge/row data. At most it consists of two entries: ("Point Data", vtkDataObject::FIELD_ASSOCIATION_POINTS) and ("Cell Data", vtkDataObject::FIELD_ASSOCIATION_CELLS) in case of vtkDataSet subclasses OR ("Vertex Data", vtkDataObject::FIELD_ASSOCIATION_VERTICES) and ("Edge Data", vtkDataObject::FIELD_ASSOCIATION_EDGES) in case of vtkGraph and subclasses OR ("Row Data", vtkDataObject::FIELD_ASSOCIATION_ROWS) in case of vtkTable and subclasses. It requires Input (vtkSMProxyProperty) property. If attribute "disable_update_domain_entries" is set to true (false by default), then the domain values will not changed based on input field availability. Only the default value setting will be affected by that.

See also:
vtkSMEnumerationDomain vtkSMProxyProperty

Definition at line 51 of file vtkSMFieldDataDomain.h.


Constructor & Destructor Documentation

vtkSMFieldDataDomain::vtkSMFieldDataDomain ( ) [protected]
vtkSMFieldDataDomain::~vtkSMFieldDataDomain ( ) [protected]

Member Function Documentation

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

Reimplemented from vtkSMEnumerationDomain.

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

Reimplemented from vtkSMEnumerationDomain.

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

Reimplemented from vtkSMEnumerationDomain.

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

Reimplemented from vtkSMEnumerationDomain.

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

Reimplemented from vtkSMEnumerationDomain.

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

Reimplemented from vtkSMEnumerationDomain.

virtual void vtkSMFieldDataDomain::Update ( vtkSMProperty prop) [virtual]

Check the input and appropriate fields (point data or cell data) to the enumeration. This uses the Input property with a vtkSMInputArrayDomain.

Reimplemented from vtkSMEnumerationDomain.

virtual int vtkSMFieldDataDomain::SetDefaultValues ( vtkSMProperty ) [virtual]

Overridden to ensure that the property's default value is valid for the enumeration, if not it will be set to the first enumeration value.

Reimplemented from vtkSMEnumerationDomain.

virtual int vtkSMFieldDataDomain::ReadXMLAttributes ( vtkSMProperty prop,
vtkPVXMLElement elem 
) [protected, virtual]

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

Reimplemented from vtkSMEnumerationDomain.


Member Data Documentation

Definition at line 77 of file vtkSMFieldDataDomain.h.

Definition at line 81 of file vtkSMFieldDataDomain.h.

Definition at line 86 of file vtkSMFieldDataDomain.h.


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