18 #ifndef __itkLaplacianOperator_h
19 #define __itkLaplacianOperator_h
62 template<
class TPixel,
unsigned int VDimension = 2,
63 class TAllocator = NeighborhoodAllocator< TPixel > >
81 for (
unsigned i = 0; i < VDimension; ++i )
83 m_DerivativeScalings[i] = 1.0;
92 for (
unsigned i = 0; i < VDimension; ++i )
100 void CreateOperator();
105 Superclass::operator=(other);
111 virtual void PrintSelf(std::ostream & os,
Indent i)
const
113 os << i <<
"LaplacianOperator { this=" <<
this
122 void SetDerivativeScalings(
const double *s);
138 double m_DerivativeScalings[VDimension];
143 #define ITK_TEMPLATE_LaplacianOperator(_, EXPORT, TypeX, TypeY) \
146 _( 2 ( class EXPORT LaplacianOperator< ITK_TEMPLATE_2 TypeX > ) ) \
147 namespace Templates \
149 typedef LaplacianOperator< ITK_TEMPLATE_2 TypeX > \
150 LaplacianOperator##TypeY; \
154 #if ITK_TEMPLATE_EXPLICIT
155 #include "Templates/itkLaplacianOperator+-.h"
159 #include "itkLaplacianOperator.hxx"