Skip to content

Commit

Permalink
STYLE: Rename "itkPCAMetric_F_multithreaded" files to "itkPCAMetric"
Browse files Browse the repository at this point in the history
Note that those "itkPCAMetric_F_multithreaded" files also seem to support single-threaded execution (`if (!Superclass::m_UseMultiThread)`...).
  • Loading branch information
N-Dekker committed Jul 1, 2024
1 parent 7f983c3 commit e9964d9
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions Components/Metrics/PCAMetric/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ ADD_ELXCOMPONENT( PCAMetric ON
elxPCAMetric.h
elxPCAMetric.hxx
elxPCAMetric.cxx
itkPCAMetric_F_multithreaded.h
itkPCAMetric_F_multithreaded.hxx)
itkPCAMetric.h
itkPCAMetric.hxx)

2 changes: 1 addition & 1 deletion Components/Metrics/PCAMetric/elxPCAMetric.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#define elxPCAMetric_h

#include "elxIncludes.h" // include first to avoid MSVS warning
#include "itkPCAMetric_F_multithreaded.h"
#include "itkPCAMetric.h"

#include "itkAdvancedBSplineDeformableTransform.h"
#include "itkStackTransform.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
* limitations under the License.
*
*=========================================================================*/
#ifndef itkPCAMetric_F_multithreaded_h
#define itkPCAMetric_F_multithreaded_h
#ifndef itkPCAMetric_h
#define itkPCAMetric_h

#include "itkAdvancedImageToImageMetric.h"

Expand Down Expand Up @@ -245,7 +245,7 @@ class ITK_TEMPLATE_EXPORT PCAMetric : public AdvancedImageToImageMetric<TFixedIm
} // end namespace itk

#ifndef ITK_MANUAL_INSTANTIATION
# include "itkPCAMetric_F_multithreaded.hxx"
# include "itkPCAMetric.hxx"
#endif

#endif // end #ifndef itkPCAMetric_F_multithreaded_h
#endif // end #ifndef itkPCAMetric_h
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
* limitations under the License.
*
*=========================================================================*/
#ifndef itkPCAMetric_F_multithreaded_hxx
#define itkPCAMetric_F_multithreaded_hxx
#ifndef itkPCAMetric_hxx
#define itkPCAMetric_hxx

#include "itkPCAMetric_F_multithreaded.h"
#include "itkPCAMetric.h"

#include "itkMersenneTwisterRandomVariateGenerator.h"
#include <vnl/algo/vnl_matrix_update.h>
Expand Down Expand Up @@ -1066,4 +1066,4 @@ PCAMetric<TFixedImage, TMovingImage>::LaunchComputeDerivativeThreaderCallback()

} // end namespace itk

#endif // itkPCAMetric_F_multithreaded_hxx
#endif // itkPCAMetric_hxx

0 comments on commit e9964d9

Please sign in to comment.