#include <itkOrganism.h>
Inheritance diagram for itk::ItkOrganism< TInputImage, TOutputImage, TExternalForceImage, DataType, nDims >:
Public Types | |
typedef TInputImage | InputImageType |
typedef TOutputImage | OutputImageType |
typedef TExternalForceImage | ExternalForceImageType |
typedef ItkOrganism | Self |
typedef ImageToImageFilter< InputImageType, OutputImageType > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef InputImageType::PixelType | InputPixelType |
typedef OutputImageType::PixelType | OutputPixelType |
typedef NumericTraits< InputPixelType >::RealType | InputRealType |
typedef InputImageType::RegionType | InputImageRegionType |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef InputImageType::SizeType | InputSizeType |
typedef Organism< DataType, nDims >::GeometricType | GeometricType |
The type used for the geometric layer. | |
Public Member Functions | |
itkStaticConstMacro (InputImageDimension, unsigned int, TInputImage::ImageDimension) | |
itkNewMacro (Self) | |
itkTypeMacro (ItkOrganism, ImageToImageFilter) | |
virtual void | GenerateInputRequestedRegion () throw (InvalidRequestedRegionError) |
virtual char * | checkMessages () |
virtual bool | postMessage () |
virtual int | run () |
Public method for simulating the organism. | |
virtual bool | setDefaultBehaviour () |
virtual bool | setSchedule () |
virtual void | addNode (DataType *n) |
virtual void | writeNodesToFile (std::string fileName) |
virtual void | readNodesFromFile (std::string fileName) |
Protected Member Functions | |
ItkOrganism () | |
virtual | ~ItkOrganism () |
void | GenerateData () |
Those wishing to create new deformable organisms with image inputs/outputs should inherit directly from this class. Building a new organism essentially involves inheriting from this class, and placing customized layers directly in the organisms constructor. See Org_EulerSchedule and Org_LevelSetSchedule for details.
TInputImage | the input image type | |
TOutputImage | the output image type | |
TExternalForceImage | the type of image used for external forces | |
DataType | The data type to use (eg. float) | |
nDims | The dimensionality of the organism |
Definition at line 33 of file itkOrganism.h.
typedef TInputImage itk::ItkOrganism< TInputImage, TOutputImage, TExternalForceImage, DataType, nDims >::InputImageType |
Convenient typedefs for simplifying declarations.
Definition at line 41 of file itkOrganism.h.
typedef InputImageType::PixelType itk::ItkOrganism< TInputImage, TOutputImage, TExternalForceImage, DataType, nDims >::InputPixelType |
Image typedef support.
Definition at line 59 of file itkOrganism.h.
typedef ItkOrganism itk::ItkOrganism< TInputImage, TOutputImage, TExternalForceImage, DataType, nDims >::Self |
Standard class typedefs.
Reimplemented in itk::ItkVesselCrawler< TInputImage, TOutputImage, TExternalForceImage, DataType >, itk::Org_EulerSchedule< TInputImage, TOutputImage, TExternalForceImage, DataType, nDims >, and itk::Org_LevelSetSchedule< TInputImage, TOutputImage, TExternalForceImage, DataType, nDims >.
Definition at line 47 of file itkOrganism.h.
itk::ItkOrganism< TInputImage, TOutputImage, TExternalForceImage, DataType, nDims >::itkNewMacro | ( | Self | ) |
Method for creation through the object factory.
itk::ItkOrganism< TInputImage, TOutputImage, TExternalForceImage, DataType, nDims >::itkStaticConstMacro | ( | InputImageDimension | , | |
unsigned | int, | |||
TInputImage::ImageDimension | ||||
) |
Extract dimension from input and output image.
Reimplemented in itk::Org_EulerSchedule< TInputImage, TOutputImage, TExternalForceImage, DataType, nDims >, and itk::Org_LevelSetSchedule< TInputImage, TOutputImage, TExternalForceImage, DataType, nDims >.
itk::ItkOrganism< TInputImage, TOutputImage, TExternalForceImage, DataType, nDims >::itkTypeMacro | ( | ItkOrganism< TInputImage, TOutputImage, TExternalForceImage, DataType, nDims > | , | |
ImageToImageFilter | ||||
) |
Run-time type information (and related methods).
int itk::ItkOrganism< TInputImage, TOutputImage, TExternalForceImage, DataType, nDims >::run | ( | ) | [virtual] |
Public method for simulating the organism.
Implemenations of this method are in charge of running the cogntive and physics layers.
Implements mial::Organism< DataType, nDims >.
Definition at line 77 of file itkOrganism.cxx.
References mial::Organism< DataType, nDims >::cgLayer, and mial::Organism< DataType, nDims >::physLayer.