MeVisLab Toolbox Reference
ml::FiniteDifferenceFunctionWrapper Class Reference

Special case wrapper for ITKFiniteDifferenceFunctionWrapper. More...

#include <mlITKFiniteDifferenceFunctionConnect.h>

Public Member Functions

 FiniteDifferenceFunctionWrapper ()
 Constructor.
 
void addOutputBaseField (Module &module, const char *outputFieldName)
 Method to add a base field to the passed Module module.
 
void addInputBaseField (Module &module, const char *inputFieldName)
 Method to add a base field to the passed Module module.
 
void setNewOutputBaseFieldObject (ITKFiniteDifferenceFunctionWrapper *newObject)
 This replaces the output base object.
 
BaseFieldgetOutputBaseField ()
 For legacy reasons there are two fields for getting the base field.
 
BaseFieldgetInputBaseField ()
 For legacy reasons there are two fields for getting the base field.
 
ITKFiniteDifferenceFunctionWrappergetWrappedOutputObject ()
 Return the pointer to the wrapped object.
 
ITKFiniteDifferenceFunctionWrappergetWrappedInputObject ()
 Return the pointer to the wrapped input object, if it is of the correct type, otherwise a nullptr.
 

Protected Attributes

ITKFiniteDifferenceFunctionWrapper _baseWrapper
 Reference to the Base object wrapping the ITK object pointer.
 
BaseField_baseField = nullptr
 Pointer to the MLBaseField in _module.
 

Detailed Description

Special case wrapper for ITKFiniteDifferenceFunctionWrapper.

Definition at line 397 of file mlITKFiniteDifferenceFunctionConnect.h.

Constructor & Destructor Documentation

◆ FiniteDifferenceFunctionWrapper()

ml::FiniteDifferenceFunctionWrapper::FiniteDifferenceFunctionWrapper ( )
inline

Constructor.

Definition at line 403 of file mlITKFiniteDifferenceFunctionConnect.h.

Member Function Documentation

◆ addInputBaseField()

void ml::FiniteDifferenceFunctionWrapper::addInputBaseField ( Module & module,
const char * inputFieldName )
inline

Method to add a base field to the passed Module module.

Will not set a pointer to a Base object.

Definition at line 431 of file mlITKFiniteDifferenceFunctionConnect.h.

References ML_BAD_POINTER_OR_0, ML_BAD_STATE, ML_PRINT_ERROR, and mlrange_cast().

◆ addOutputBaseField()

void ml::FiniteDifferenceFunctionWrapper::addOutputBaseField ( Module & module,
const char * outputFieldName )
inline

Method to add a base field to the passed Module module.

Will set the pointer to the embedded Base object.

Definition at line 410 of file mlITKFiniteDifferenceFunctionConnect.h.

References ML_BAD_POINTER_OR_0, ML_BAD_STATE, ML_PRINT_ERROR, and mlrange_cast().

◆ getInputBaseField()

BaseField * ml::FiniteDifferenceFunctionWrapper::getInputBaseField ( )
inline

For legacy reasons there are two fields for getting the base field.

Definition at line 468 of file mlITKFiniteDifferenceFunctionConnect.h.

◆ getOutputBaseField()

BaseField * ml::FiniteDifferenceFunctionWrapper::getOutputBaseField ( )
inline

For legacy reasons there are two fields for getting the base field.

Definition at line 460 of file mlITKFiniteDifferenceFunctionConnect.h.

◆ getWrappedInputObject()

ITKFiniteDifferenceFunctionWrapper * ml::FiniteDifferenceFunctionWrapper::getWrappedInputObject ( )
inline

Return the pointer to the wrapped input object, if it is of the correct type, otherwise a nullptr.

Definition at line 485 of file mlITKFiniteDifferenceFunctionConnect.h.

◆ getWrappedOutputObject()

ITKFiniteDifferenceFunctionWrapper * ml::FiniteDifferenceFunctionWrapper::getWrappedOutputObject ( )
inline

Return the pointer to the wrapped object.

Definition at line 476 of file mlITKFiniteDifferenceFunctionConnect.h.

◆ setNewOutputBaseFieldObject()

void ml::FiniteDifferenceFunctionWrapper::setNewOutputBaseFieldObject ( ITKFiniteDifferenceFunctionWrapper * newObject)
inline

This replaces the output base object.

Definition at line 450 of file mlITKFiniteDifferenceFunctionConnect.h.

References mlrange_cast().

Member Data Documentation

◆ _baseField

BaseField* ml::FiniteDifferenceFunctionWrapper::_baseField = nullptr
protected

Pointer to the MLBaseField in _module.

Definition at line 495 of file mlITKFiniteDifferenceFunctionConnect.h.

◆ _baseWrapper

ITKFiniteDifferenceFunctionWrapper ml::FiniteDifferenceFunctionWrapper::_baseWrapper
protected

Reference to the Base object wrapping the ITK object pointer.

Definition at line 492 of file mlITKFiniteDifferenceFunctionConnect.h.


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