ITK  5.2.0
Insight Toolkit
Public Member Functions | Private Types | Static Private Member Functions | Private Attributes | Static Private Attributes | List of all members
itk::ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy< TImage > Class Template Referencefinal

#include <itkZeroFluxNeumannImageNeighborhoodPixelAccessPolicy.h>

Public Member Functions

ZeroFluxNeumannImageNeighborhoodPixelAccessPolicyoperator= (const ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy &)=delete
 
 ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy ()=delete
 
 ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy (const ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy &) noexcept=default
 
 ~ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy ()=default
 
 ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy (const ImageSizeType &imageSize, const OffsetType &offsetTable, const NeighborhoodAccessorFunctorType &neighborhoodAccessor, const IndexType &pixelIndex) noexcept
 
PixelType GetPixelValue (const InternalPixelType *const imageBufferPointer) const noexcept
 
void SetPixelValue (InternalPixelType *const imageBufferPointer, const PixelType &pixelValue) const noexcept
 

Private Types

using ImageDimensionType = typename TImage::ImageDimensionType
 
using ImageSizeType = Size< ImageDimension >
 
using ImageSizeValueType = SizeValueType
 
using IndexType = Index< ImageDimension >
 
using InternalPixelType = typename TImage::InternalPixelType
 
using NeighborhoodAccessorFunctorType = typename TImage::NeighborhoodAccessorFunctorType
 
using OffsetType = Offset< ImageDimension >
 
using PixelType = typename TImage::PixelType
 

Static Private Member Functions

static IndexValueType CalculatePixelIndexValue (const ImageSizeType &imageSize, const OffsetType &offsetTable, const IndexType &pixelIndex) noexcept
 
static IndexValueType GetClampedIndexValue (const IndexValueType indexValue, const ImageSizeValueType imageSizeValue) noexcept
 

Private Attributes

const NeighborhoodAccessorFunctorTypem_NeighborhoodAccessor
 
const IndexValueType m_PixelIndexValue
 

Static Private Attributes

static constexpr ImageDimensionType ImageDimension = TImage::ImageDimension
 

Detailed Description

template<typename TImage>
class itk::ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy< TImage >

ImageNeighborhoodPixelAccessPolicy class for ShapedImageNeighborhoodRange. Allows getting and setting the value of a pixel, located in a specified neighborhood location, at a specified offset. Uses "border replication" as extrapolation method for pixels outside the image border.

See also
ShapedNeighborhoodIterator
ZeroFluxNeumannBoundaryCondition

Definition at line 42 of file itkZeroFluxNeumannImageNeighborhoodPixelAccessPolicy.h.

Member Typedef Documentation

◆ ImageDimensionType

template<typename TImage >
using itk::ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy< TImage >::ImageDimensionType = typename TImage::ImageDimensionType
private

◆ ImageSizeType

template<typename TImage >
using itk::ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy< TImage >::ImageSizeType = Size<ImageDimension>
private

◆ ImageSizeValueType

template<typename TImage >
using itk::ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy< TImage >::ImageSizeValueType = SizeValueType
private

◆ IndexType

template<typename TImage >
using itk::ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy< TImage >::IndexType = Index<ImageDimension>
private

◆ InternalPixelType

template<typename TImage >
using itk::ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy< TImage >::InternalPixelType = typename TImage::InternalPixelType
private

◆ NeighborhoodAccessorFunctorType

template<typename TImage >
using itk::ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy< TImage >::NeighborhoodAccessorFunctorType = typename TImage::NeighborhoodAccessorFunctorType
private

◆ OffsetType

template<typename TImage >
using itk::ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy< TImage >::OffsetType = Offset<ImageDimension>
private

◆ PixelType

template<typename TImage >
using itk::ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy< TImage >::PixelType = typename TImage::PixelType
private

Constructor & Destructor Documentation

◆ ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy() [1/3]

◆ ~ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy()

◆ ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy() [2/3]

◆ ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy() [3/3]

template<typename TImage >
itk::ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy< TImage >::ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy ( const ImageSizeType imageSize,
const OffsetType offsetTable,
const NeighborhoodAccessorFunctorType neighborhoodAccessor,
const IndexType pixelIndex 
)
inlinenoexcept

Member Function Documentation

◆ CalculatePixelIndexValue()

template<typename TImage >
static IndexValueType itk::ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy< TImage >::CalculatePixelIndexValue ( const ImageSizeType imageSize,
const OffsetType offsetTable,
const IndexType pixelIndex 
)
inlinestaticprivatenoexcept

◆ GetClampedIndexValue()

template<typename TImage >
static IndexValueType itk::ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy< TImage >::GetClampedIndexValue ( const IndexValueType  indexValue,
const ImageSizeValueType  imageSizeValue 
)
inlinestaticprivatenoexcept

◆ GetPixelValue()

template<typename TImage >
PixelType itk::ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy< TImage >::GetPixelValue ( const InternalPixelType *const  imageBufferPointer) const
inlinenoexcept

◆ operator=()

◆ SetPixelValue()

template<typename TImage >
void itk::ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy< TImage >::SetPixelValue ( InternalPixelType *const  imageBufferPointer,
const PixelType pixelValue 
) const
inlinenoexcept

Member Data Documentation

◆ ImageDimension

template<typename TImage >
constexpr ImageDimensionType itk::ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy< TImage >::ImageDimension = TImage::ImageDimension
staticconstexprprivate

◆ m_NeighborhoodAccessor

template<typename TImage >
const NeighborhoodAccessorFunctorType& itk::ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy< TImage >::m_NeighborhoodAccessor
private

◆ m_PixelIndexValue

template<typename TImage >
const IndexValueType itk::ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy< TImage >::m_PixelIndexValue
private

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