#include <Beh_TranslateAll.h>
Inheritance diagram for mial::Beh_TranslateAll< Type, nDims >:
Public Types | |
typedef Beh_TranslateAll | Self |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef itk::WeakPointer< const Self > | ConstWeakPointer |
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 | |
double | startTime |
Internal recording of when the behavior started running. | |
double | endTime |
Internal recording of when the behavior is set to end. | |
Protected Member Functions | |
Beh_TranslateAll () | |
Protected Attributes | |
behaviorIn::Pointer | input |
A pointer for the input. | |
Classes | |
struct | behaviorIn |
A structure defining the inputs for the behavior. More... |
This behavior does not have any sub-behaviors.
Type | the internal type used for storage | |
nDims | the number of dimensions |
Definition at line 26 of file Beh_TranslateAll.h.
void mial::Beh_TranslateAll< Type, 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 71 of file Beh_TranslateAll.cxx.
References mial::Beh_TranslateAll< Type, nDims >::endTime, and mial::Beh_TranslateAll< Type, nDims >::startTime.
bool mial::Beh_TranslateAll< Type, 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 58 of file Beh_TranslateAll.cxx.
References mial::Beh_TranslateAll< Type, nDims >::input, mial::Behavior< Type, nDims >::physLayer, and mial::Physics< Type, nDims, MType, VType >::runDeformation().