irtkScalarFunctionToImage< VoxelType > Class Template Reference

#include <irtkScalarFunctionToImage.h>

Inheritance diagram for irtkScalarFunctionToImage< VoxelType >:

Inheritance graph
[legend]
Collaboration diagram for irtkScalarFunctionToImage< VoxelType >:

Collaboration graph
[legend]

List of all members.


Detailed Description

template<class VoxelType>
class irtkScalarFunctionToImage< VoxelType >

Class for scalar function to image filter.

This class uses a scalar function to produce an image as output. The filter loops through each voxel of the output image and calculates its intensity as the value of the scalar function as a function of spatial location.

Definition at line 26 of file irtkScalarFunctionToImage.h.


Public Member Functions

 irtkScalarFunctionToImage (Bool=True)
 Constructor (using world coordinates by default).
virtual ~irtkScalarFunctionToImage ()
 Deconstuctor.
virtual void SetInput (irtkScalarFunction *)
 Set input.
virtual void SetOutput (irtkGenericImage< VoxelType > *)
 Set output.
virtual void Run ()
 Run the filter on entire image.
virtual const char * NameOfClass ()
 Returns the name of the class.
 SetMacro (DebugFlag, Bool)
 Set debugging flag.
 GetMacro (DebugFlag, Bool)
 Get debugging flag.
virtual void Debug (char *)
 Print debugging messages if debugging is enabled.

Protected Attributes

irtkScalarFunction_input
 Input for the filter.
irtkGenericImage< VoxelType > * _output
 Output for the filter.

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