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.
 
BaseField * getOutputBaseField ()
 For legacy reasons there are two fields for getting the base field.
 
BaseField * getInputBaseField ()
 For legacy reasons there are two fields for getting the base field.
 
ITKFiniteDifferenceFunctionWrapper * getWrappedOutputObject ()
 Return the pointer to the wrapped object.
 
ITKFiniteDifferenceFunctionWrapper * getWrappedInputObject ()
 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, and ML_PRINT_ERROR.

◆ 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, and ML_PRINT_ERROR.

◆ 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.

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: