VTK
|
Passes each pixel through log function. More...
#include <vtkImageLogarithmicScale.h>
Public Types | |
typedef vtkThreadedImageAlgorithm | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkImageLogarithmicScale * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetConstant (double) |
virtual double | GetConstant () |
Static Public Member Functions | |
static vtkImageLogarithmicScale * | New () |
static int | IsTypeOf (const char *type) |
static vtkImageLogarithmicScale * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkImageLogarithmicScale () | |
~vtkImageLogarithmicScale () | |
void | ThreadedExecute (vtkImageData *inData, vtkImageData *outData, int outExt[6], int id) |
Protected Attributes | |
double | Constant |
Passes each pixel through log function.
vtkImageLogarithmicScale passes each pixel through the function c*log(1+x). It also handles negative values with the function -c*log(1-x).
Definition at line 33 of file vtkImageLogarithmicScale.h.
Reimplemented from vtkThreadedImageAlgorithm.
Definition at line 37 of file vtkImageLogarithmicScale.h.
vtkImageLogarithmicScale::vtkImageLogarithmicScale | ( | ) | [protected] |
vtkImageLogarithmicScale::~vtkImageLogarithmicScale | ( | ) | [inline, protected] |
Definition at line 48 of file vtkImageLogarithmicScale.h.
static vtkImageLogarithmicScale* vtkImageLogarithmicScale::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkAlgorithm.
static int vtkImageLogarithmicScale::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 vtkThreadedImageAlgorithm.
virtual int vtkImageLogarithmicScale::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 vtkThreadedImageAlgorithm.
static vtkImageLogarithmicScale* vtkImageLogarithmicScale::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkThreadedImageAlgorithm.
virtual vtkObjectBase* vtkImageLogarithmicScale::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkThreadedImageAlgorithm.
Reimplemented from vtkThreadedImageAlgorithm.
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 vtkThreadedImageAlgorithm.
virtual void vtkImageLogarithmicScale::SetConstant | ( | double | ) | [virtual] |
Set/Get the scale factor for the logarithmic function.
virtual double 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] |
Reimplemented from vtkThreadedImageAlgorithm.
double vtkImageLogarithmicScale::Constant [protected] |
Definition at line 50 of file vtkImageLogarithmicScale.h.