Public Member Functions | List of all members
mirtk::ConvolutionFunction::MirrorBoundaryCondition Struct Reference

Mirror image at boundary. More...

#include <ConvolutionFunction.h>

Collaboration diagram for mirtk::ConvolutionFunction::MirrorBoundaryCondition:
Collaboration graph

Public Member Functions

int operator() (int i, int N) const
 
template<class T >
const T * operator() (int i, int N, const T *p, int stride)
 Apply mirror boundary condition to voxel pointer.
 

Detailed Description

Mirror image at boundary.

Definition at line 48 of file ConvolutionFunction.h.

Member Function Documentation

§ operator()()

int mirtk::ConvolutionFunction::MirrorBoundaryCondition::operator() ( int  i,
int  N 
) const
inline

Apply mirror boundary condition to voxel index

Parameters
[in]iVoxel index along image dimension
[in]NNumber of voxels in image dimension

Definition at line 54 of file ConvolutionFunction.h.


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