vtkScaleDimension Class Reference

#include <vtkScaleDimension.h>

Inheritance diagram for vtkScaleDimension:

Inheritance graph
[legend]
Collaboration diagram for vtkScaleDimension:

Collaboration graph
[legend]

List of all members.


Detailed Description

scales every element in an N-way array along one dimension.

Scales every element in an N-way array along one dimension. The scaling factor along this dimension is specified by a scaling vector with the same extents as the target dimension.

Inputs: Input port 0: (required) a vtkTypedArray<double> of arbitrary dimension and extents.

Input port 1: (required) a vtkDenseArray<double> with one dimension. The extents of the array must match the extents of the port 0 array along the dimension to be scaled.

Thanks:
Developed by Timothy M. Shead (tshead@sandia.gov) at Sandia National Laboratories.
Events:
vtkCommand::ProgressEvent
Tests:
vtkScaleDimension (Tests)

Definition at line 54 of file vtkScaleDimension.h.


Public Types

typedef vtkArrayDataAlgorithm Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual int GetDimension ()
virtual void SetDimension (int)
virtual void SetInvert (int)
virtual int GetInvert ()

Static Public Member Functions

static vtkScaleDimensionNew ()
static int IsTypeOf (const char *type)
static vtkScaleDimensionSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkScaleDimension ()
 ~vtkScaleDimension ()
virtual int FillInputPortInformation (int, vtkInformation *)
int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)

Member Typedef Documentation

Reimplemented from vtkArrayDataAlgorithm.

Definition at line 59 of file vtkScaleDimension.h.


Constructor & Destructor Documentation

vtkScaleDimension::vtkScaleDimension (  )  [protected]

vtkScaleDimension::~vtkScaleDimension (  )  [protected]


Member Function Documentation

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

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkArrayDataAlgorithm.

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

Reimplemented from vtkArrayDataAlgorithm.

static int vtkScaleDimension::IsTypeOf ( const char *  name  )  [static]

Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkArrayDataAlgorithm.

virtual int vtkScaleDimension::IsA ( const char *  name  )  [virtual]

Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkArrayDataAlgorithm.

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

Reimplemented from vtkArrayDataAlgorithm.

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

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkArrayDataAlgorithm.

virtual int vtkScaleDimension::GetDimension (  )  [virtual]

Specifies the dimension to be scaled. Default 0.

virtual void vtkScaleDimension::SetDimension ( int   )  [virtual]

Specifies the dimension to be scaled. Default 0.

virtual void vtkScaleDimension::SetInvert ( int   )  [virtual]

Controls whether to invert scaling vector values. Default: false

virtual int vtkScaleDimension::GetInvert (  )  [virtual]

Controls whether to invert scaling vector values. Default: false

virtual int vtkScaleDimension::FillInputPortInformation ( int  port,
vtkInformation info 
) [protected, virtual]

Fill the input port information objects for this algorithm. This is invoked by the first call to GetInputPortInformation for each port so subclasses can specify what they can handle.

Reimplemented from vtkArrayDataAlgorithm.

int vtkScaleDimension::RequestData ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
) [protected, virtual]

This is called by the superclass. This is the method you should override.

Reimplemented from vtkArrayDataAlgorithm.


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

Generated on Mon Sep 27 18:49:00 2010 for VTK by  doxygen 1.5.6