ITK
4.8.0
Insight Segmentation and Registration Toolkit
|
#include <itkOptimizerParametersHelper.h>
Basic helper class to manage parameter data as an Array type, the default type.
Definition at line 34 of file itkOptimizerParametersHelper.h.
Public Types | |
typedef Array< TValue > | CommonContainerType |
typedef OptimizerParametersHelper | Self |
typedef TValue | ValueType |
Public Member Functions | |
virtual void | MoveDataPointer (CommonContainerType *container, TValue *pointer) |
OptimizerParametersHelper () | |
virtual void | SetParametersObject (CommonContainerType *, LightObject *) |
virtual | ~OptimizerParametersHelper () |
typedef Array< TValue > itk::OptimizerParametersHelper< TValue >::CommonContainerType |
Type of common data object used by OptimizerParameters.
Definition at line 43 of file itkOptimizerParametersHelper.h.
typedef OptimizerParametersHelper itk::OptimizerParametersHelper< TValue >::Self |
Definition at line 40 of file itkOptimizerParametersHelper.h.
typedef TValue itk::OptimizerParametersHelper< TValue >::ValueType |
The element type stored at each location in the Array.
Definition at line 39 of file itkOptimizerParametersHelper.h.
|
inline |
Default constructor. Nothing to do.
Definition at line 46 of file itkOptimizerParametersHelper.h.
|
inlinevirtual |
Definition at line 80 of file itkOptimizerParametersHelper.h.
|
inlinevirtual |
Set a new data pointer for the parameter data, pointing it to a different memory block. The size of the new memory block must equal the current size, in elements of TValue. This call is passed to the assigned OptimizerParametersHelper.
container
is the OptimizerParameters object to which this helper is assigned. Generally this will be called from the OptimizerParameters object to which this helper is assigned. Reimplemented in itk::ImageVectorOptimizerParametersHelper< TValue, NVectorDimension, VImageDimension >.
Definition at line 58 of file itkOptimizerParametersHelper.h.
References itk::Array< TValue >::GetSize(), and itk::Array< TValue >::SetData().
|
inlinevirtual |
Set an object that holds the parameters. Used by derived classes that use an object other than itkArray to hold parameter data. The derived class must check that the object is the correct type. Generally this will be called from the OptimizerParameters object to which this helper is assigned. container
is the OptimizerParameters object to which this helper is assigned.
Reimplemented in itk::ImageVectorOptimizerParametersHelper< TValue, NVectorDimension, VImageDimension >.
Definition at line 73 of file itkOptimizerParametersHelper.h.