File: fix-type-macros

package info (click to toggle)
sight 25.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 43,108 kB
  • sloc: cpp: 306,170; xml: 18,037; ansic: 9,960; python: 1,379; sh: 144; makefile: 33
file content (44 lines) | stat: -rw-r--r-- 1,797 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
--- sight.orig/libs/filter/image/min_max_propagation.cpp
+++ sight/libs/filter/image/min_max_propagation.cpp
@@ -57,7 +57,7 @@
     using Pointer      = itk::SmartPointer<self_t>;
 
     itkNewMacro(self_t);
-    itkTypeMacro(MinMaxPropagCriterion, ImageFunction);
+    itkTypeMacro(min_max_propag_criterion, ImageFunction);
 
     using pixel_t   = typename superclass_t::InputPixelType;
     using index_t   = typename TImage::IndexType;
--- sight.orig/libs/io/itk/factory/inr_image_io.hpp
+++ sight/libs/io/itk/factory/inr_image_io.hpp
@@ -49,7 +49,7 @@
     itkNewMacro(self_t)
 
     /** Run-time type information (and related methods). */
-    itkTypeMacro(InrImageIO, superclass_t) inr_image_io(const Self&) = delete; //purposely not implemented
+    itkTypeMacro(inr_image_io, superclass_t) inr_image_io(const Self&) = delete; //purposely not implemented
     void operator=(const Self&)                                      = delete; //purposely not implemented
 
     /*-------- This part of the interfaces deals with reading data. ----- */
--- sight.orig/libs/io/itk/factory/inr_image_io_factory.hpp
+++ sight/libs/io/itk/factory/inr_image_io_factory.hpp
@@ -52,7 +52,7 @@
     itkFactorylessNewMacro(self_t)
 
     /** Run-time type information (and related methods). */
-    itkTypeMacro(InrImageIOFactory, ObjectFactoryBase)
+    itkTypeMacro(inr_image_io_factory, ObjectFactoryBase)
 
     /** Register one factory of this type  */
     static void register_one_factory()
--- sight.orig/libs/io/itk/itk_logger.cpp
+++ sight/libs/io/itk/itk_logger.cpp
@@ -37,7 +37,7 @@
     using self_t    = itk_logger;
     using pointer_t = ::itk::SmartPointer<self_t>;
 
-    itkTypeMacro(ItkLogger, ::itk::Object);
+    itkTypeMacro(itk_logger, ::itk::Object);
 
     static pointer_t New();