Skip to content

Commit 9d6416a

Browse files
committed
DOC: Rename \doxygen/\subdoxygen Doxygen aliases to \itkref/\itksubref
Introduce \itkref and \itksubref as the in-tree spellings of the class and namespaced-class cross-reference aliases, and convert all uses in Modules and Examples. The historical \doxygen and \subdoxygen aliases are retained as deprecated synonyms so out-of-tree code and external tools that still emit them continue to resolve; \subdoxygen was previously undefined, so this also gives those uses a definition.
1 parent 0311621 commit 9d6416a

250 files changed

Lines changed: 904 additions & 900 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Examples/DataRepresentation/Image/Image1.cxx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
// Software Guide : BeginLatex
2020
//
21-
// This example illustrates how to manually construct an \doxygen{Image}
21+
// This example illustrates how to manually construct an \itkref{Image}
2222
// class. The following is the minimal code needed to instantiate, declare
2323
// and create the \code{Image} class.
2424
//
@@ -54,7 +54,7 @@ main(int, char *[])
5454
//
5555
// The image can then be created by invoking the \code{New()} operator
5656
// from the corresponding image type and assigning the result
57-
// to a \doxygen{SmartPointer}.
57+
// to a \itkref{SmartPointer}.
5858
//
5959
// \index{itk::Image!Pointer}
6060
// \index{itk::Image!New()}
@@ -83,8 +83,8 @@ main(int, char *[])
8383
// instantiated as previously shown, and that regions describing the image
8484
// are then associated with it.
8585
//
86-
// A region is defined by two classes: the \doxygen{Index} and
87-
// \doxygen{Size} classes. The origin of the region within the
86+
// A region is defined by two classes: the \itkref{Index} and
87+
// \itkref{Size} classes. The origin of the region within the
8888
// image is defined by the \code{Index}. The extent, or size, of the region
8989
// is defined by the \code{Size}. When an image is created manually, the
9090
// user is responsible for defining the image size and the index at which
@@ -112,7 +112,7 @@ main(int, char *[])
112112
// Software Guide : BeginLatex
113113
//
114114
// The region size is represented by an array of the same dimension as the
115-
// image (using the \doxygen{Size} class). The components of the array are
115+
// image (using the \itkref{Size} class). The components of the array are
116116
// unsigned integers indicating the extent in pixels of the image along
117117
// every dimension.
118118
//
@@ -132,7 +132,7 @@ main(int, char *[])
132132
// Software Guide : BeginLatex
133133
//
134134
// Having defined the starting index and the image size, these two
135-
// parameters are used to create an \doxygen{ImageRegion} object
135+
// parameters are used to create an \itkref{ImageRegion} object
136136
// which basically encapsulates both concepts.
137137
// The region is initialized with the starting index and size of the
138138
// image.

Examples/DataRepresentation/Image/Image2.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
// Software Guide : BeginLatex
2222
//
2323
// The first thing required to read an image from a file is to include
24-
// the header file of the \doxygen{ImageFileReader} class.
24+
// the header file of the \itkref{ImageFileReader} class.
2525
//
2626
// Software Guide : EndLatex
2727

@@ -71,7 +71,7 @@ main(int, char * argv[])
7171
// Software Guide : BeginLatex
7272
//
7373
// The reader type can now be used to create one reader object. A
74-
// \doxygen{SmartPointer} (defined by the \code{::Pointer} notation) is used
74+
// \itkref{SmartPointer} (defined by the \code{::Pointer} notation) is used
7575
// to receive the reference to the newly created reader. The \code{New()}
7676
// method is invoked to create an instance of the image reader.
7777
//
@@ -90,7 +90,7 @@ main(int, char * argv[])
9090
// of the image to be loaded in memory. This is provided through
9191
// the \code{SetFileName()} method. The file format here is inferred
9292
// from the filename extension. The user may also explicitly specify
93-
// the data format using the \doxygen{ImageIOBase} class (a list
93+
// the data format using the \itkref{ImageIOBase} class (a list
9494
// of possibilities can be found in the inheritance diagram of this
9595
// class.).
9696
//

Examples/DataRepresentation/Image/Image3.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ main(int, char *[])
6565
// unique index. An index is an array of integers that defines the position
6666
// of the pixel along each dimension of the image. The \code{IndexType}
6767
// is automatically defined by the image and can be accessed using the
68-
// scope operator \doxygen{Index}. The length of the array will match
68+
// scope operator \itkref{Index}. The length of the array will match
6969
// the dimensions of the associated image.
7070
//
7171
// The following code illustrates the declaration of an index variable and

Examples/DataRepresentation/Image/Image4.cxx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
// \end{figure}
4444
//
4545
// Figure \ref{fig:ImageOriginAndSpacing} illustrates the main geometrical
46-
// concepts associated with the \doxygen{Image}.
46+
// concepts associated with the \itkref{Image}.
4747
// In this figure, circles are
4848
// used to represent the center of pixels. The value of the pixel is assumed
4949
// to exist as a Dirac delta function located at the pixel center. Pixel
@@ -102,7 +102,7 @@ main(int, char *[])
102102
// the spacing of the image, an array of the corresponding type must be
103103
// created. The elements of the array should then be initialized with the
104104
// spacing between the centers of adjacent pixels. The following code
105-
// illustrates the methods available in the \doxygen{Image} class for
105+
// illustrates the methods available in the \itkref{Image} class for
106106
// dealing with spacing and origin.
107107
//
108108
// \index{itk::Image!Spacing}
@@ -251,7 +251,7 @@ main(int, char *[])
251251
// physical space can be mapped into an image index for the purpose of
252252
// reading the content of the closest pixel.
253253
//
254-
// First, a \doxygen{Point} type must be declared. The point type is
254+
// First, a \itkref{Point} type must be declared. The point type is
255255
// templated over the type used to represent coordinates and over the
256256
// dimension of the space. In this particular case, the dimension of the
257257
// point must match the dimension of the image.
@@ -264,8 +264,8 @@ main(int, char *[])
264264

265265
// Software Guide : BeginLatex
266266
//
267-
// The \doxygen{Point} class, like an \doxygen{Index}, is a relatively
268-
// small and simple object. This means that no \doxygen{SmartPointer}
267+
// The \itkref{Point} class, like an \itkref{Index}, is a relatively
268+
// small and simple object. This means that no \itkref{SmartPointer}
269269
// is used here and the objects are simply declared as instances,
270270
// like any other C++ class. Once the point is declared, its
271271
// components can be accessed using traditional array notation. In

Examples/DataRepresentation/Image/Image5.cxx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@
1818

1919
// Software Guide : BeginLatex
2020
//
21-
// This example illustrates how to import data into the \doxygen{Image}
21+
// This example illustrates how to import data into the \itkref{Image}
2222
// class. This is particularly useful for interfacing with other software
2323
// systems. Many systems use a contiguous block of memory as a buffer
2424
// for image pixel data. The current example assumes this is the case and
25-
// feeds the buffer into an \doxygen{ImportImageFilter}, thereby producing an
25+
// feeds the buffer into an \itkref{ImportImageFilter}, thereby producing an
2626
// image as output.
2727
//
2828
// Here we create a synthetic image with a centered sphere in
@@ -33,7 +33,7 @@
3333
// \index{itk::ImportImageFilter!Instantiation}
3434
// \index{itk::ImportImageFilter!Header}
3535
//
36-
// First, the header file of the \doxygen{ImportImageFilter} class must be
36+
// First, the header file of the \itkref{ImportImageFilter} class must be
3737
// included.
3838
//
3939
// Software Guide : EndLatex
@@ -174,7 +174,7 @@ main(int argc, char * argv[])
174174
// programming languages. Note that ITK
175175
// does not use \code{for()} loops in its internal code to access
176176
// pixels. All pixel access tasks are instead performed using an
177-
// \doxygen{ImageIterator} that supports the management of
177+
// \itkref{ImageIterator} that supports the management of
178178
// n-dimensional images.
179179
//
180180
// Software Guide : EndLatex

Examples/DataRepresentation/Image/ImageAdaptor1.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
// Software Guide : BeginLatex
2020
//
21-
// This example illustrates how the \doxygen{ImageAdaptor} can be used to cast
21+
// This example illustrates how the \itkref{ImageAdaptor} can be used to cast
2222
// an image from one pixel type to another. In particular, we will
2323
// \emph{adapt} an \code{unsigned char} image to make it appear as an image of
2424
// pixel type \code{float}.
@@ -179,7 +179,7 @@ main(int argc, char * argv[])
179179
// type
180180
// \code{float}. Additionally, it should be noted that the adaptor is used
181181
// as if it was an actual image and not as a filter. ImageAdaptors conform
182-
// to the same API as the \doxygen{Image} class.
182+
// to the same API as the \itkref{Image} class.
183183
//
184184
// Software Guide : EndLatex
185185

Examples/DataRepresentation/Image/ImageAdaptor2.cxx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
// Software Guide : BeginLatex
2020
//
21-
// This example illustrates how to use the \doxygen{ImageAdaptor}
21+
// This example illustrates how to use the \itkref{ImageAdaptor}
2222
// to access the individual components of an RGB image. In this case, we
2323
// create an ImageAdaptor that will accept a RGB image as input and
2424
// presents it as a scalar image. The pixel data
@@ -67,7 +67,7 @@ class RedChannelPixelAccessor
6767
// Software Guide : BeginLatex
6868
//
6969
// The \code{Get()} method simply calls the \code{GetRed()} method
70-
// defined in the \doxygen{RGBPixel} class.
70+
// defined in the \itkref{RGBPixel} class.
7171
//
7272
// Software Guide : EndLatex
7373

@@ -137,8 +137,8 @@ main(int argc, char * argv[])
137137

138138
// Software Guide : BeginLatex
139139
//
140-
// We create an \doxygen{RescaleIntensityImageFilter} and an
141-
// \doxygen{ImageFileWriter} to rescale the dynamic range of the pixel
140+
// We create an \itkref{RescaleIntensityImageFilter} and an
141+
// \itkref{ImageFileWriter} to rescale the dynamic range of the pixel
142142
// values and send the extracted channel to an image file. Note that the
143143
// image type used for the rescaling filter is the \code{ImageAdaptorType}
144144
// itself. That is, the adaptor type is used in the same context as an

Examples/DataRepresentation/Image/ImageAdaptor3.cxx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@
1818

1919
// Software Guide : BeginLatex
2020
//
21-
// This example illustrates the use of \doxygen{ImageAdaptor}
21+
// This example illustrates the use of \itkref{ImageAdaptor}
2222
// to obtain access to the components of a vector image.
2323
// Specifically, it shows how to manage pixel accessors containing
2424
// internal parameters. In this example we create an image of vectors by using
2525
// a gradient filter. Then, we use an image adaptor to extract one of the
2626
// components of the vector image. The vector type used by the gradient filter
27-
// is the \doxygen{CovariantVector} class.
27+
// is the \itkref{CovariantVector} class.
2828
//
2929
// We start by including the relevant headers.
3030
//
@@ -121,8 +121,8 @@ main(int argc, char * argv[])
121121
// Software Guide : BeginLatex
122122
//
123123
// In order to test the pixel accessor, we generate an image of vectors
124-
// using the \doxygen{GradientRecursiveGaussianImageFilter}. This filter
125-
// produces an output image of \doxygen{CovariantVector} pixel type.
124+
// using the \itkref{GradientRecursiveGaussianImageFilter}. This filter
125+
// produces an output image of \itkref{CovariantVector} pixel type.
126126
// Covariant vectors are the natural representation for gradients since
127127
// they are the equivalent of normals to iso-values manifolds.
128128
//

Examples/DataRepresentation/Image/ImageAdaptor4.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
//
3333
// Image adaptors can also be used to perform simple pixel-wise computations
3434
// on image data. The following example illustrates how to use the
35-
// \doxygen{ImageAdaptor} for image thresholding.
35+
// \itkref{ImageAdaptor} for image thresholding.
3636
//
3737
// \index{itk::ImageAdaptor!Instantiation}
3838
// \index{itk::ImageAdaptor!Header}
@@ -222,7 +222,7 @@ main(int argc, char * argv[])
222222
// Figure~\ref{fig:ImageAdaptorThresholding} illustrates the result of
223223
// applying the thresholding adaptor to a typical gray scale image using
224224
// two different threshold values. Note that the same effect could have
225-
// been achieved by using the \doxygen{BinaryThresholdImageFilter} but at
225+
// been achieved by using the \itkref{BinaryThresholdImageFilter} but at
226226
// the price of holding an extra copy of the image in memory.
227227
//
228228
// Software Guide : EndLatex

Examples/DataRepresentation/Image/RGBImage.cxx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
//
3030
// A class intended to support the RGB pixel type is available in ITK. You
3131
// could also define your own pixel class and use it to instantiate a
32-
// custom image type. In order to use the \doxygen{RGBPixel} class, it is
32+
// custom image type. In order to use the \itkref{RGBPixel} class, it is
3333
// necessary to include its header file.
3434
//
3535
// \index{itk::RGBPixel}
@@ -72,7 +72,7 @@ main(int, char * argv[])
7272
// Software Guide : BeginLatex
7373
//
7474
// The image type can be used to instantiate other filter, for example,
75-
// an \doxygen{ImageFileReader} object that will read the image from a
75+
// an \itkref{ImageFileReader} object that will read the image from a
7676
// file.
7777
//
7878
// \index{itk::ImageFileReader!RGB Image}
@@ -124,8 +124,8 @@ main(int, char * argv[])
124124

125125
// Software Guide : BeginLatex
126126
//
127-
// The subindex notation can also be used since the \doxygen{RGBPixel}
128-
// inherits the \code{[]} operator from the \doxygen{FixedArray} class.
127+
// The subindex notation can also be used since the \itkref{RGBPixel}
128+
// inherits the \code{[]} operator from the \itkref{FixedArray} class.
129129
//
130130
// Software Guide : EndLatex
131131

0 commit comments

Comments
 (0)