Main Page   Class Hierarchy   Alphabetical List   Compound List   Compound Members   Related Pages  

vtkImageMathematics Class Reference

Add, subtract, multiply, divide, invert, sin, cos, exp, log. More...

#include <vtkImageMathematics.h>

Inheritance diagram for vtkImageMathematics:

Inheritance graph
[legend]
Collaboration diagram for vtkImageMathematics:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetOperation (int)
virtual int GetOperation ()
void SetOperationToAdd ()
void SetOperationToSubtract ()
void SetOperationToMultiply ()
void SetOperationToDivide ()
void SetOperationToConjugate ()
void SetOperationToComplexMultiply ()
void SetOperationToInvert ()
void SetOperationToSin ()
void SetOperationToCos ()
void SetOperationToExp ()
void SetOperationToLog ()
void SetOperationToAbsoluteValue ()
void SetOperationToSquare ()
void SetOperationToSquareRoot ()
void SetOperationToMin ()
void SetOperationToMax ()
void SetOperationToATAN ()
void SetOperationToATAN2 ()
void SetOperationToMultiplyByK ()
void SetOperationToAddConstant ()
void SetOperationToReplaceCByK ()
virtual void SetConstantK (double)
virtual double GetConstantK ()
virtual void SetConstantC (double)
virtual double GetConstantC ()

Static Public Methods

vtkImageMathematics * New ()
int IsTypeOf (const char *type)
vtkImageMathematics * SafeDownCast (vtkObject *o)

Protected Methods

 vtkImageMathematics ()
 ~vtkImageMathematics ()
 vtkImageMathematics (const vtkImageMathematics &)
void operator= (const vtkImageMathematics &)
void ExecuteInformation (vtkImageData **inDatas, vtkImageData *outData)
void ExecuteInformation ()
void ThreadedExecute (vtkImageData **inDatas, vtkImageData *outData, int extent[6], int id)

Protected Attributes

int Operation
double ConstantK
double ConstantC

Detailed Description

Add, subtract, multiply, divide, invert, sin, cos, exp, log.

Date:
2000/12/10 20:09:08
Revision:
1.23
Thanks:
Thanks to C. Charles Law who developed this class.
vtkImageMathematics implements basic mathematic operations SetOperation is used to select the filters behavior. The filter can take two or one input.
Examples:
vtkImageMathematics (examples)


Member Function Documentation

virtual const char* vtkImageMathematics::GetClassName   [virtual]
 

Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkImageTwoInputFilter.

virtual int vtkImageMathematics::IsA const char *    type [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 vtkImageTwoInputFilter.

int vtkImageMathematics::IsTypeOf const char *    type [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 vtkImageTwoInputFilter.

vtkImageMathematics* vtkImageMathematics::New   [static]
 

Instantiate object with no start, end, or progress methods.

Reimplemented from vtkImageTwoInputFilter.

void vtkImageMathematics::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 vtkImageMultipleInputFilter.

vtkImageMathematics* vtkImageMathematics::SafeDownCast vtkObject   o [static]
 

Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkImageTwoInputFilter.

virtual void vtkImageMathematics::SetOperation int    [virtual]
 

Set/Get the Operation to perform.

void vtkImageMathematics::ThreadedExecute vtkImageData **    inDatas,
vtkImageData   outData,
int    extent[6],
int    id
[protected, virtual]
 

The execute method created by the subclass. This is kept public instead of protected since it is called from a non-member thread function.

Reimplemented from vtkImageMultipleInputFilter.


The documentation for this class was generated from the following file:
Generated on Tue Mar 19 13:26:41 2002 for VTK by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002