ITK  4.2.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions
itk::OptimizerParametersHelper< TValueType > Class Template Reference

#include <itkOptimizerParametersHelper.h>

+ Inheritance diagram for itk::OptimizerParametersHelper< TValueType >:

List of all members.

Public Types

typedef Array< TValueType > CommonContainerType
typedef OptimizerParametersHelper Self
typedef TValueType ValueType

Public Member Functions

virtual void MoveDataPointer (CommonContainerType *container, TValueType *pointer)
 OptimizerParametersHelper ()
virtual void SetParametersObject (CommonContainerType *, LightObject *)
virtual ~OptimizerParametersHelper ()

Detailed Description

template<typename TValueType>
class itk::OptimizerParametersHelper< TValueType >

Basic helper class to manage parameter data as an Array type, the default type.

Definition at line 34 of file itkOptimizerParametersHelper.h.


Member Typedef Documentation

template<typename TValueType >
typedef Array< TValueType > itk::OptimizerParametersHelper< TValueType >::CommonContainerType
template<typename TValueType >
typedef OptimizerParametersHelper itk::OptimizerParametersHelper< TValueType >::Self
template<typename TValueType >
typedef TValueType itk::OptimizerParametersHelper< TValueType >::ValueType

The element type stored at each location in the Array.

Reimplemented in itk::ImageVectorOptimizerParametersHelper< TValueType, NVectorDimension, VImageDimension >.

Definition at line 39 of file itkOptimizerParametersHelper.h.


Constructor & Destructor Documentation

template<typename TValueType >
itk::OptimizerParametersHelper< TValueType >::OptimizerParametersHelper ( )
inline

Default constructor. Nothing to do.

Definition at line 46 of file itkOptimizerParametersHelper.h.

template<typename TValueType >
virtual itk::OptimizerParametersHelper< TValueType >::~OptimizerParametersHelper ( )
inlinevirtual

Definition at line 80 of file itkOptimizerParametersHelper.h.


Member Function Documentation

template<typename TValueType >
virtual void itk::OptimizerParametersHelper< TValueType >::MoveDataPointer ( CommonContainerType container,
TValueType *  pointer 
)
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 TValueType. This call is passed to the assigned OptimizerParametersHelper.

Warning:
Memory must be managed by caller after this call. 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< TValueType, NVectorDimension, VImageDimension >.

Definition at line 58 of file itkOptimizerParametersHelper.h.

References itk::Array< TValueType >::GetSize(), and itk::Array< TValueType >::SetData().

template<typename TValueType >
virtual void itk::OptimizerParametersHelper< TValueType >::SetParametersObject ( CommonContainerType ,
LightObject  
)
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< TValueType, NVectorDimension, VImageDimension >.

Definition at line 73 of file itkOptimizerParametersHelper.h.


The documentation for this class was generated from the following file: