/usr/include/InsightToolkit/Common/itkBloxBoundaryProfileImage.h is in libinsighttoolkit3-dev 3.20.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 | /*=========================================================================
Program: Insight Segmentation & Registration Toolkit
Module: itkBloxBoundaryProfileImage.h
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) Insight Software Consortium. All rights reserved.
See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
#ifndef __itkBloxBoundaryProfileImage_h
#define __itkBloxBoundaryProfileImage_h
#include "vnl/vnl_vector_fixed.h"
#include "itkPoint.h"
#include "itkVector.h"
#include "itkCovariantVector.h"
#include "itkBloxBoundaryPointItem.h"
#include "itkBloxBoundaryPointPixel.h"
#include "itkBloxBoundaryPointImage.h"
#include "itkBloxBoundaryProfileItem.h"
#include "itkBloxBoundaryProfilePixel.h"
#include "itkBloxImage.h"
#include "itkImage.h"
namespace itk
{
/** \class BloxBoundaryProfileImage
* \brief N-dimensional image class which handles BloxBoundaryProfileItems
*
* A BloxBoundaryProfileImage stores and processes BloxBoundaryProfileItem's
* (in BloxPixel linked lists). The primary task of BloxBoundaryProfileImage
* is finding boundary profilesand storing them in the correct blox location.
* \ingroup ImageObjects
*/
template <unsigned int TImageDimension>
class ITK_EXPORT BloxBoundaryProfileImage :
public BloxImage<BloxBoundaryProfilePixel<TImageDimension>, TImageDimension>
{
public:
/** Standard image class typedefs. */
typedef BloxBoundaryProfileImage Self;
typedef BloxImage<BloxBoundaryProfilePixel<TImageDimension>,
TImageDimension > Superclass;
typedef SmartPointer<Self> Pointer;
typedef SmartPointer<const Self> ConstPointer;
itkNewMacro(Self);
itkTypeMacro(BloxBoundaryProfileImage, BloxImage);
typedef BloxBoundaryProfilePixel<TImageDimension> PixelType;
typedef PixelType InternalPixelType;
typedef DefaultPixelAccessor< PixelType > AccessorType;
typedef Point<double, TImageDimension> PositionType;
typedef typename PositionType::VectorType VectorType;
typedef CovariantVector<double, TImageDimension> GradientType;
typedef typename Superclass::PixelContainer PixelContainer;
typedef typename Superclass::SizeType SizeType;
typedef typename Superclass::IndexType IndexType;
typedef typename Superclass::OffsetType OffsetType;
typedef typename Superclass::RegionType RegionType;
typedef typename PixelContainer::Pointer PixelContainerPointer;
protected:
BloxBoundaryProfileImage();
virtual ~BloxBoundaryProfileImage();
void PrintSelf(std::ostream& os, Indent indent) const;
private:
BloxBoundaryProfileImage(const Self&); //purposely not implemented
void operator=(const Self&); //purposely not implemented
};
} // end namespace itk
// Define instantiation macro for this template.
#define ITK_TEMPLATE_BloxBoundaryProfileImage(_, EXPORT, x, y) namespace itk { \
_(1(class EXPORT BloxBoundaryProfileImage< ITK_TEMPLATE_1 x >)) \
namespace Templates { typedef BloxBoundaryProfileImage< ITK_TEMPLATE_1 x > \
BloxBoundaryProfileImage##y; } \
}
#if ITK_TEMPLATE_EXPLICIT
# include "Templates/itkBloxBoundaryProfileImage+-.h"
#endif
#if ITK_TEMPLATE_TXX
# include "itkBloxBoundaryProfileImage.txx"
#endif
#endif
|