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

vtkImageLogarithmicScale Class Reference

Passes each pixel through log function. More...

#include <vtkImageLogarithmicScale.h>

Inheritance diagram for vtkImageLogarithmicScale:

Inheritance graph
[legend]
Collaboration diagram for vtkImageLogarithmicScale:

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 SetConstant (float)
virtual float GetConstant ()

Static Public Methods

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

Protected Methods

 vtkImageLogarithmicScale ()
 ~vtkImageLogarithmicScale ()
void ThreadedExecute (vtkImageData *inData, vtkImageData *outData, int outExt[6], int id)

Protected Attributes

float Constant

Detailed Description

Passes each pixel through log function.

Date:
2001/11/13 14:32:37
Revision:
1.20
Thanks:
Thanks to C. Charles Law who developed this class.
vtkImageLogarithmicScale passes each pixel through the function c*log(1+x). It also handles negative values with the function -c*log(1-x).
Tests:
vtkImageLogarithmicScale (Tests)

Definition at line 61 of file vtkImageLogarithmicScale.h.


Constructor & Destructor Documentation

vtkImageLogarithmicScale::vtkImageLogarithmicScale   [protected]
 

vtkImageLogarithmicScale::~vtkImageLogarithmicScale   [inline, protected]
 

Definition at line 76 of file vtkImageLogarithmicScale.h.


Member Function Documentation

vtkImageLogarithmicScale* vtkImageLogarithmicScale::New   [static]
 

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

Reimplemented from vtkImageToImageFilter.

virtual const char* vtkImageLogarithmicScale::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 vtkImageToImageFilter.

int vtkImageLogarithmicScale::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 vtkImageToImageFilter.

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

vtkImageLogarithmicScale* vtkImageLogarithmicScale::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 vtkImageToImageFilter.

void vtkImageLogarithmicScale::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 vtkImageToImageFilter.

virtual void vtkImageLogarithmicScale::SetConstant float    [virtual]
 

Set/Get the scale factor for the logarithmic function.

virtual float vtkImageLogarithmicScale::GetConstant   [virtual]
 

Set/Get the scale factor for the logarithmic function.

void vtkImageLogarithmicScale::ThreadedExecute vtkImageData   inData,
vtkImageData   outData,
int    outExt[6],
int    id
[protected, virtual]
 

If the subclass does not define an Execute method, then the task will be broken up, multiple threads will be spawned, and each thread will call this method. It is public so that the thread functions can call this method.

Reimplemented from vtkImageToImageFilter.


Member Data Documentation

float vtkImageLogarithmicScale::Constant [protected]
 

Definition at line 78 of file vtkImageLogarithmicScale.h.


The documentation for this class was generated from the following file:
Generated on Thu Mar 28 14:30:47 2002 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001