ParaView
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkSMBoundsDomain Class Reference

double range domain based on data set bounds More...

#include <vtkSMBoundsDomain.h>

Inheritance diagram for vtkSMBoundsDomain:
Inheritance graph
[legend]
Collaboration diagram for vtkSMBoundsDomain:
Collaboration graph
[legend]

List of all members.

Public Types

enum  DefaultModes { MIN, MAX, MID }
enum  Modes { NORMAL, MAGNITUDE, ORIENTED_MAGNITUDE, SCALED_EXTENT }

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void Update (vtkSMProperty *)
virtual int SetDefaultValues (vtkSMProperty *)
void SetInputInformation (vtkPVDataInformation *input)
virtual void SetScaleFactor (double)
virtual double GetScaleFactor ()
virtual void SetDefaultMode (int)
virtual int GetDefaultMode ()
virtual void SetMode (int)
virtual int GetMode ()

Static Public Member Functions

static vtkSMBoundsDomainNew ()
static int IsTypeOf (const char *type)
static vtkSMBoundsDomainSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkSMBoundsDomain ()
 ~vtkSMBoundsDomain ()
void Update (vtkSMProxyProperty *pp)
virtual void UpdateFromInformation (vtkPVDataInformation *information)
void UpdateOriented ()
virtual int ReadXMLAttributes (vtkSMProperty *prop, vtkPVXMLElement *element)
vtkPVDataInformationGetInputInformation ()

Protected Attributes

int Mode
int DefaultMode
vtkPVDataInformationInputInformation
double ScaleFactor

Detailed Description

double range domain based on data set bounds

vtkSMBoundsDomain is a subclass of vtkSMDoubleRangeDomain. In its Update method, it determines the minimum and maximum coordinates of each dimension of the bounding box of the data set with which it is associated. It requires a vtkSMSourceProxy to do this.

See also:
vtkSMDoubleRangeDomain

Definition at line 34 of file vtkSMBoundsDomain.h.


Member Enumeration Documentation

SCALED_EXTENT: is used for vtkPVScaleFactorEntry.

Enumerator:
NORMAL 
MAGNITUDE 
ORIENTED_MAGNITUDE 
SCALED_EXTENT 

Definition at line 63 of file vtkSMBoundsDomain.h.

Enumerator:
MIN 
MAX 
MID 

Definition at line 72 of file vtkSMBoundsDomain.h.


Constructor & Destructor Documentation

vtkSMBoundsDomain::vtkSMBoundsDomain ( ) [protected]
vtkSMBoundsDomain::~vtkSMBoundsDomain ( ) [protected]

Member Function Documentation

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

Reimplemented from vtkSMDoubleRangeDomain.

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

Reimplemented from vtkSMDoubleRangeDomain.

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

Reimplemented from vtkSMDoubleRangeDomain.

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

Reimplemented from vtkSMDoubleRangeDomain.

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

Reimplemented from vtkSMDoubleRangeDomain.

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

Reimplemented from vtkSMDoubleRangeDomain.

virtual void vtkSMBoundsDomain::Update ( vtkSMProperty ) [virtual]

Update self checking the "unchecked" values of all required properties. Overwritten by sub-classes.

Reimplemented from vtkSMDoubleRangeDomain.

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

virtual void vtkSMBoundsDomain::SetMode ( int  ) [virtual]
virtual int vtkSMBoundsDomain::GetMode ( ) [virtual]
void vtkSMBoundsDomain::SetInputInformation ( vtkPVDataInformation input)
virtual void vtkSMBoundsDomain::SetScaleFactor ( double  ) [virtual]
virtual double vtkSMBoundsDomain::GetScaleFactor ( ) [virtual]
virtual void vtkSMBoundsDomain::SetDefaultMode ( int  ) [virtual]
virtual int vtkSMBoundsDomain::GetDefaultMode ( ) [virtual]
void vtkSMBoundsDomain::Update ( vtkSMProxyProperty pp) [protected]
virtual void vtkSMBoundsDomain::UpdateFromInformation ( vtkPVDataInformation information) [protected, virtual]
void vtkSMBoundsDomain::UpdateOriented ( ) [protected]
virtual int vtkSMBoundsDomain::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 vtkSMDoubleRangeDomain.

vtkPVDataInformation* vtkSMBoundsDomain::GetInputInformation ( ) [protected]

Member Data Documentation

Definition at line 97 of file vtkSMBoundsDomain.h.

Definition at line 98 of file vtkSMBoundsDomain.h.

Definition at line 100 of file vtkSMBoundsDomain.h.

Definition at line 102 of file vtkSMBoundsDomain.h.


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