#include <Beh_SearchForObject.h>
Inheritance diagram for mial::Beh_SearchForObject< Type, TInputImage, nDims >:
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... |
This behavior does not has Beh_TranslateAll and Beh_UniformScale sub-behaviors.
Type | the internal type used for storage | |
nDims | the number of dimensions |
Definition at line 30 of file Beh_SearchForObject.h.
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.
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.