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
Original file line number Diff line number Diff line change
Expand Up @@ -224,10 +224,10 @@ class ITK_TEMPLATE_EXPORT ImageRandomConstIteratorWithIndex : public ImageConstI
RandomJump();

using GeneratorPointer = typename Statistics::MersenneTwisterRandomVariateGenerator::Pointer;
GeneratorPointer m_Generator;
SizeValueType m_NumberOfSamplesRequested;
SizeValueType m_NumberOfSamplesDone;
SizeValueType m_NumberOfPixelsInRegion;
GeneratorPointer m_Generator{};
SizeValueType m_NumberOfSamplesRequested{};
SizeValueType m_NumberOfSamplesDone{};
SizeValueType m_NumberOfPixelsInRegion{};
};
} // end namespace itk

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,10 +226,10 @@ class ITK_TEMPLATE_EXPORT ImageRandomConstIteratorWithOnlyIndex : public ImageCo
RandomJump();

using GeneratorPointer = typename Statistics::MersenneTwisterRandomVariateGenerator::Pointer;
GeneratorPointer m_Generator;
SizeValueType m_NumberOfSamplesRequested;
SizeValueType m_NumberOfSamplesDone;
SizeValueType m_NumberOfPixelsInRegion;
GeneratorPointer m_Generator{};
SizeValueType m_NumberOfSamplesRequested{};
SizeValueType m_NumberOfSamplesDone{};
SizeValueType m_NumberOfPixelsInRegion{};
};
} // end namespace itk

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ class ITK_TEMPLATE_EXPORT RegularizedHeavisideStepFunction : public HeavisideSte
~RegularizedHeavisideStepFunction() override = default;

private:
RealType m_Epsilon;
RealType m_OneOverEpsilon;
RealType m_Epsilon{};
RealType m_OneOverEpsilon{};
};
} // namespace itk

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ class ITK_TEMPLATE_EXPORT FiniteDifferenceImageFilter : public InPlaceImageFilte
~FiniteDifferenceImageFilter() override = default;

/** State that the filter is in, i.e. UNINITIALIZED or INITIALIZED */
bool m_IsInitialized;
bool m_IsInitialized{};

void
PrintSelf(std::ostream & os, Indent indent) const override;
Expand Down
2 changes: 1 addition & 1 deletion Modules/Core/QuadEdgeMesh/include/itkGeometricalQuadEdge.h
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ class ITK_TEMPLATE_EXPORT GeometricalQuadEdge : public QuadEdge
OriginRefType m_Origin; // Geometrical information
PrimalDataType m_Data; // User data associated to this edge.
bool m_DataSet{ false }; // Indicates if the data is set.
LineCellIdentifier m_LineCellIdent;
LineCellIdentifier m_LineCellIdent{};
};
} // namespace itk

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,8 @@ class ITK_TEMPLATE_EXPORT DTITubeSpatialObjectPoint : public TubeSpatialObjectPo
GetField(DTITubeSpatialObjectPointFieldEnum name) const;

protected:
float m_TensorMatrix[6];
FieldListType m_Fields;
float m_TensorMatrix[6]{};
FieldListType m_Fields{};

/** Print the object */
void
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class ITK_TEMPLATE_EXPORT LineSpatialObjectPoint : public SpatialObjectPoint<TPo
operator=(const LineSpatialObjectPoint & rhs);

protected:
NormalArrayType m_NormalArrayInObjectSpace;
NormalArrayType m_NormalArrayInObjectSpace{};

/** Method to print the object. */
void
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class ITK_TEMPLATE_EXPORT SurfaceSpatialObjectPoint : public SpatialObjectPoint<
operator=(const SurfaceSpatialObjectPoint & rhs);

protected:
CovariantVectorType m_NormalInObjectSpace;
CovariantVectorType m_NormalInObjectSpace{};

/** Method to print the object. */
void
Expand Down
30 changes: 15 additions & 15 deletions Modules/Core/SpatialObjects/include/itkTubeSpatialObjectPoint.h
Original file line number Diff line number Diff line change
Expand Up @@ -268,23 +268,23 @@ class ITK_TEMPLATE_EXPORT TubeSpatialObjectPoint : public SpatialObjectPoint<TPo
operator=(const TubeSpatialObjectPoint & rhs);

protected:
VectorType m_TangentInObjectSpace;
CovariantVectorType m_Normal1InObjectSpace;
CovariantVectorType m_Normal2InObjectSpace;

double m_Branchness;
double m_Medialness;
double m_Ridgeness;
double m_Curvature;
double m_Levelness;
double m_Roundness;
double m_Intensity;
double m_Alpha1;
double m_Alpha2;
double m_Alpha3;
VectorType m_TangentInObjectSpace{};
CovariantVectorType m_Normal1InObjectSpace{};
CovariantVectorType m_Normal2InObjectSpace{};

double m_Branchness{};
double m_Medialness{};
double m_Ridgeness{};
double m_Curvature{};
double m_Levelness{};
double m_Roundness{};
double m_Intensity{};
double m_Alpha1{};
double m_Alpha2{};
double m_Alpha3{};

/** The radius of the tube point */
double m_RadiusInObjectSpace;
double m_RadiusInObjectSpace{};

/** Print the object */
void
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,9 @@ class ITK_TEMPLATE_EXPORT ReflectiveImageRegionConstIterator : public ImageConst
FillOffsets(const OffsetValueType & value);

private:
bool m_IsFirstPass[TImage::ImageDimension];
OffsetType m_BeginOffset;
OffsetType m_EndOffset;
bool m_IsFirstPass[TImage::ImageDimension]{};
OffsetType m_BeginOffset{};
OffsetType m_EndOffset{};
};
} // end namespace itk

Expand Down
28 changes: 14 additions & 14 deletions Modules/Filtering/FastMarching/include/itkFastMarchingBase.h
Original file line number Diff line number Diff line change
Expand Up @@ -237,32 +237,32 @@ class ITK_TEMPLATE_EXPORT FastMarchingBase : public FastMarchingTraits<TInput, T
/** \brief Destructor */
~FastMarchingBase() override = default;

StoppingCriterionPointer m_StoppingCriterion;
StoppingCriterionPointer m_StoppingCriterion{};

double m_SpeedConstant;
double m_InverseSpeed;
double m_NormalizationFactor;
double m_SpeedConstant{};
double m_InverseSpeed{};
double m_NormalizationFactor{};

OutputPixelType m_TargetReachedValue;
OutputPixelType m_LargeValue;
OutputPixelType m_TopologyValue;
OutputPixelType m_TargetReachedValue{};
OutputPixelType m_LargeValue{};
OutputPixelType m_TopologyValue{};

NodePairContainerPointer m_TrialPoints;
NodePairContainerPointer m_AlivePoints;
NodePairContainerPointer m_ProcessedPoints;
NodePairContainerPointer m_ForbiddenPoints;
NodePairContainerPointer m_TrialPoints{};
NodePairContainerPointer m_AlivePoints{};
NodePairContainerPointer m_ProcessedPoints{};
NodePairContainerPointer m_ForbiddenPoints{};

bool m_CollectPoints;
bool m_CollectPoints{};

// PriorityQueuePointer m_Heap;
using HeapContainerType = std::vector<NodePairType>;
using NodeComparerType = std::greater<NodePairType>;

using PriorityQueueType = std::priority_queue<NodePairType, HeapContainerType, NodeComparerType>;

PriorityQueueType m_Heap;
PriorityQueueType m_Heap{};

TopologyCheckEnum m_TopologyCheck;
TopologyCheckEnum m_TopologyCheck{};

/** \brief Get the total number of nodes in the domain */
virtual IdentifierType
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,10 @@ class FastMarchingStoppingCriterionBase : public StoppingCriterionBase
/** Destructor */
~FastMarchingStoppingCriterionBase() override = default;

OutputDomainPointer m_Domain;
OutputDomainPointer m_Domain{};

OutputPixelType m_PreviousValue;
OutputPixelType m_CurrentValue;
OutputPixelType m_PreviousValue{};
OutputPixelType m_CurrentValue{};

/** Inherited classes must implement this method and make sure member variables
got reinitialized. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ class ITK_TEMPLATE_EXPORT DecimationQuadEdgeMeshFilter : public QuadEdgeMeshToQu

~DecimationQuadEdgeMeshFilter() override = default;

CriterionPointer m_Criterion;
SizeValueType m_Iteration;
CriterionPointer m_Criterion{};
SizeValueType m_Iteration{};

void
GenerateData() override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ class DiscretePrincipalCurvaturesQuadEdgeMeshFilter
{}
~DiscretePrincipalCurvaturesQuadEdgeMeshFilter() override = default;

OutputCurvatureType m_Gaussian;
OutputCurvatureType m_Mean;
OutputCurvatureType m_Gaussian{};
OutputCurvatureType m_Mean{};

void
ComputeMeanAndGaussianCurvatures(const OutputPointType & iP)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -229,12 +229,12 @@ class ITK_TEMPLATE_EXPORT LaplacianDeformationQuadEdgeMeshFilter
using RowIterator = typename RowType::iterator;
using RowConstIterator = typename RowType::const_iterator;

OutputMapPointIdentifier m_InternalMap;
ConstraintMapType m_Constraints;
CoefficientMapType m_CoefficientMap;
AreaMapType m_MixedAreaMap;
OutputMapPointIdentifier m_InternalMap{};
ConstraintMapType m_Constraints{};
CoefficientMapType m_CoefficientMap{};
AreaMapType m_MixedAreaMap{};

CoefficientsComputationType * m_CoefficientsMethod;
CoefficientsComputationType * m_CoefficientsMethod{};

unsigned int m_Order{ 1 };
AreaEnum m_AreaComputationType{ AreaEnum::NONE };
Expand Down
2 changes: 1 addition & 1 deletion Modules/IO/XML/include/itkXMLFile.h
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ class ITK_TEMPLATE_EXPORT XMLReader : public XMLReaderBase

~XMLReader() override = default;

T * m_OutputObject;
T * m_OutputObject{};
};

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,9 +178,9 @@ class ITK_TEMPLATE_EXPORT BinaryImageToSparseLevelSetImageAdaptorBase
{}
~BinaryImageToSparseLevelSetImageAdaptorBase() override = default;

LevelSetLabelMapPointer m_LabelMap;
LevelSetLabelMapPointer m_LabelMap{};

InternalImagePointer m_InternalImage;
InternalImagePointer m_InternalImage{};
};

////////////////////////////////////////////////////////////////////////////////
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -313,9 +313,9 @@ class ITK_TEMPLATE_EXPORT LevelSetContainerBase : public Object
SetContainer(const LevelSetContainerType & iContainer);

private:
HeavisideConstPointer m_Heaviside;
DomainMapImageFilterPointer m_DomainMapFilter;
LevelSetContainerType m_Container;
HeavisideConstPointer m_Heaviside{};
DomainMapImageFilterPointer m_DomainMapFilter{};
LevelSetContainerType m_Container{};
};
} // namespace itk

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,10 @@ class ITK_TEMPLATE_EXPORT LevelSetEvolutionStoppingCriterion : public StoppingCr
/** Destructor */
~LevelSetEvolutionStoppingCriterion() override = default;

LevelSetContainerPointer m_LevelSetContainer;
OutputRealType m_RMSChangeAccumulator;
IterationIdType m_NumberOfIterations;
IterationIdType m_CurrentIteration;
LevelSetContainerPointer m_LevelSetContainer{};
OutputRealType m_RMSChangeAccumulator{};
IterationIdType m_NumberOfIterations{};
IterationIdType m_CurrentIteration{};
};
} // namespace itk
#ifndef ITK_MANUAL_INSTANTIATION
Expand Down
4 changes: 2 additions & 2 deletions Modules/Segmentation/LevelSetsv4/include/itkLevelSetImage.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ class ITK_TEMPLATE_EXPORT LevelSetImage : public LevelSetBase<TInput, VDimension
~LevelSetImage() override = default;

using ScalingType = GradientType;
ScalingType m_NeighborhoodScales;
OffsetType m_DomainOffset;
ScalingType m_NeighborhoodScales{};
OffsetType m_DomainOffset{};

virtual bool
IsInsideDomain(const InputType & iP) const = 0;
Expand Down