mial::Beh_SearchForObject< Type, TInputImage, nDims > Class Template Reference

#include <Beh_SearchForObject.h>

Inheritance diagram for mial::Beh_SearchForObject< Type, TInputImage, nDims >:

mial::Behavior< Type, nDims > List of all members.

Public Types

typedef Beh_SearchForObject Self
typedef itk::SmartPointer<
Self
Pointer
typedef itk::SmartPointer<
const Self
ConstPointer
typedef itk::WeakPointer<
const Self
ConstWeakPointer
typedef vnl_vector< Type > VectorType
typedef Behavior< Type, nDims
>::Error 
Error

Public Member Functions

virtual bool run (typename Behavior< Type, nDims >::behaviorIn *i, std::stringstream *s)
bool isFinished ()
virtual bool update ()
 Public pure virtual function. This method allows behaviors to run in multiple stages.
virtual void cleanUp ()
 Public pure virtual function. Method of cleaning up after the behavior.

Public Attributes

TInputImage::Pointer image
 A pointer to the image used for the Sense_AvgIntensity sensor.
Geometric< Type, nDims
>::Pointer 
geomLayer
 A pointer for the geometric layer used for the Sense_AvgIntensity sensor.

Protected Member Functions

 Beh_SearchForObject ()

Classes

struct  behaviorIn
 A structure defining the inputs for the behavior. More...

Detailed Description

template<class Type, class TInputImage, int nDims>
class mial::Beh_SearchForObject< Type, TInputImage, nDims >

A derived class of the behavioral ABC this class performs a translation towards the user provided location. Then, for a user provided duration it begins searching that area for a structure thats intensity is above the user provided threshold (via the Sense_AvgIntensity sensor). Upon finding an area with the minimum intensity level the Beh_UniformScale sub-behavior is launched, which scales up the deformable organism until the intensity condition is broken.

This behavior does not has Beh_TranslateAll and Beh_UniformScale sub-behaviors.

Parameters:
Type the internal type used for storage
nDims the number of dimensions

Definition at line 30 of file Beh_SearchForObject.h.


Member Function Documentation

template<class Type, class TInputImage, int nDims>
void mial::Beh_SearchForObject< Type, TInputImage, nDims >::cleanUp (  )  [virtual]

Public pure virtual function. Method of cleaning up after the behavior.

Since behaviors may be ran multiple times before being destructed they must provide a method to clean up for the next run. This method will be ran after the behavior asserts itself as finished.

Implements mial::Behavior< Type, nDims >.

Definition at line 152 of file Beh_SearchForObject.cxx.

template<class Type, class TInputImage, int nDims>
bool mial::Beh_SearchForObject< Type, TInputImage, nDims >::update (  )  [virtual]

Public pure virtual function. This method allows behaviors to run in multiple stages.

This method will be ran after the run method, until the isFinished() returns true.

Implements mial::Behavior< Type, nDims >.

Definition at line 78 of file Beh_SearchForObject.cxx.


The documentation for this class was generated from the following files:
Generated on Wed Jul 19 13:05:22 2006 for IDO by  doxygen 1.4.7