Skip to content

Commit

Permalink
STYLE: Use itkGetConstMacro for getting 1D FFT direction
Browse files Browse the repository at this point in the history
  • Loading branch information
tbirdso authored and hjmjohnson committed Oct 13, 2021
1 parent 7829ef6 commit d88c631
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ class ITK_TEMPLATE_EXPORT ComplexToComplex1DFFTImageFilter : public ImageToImage
itkGetConstMacro(TransformDirection, TransformDirectionType);

/** Get the direction in which the filter is to be applied. */
itkGetMacro(Direction, unsigned int);
itkGetConstMacro(Direction, unsigned int);

/** Set the direction in which the filter is to be applied. */
itkSetClampMacro(Direction, unsigned int, 0, InputImageType::ImageDimension - 1);
Expand Down
2 changes: 1 addition & 1 deletion Modules/Filtering/FFT/include/itkForward1DFFTImageFilter.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class ITK_TEMPLATE_EXPORT Forward1DFFTImageFilter : public ImageToImageFilter<TI
New();

/** Get the direction in which the filter is to be applied. */
itkGetMacro(Direction, unsigned int);
itkGetConstMacro(Direction, unsigned int);

/** Set the direction in which the filter is to be applied. */
itkSetClampMacro(Direction, unsigned int, 0, InputImageType::ImageDimension - 1);
Expand Down
2 changes: 1 addition & 1 deletion Modules/Filtering/FFT/include/itkInverse1DFFTImageFilter.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class ITK_TEMPLATE_EXPORT Inverse1DFFTImageFilter : public ImageToImageFilter<TI
New(void);

/** Get the direction in which the filter is to be applied. */
itkGetMacro(Direction, unsigned int);
itkGetConstMacro(Direction, unsigned int);

/** Set the direction in which the filter is to be applied. */
itkSetClampMacro(Direction, unsigned int, 0, InputImageType::ImageDimension - 1);
Expand Down

0 comments on commit d88c631

Please sign in to comment.