Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions Modules/Core/Common/include/itkImageConstIteratorWithIndex.h
Original file line number Diff line number Diff line change
Expand Up @@ -287,15 +287,15 @@ class ITK_TEMPLATE_EXPORT ImageConstIteratorWithIndex
protected: // made protected so other iterators can access
typename TImage::ConstWeakPointer m_Image;

IndexType m_PositionIndex; // Index where we currently are
IndexType m_BeginIndex; // Index to start iterating over
IndexType m_EndIndex; // Index to finish iterating:
// one pixel past the end of each
// row, col, slice, etc....
IndexType m_PositionIndex{ { 0 } }; // Index where we currently are
IndexType m_BeginIndex{ { 0 } }; // Index to start iterating over
IndexType m_EndIndex{ { 0 } }; // Index to finish iterating:
// one pixel past the end of each
// row, col, slice, etc....

RegionType m_Region; // region to iterate over

OffsetValueType m_OffsetTable[ImageDimension + 1];
OffsetValueType m_OffsetTable[ImageDimension + 1]{};

const InternalPixelType * m_Position;
const InternalPixelType * m_Begin;
Expand Down
12 changes: 6 additions & 6 deletions Modules/Core/Common/include/itkImageConstIteratorWithOnlyIndex.h
Original file line number Diff line number Diff line change
Expand Up @@ -256,15 +256,15 @@ class ITK_TEMPLATE_EXPORT ImageConstIteratorWithOnlyIndex
protected: // made protected so other iterators can access
typename TImage::ConstPointer m_Image;

IndexType m_PositionIndex; // Index where we currently are
IndexType m_BeginIndex; // Index to start iterating over
IndexType m_EndIndex; // Index to finish iterating:
// one pixel past the end of each
// row, col, slice, etc....
IndexType m_PositionIndex{ { 0 } }; // Index where we currently are
IndexType m_BeginIndex{ { 0 } }; // Index to start iterating over
IndexType m_EndIndex{ { 0 } }; // Index to finish iterating:
// one pixel past the end of each
// row, col, slice, etc....

RegionType m_Region; // region to iterate over

OffsetValueType m_OffsetTable[ImageDimension + 1];
OffsetValueType m_OffsetTable[ImageDimension + 1]{};

bool m_Remaining;
};
Expand Down