VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkImageEuclideanToPolar Class Reference

Converts 2D Euclidean coordinates to polar. More...

#include <vtkImageEuclideanToPolar.h>

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

List of all members.

Public Types

typedef vtkThreadedImageAlgorithm Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkImageEuclideanToPolarNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetThetaMaximum (double)
virtual double GetThetaMaximum ()

Static Public Member Functions

static vtkImageEuclideanToPolarNew ()
static int IsTypeOf (const char *type)
static vtkImageEuclideanToPolarSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkImageEuclideanToPolar ()
 ~vtkImageEuclideanToPolar ()
void ThreadedExecute (vtkImageData *inData, vtkImageData *outData, int ext[6], int id)

Protected Attributes

double ThetaMaximum

Detailed Description

Converts 2D Euclidean coordinates to polar.

For each pixel with vector components x,y, this filter outputs theta in component0, and radius in component1.

Tests:
vtkImageEuclideanToPolar (Tests)

Definition at line 32 of file vtkImageEuclideanToPolar.h.


Member Typedef Documentation

Reimplemented from vtkThreadedImageAlgorithm.

Definition at line 37 of file vtkImageEuclideanToPolar.h.


Constructor & Destructor Documentation

Definition at line 50 of file vtkImageEuclideanToPolar.h.


Member Function Documentation

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

Reimplemented from vtkAlgorithm.

static int vtkImageEuclideanToPolar::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 vtkImageEuclideanToPolar::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.

Reimplemented from vtkThreadedImageAlgorithm.

virtual vtkObjectBase* vtkImageEuclideanToPolar::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkThreadedImageAlgorithm.

Reimplemented from vtkThreadedImageAlgorithm.

void vtkImageEuclideanToPolar::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 vtkImageEuclideanToPolar::SetThetaMaximum ( double  ) [virtual]

Theta is an angle. Maximum specifies when it maps back to 0. ThetaMaximum defaults to 255 instead of 2PI, because unsigned char is expected as input. The output type must be the same as input type.

Theta is an angle. Maximum specifies when it maps back to 0. ThetaMaximum defaults to 255 instead of 2PI, because unsigned char is expected as input. The output type must be the same as input type.

void vtkImageEuclideanToPolar::ThreadedExecute ( vtkImageData inData,
vtkImageData outData,
int  ext[6],
int  id 
) [protected, virtual]

Reimplemented from vtkThreadedImageAlgorithm.


Member Data Documentation

Definition at line 50 of file vtkImageEuclideanToPolar.h.


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