ParaView
Public Member Functions | Static Public Member Functions
vtkSMArrayRangeDomain Class Reference

double range domain based on array range More...

#include <vtkSMArrayRangeDomain.h>

Inheritance diagram for vtkSMArrayRangeDomain:
Inheritance graph
[legend]
Collaboration diagram for vtkSMArrayRangeDomain:
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)

Static Public Member Functions

static vtkSMArrayRangeDomainNew ()
static int IsTypeOf (const char *type)
static vtkSMArrayRangeDomainSafeDownCast (vtkObject *o)
virtual int SetDefaultValues (vtkSMProperty *)
 vtkSMArrayRangeDomain ()
 ~vtkSMArrayRangeDomain ()

Detailed Description

double range domain based on array range

vtkSMArrayRangeDomain is a sub-class of vtkSMDoubleRangeDomain. In it's Update(), it sets min/max values based on the range of an input array. It requires Input (vtkSMProxyProperty) and ArraySelection (vtkSMStringVectorProperty) properties.

See also:
vtkSMDoubleRangeDomain vtkSMProxyProperty vtkSMStringVectorProperty

Definition at line 36 of file vtkSMArrayRangeDomain.h.


Constructor & Destructor Documentation

vtkSMArrayRangeDomain::vtkSMArrayRangeDomain ( ) [protected]

A vtkSMProperty is often defined with a default value in the XML itself. However, many times, the default value must be determined at run time. To facilitate this, domains can override this method to compute and set the default value for the property. Note that unlike the compile-time default values, the application must explicitly call this method to initialize the property.

vtkSMArrayRangeDomain::~vtkSMArrayRangeDomain ( ) [protected]

A vtkSMProperty is often defined with a default value in the XML itself. However, many times, the default value must be determined at run time. To facilitate this, domains can override this method to compute and set the default value for the property. Note that unlike the compile-time default values, the application must explicitly call this method to initialize the property.


Member Function Documentation

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

Reimplemented from vtkSMDoubleRangeDomain.

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

Reimplemented from vtkSMDoubleRangeDomain.

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

Reimplemented from vtkSMDoubleRangeDomain.

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

Reimplemented from vtkSMDoubleRangeDomain.

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

Reimplemented from vtkSMDoubleRangeDomain.

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

Reimplemented from vtkSMDoubleRangeDomain.

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

Updates the range based on the scalar range of the currently selected array. This requires Input (vtkSMProxyProperty) and ArraySelection (vtkSMStringVectorProperty) properties. Currently, this uses only the first component of the array.

Reimplemented from vtkSMDoubleRangeDomain.

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

A vtkSMProperty is often defined with a default value in the XML itself. However, many times, the default value must be determined at run time. To facilitate this, domains can override this method to compute and set the default value for the property. Note that unlike the compile-time default values, the application must explicitly call this method to initialize the property.

Reimplemented from vtkSMDomain.


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