18 #ifndef __itkAffineGeometryFrame_h
19 #define __itkAffineGeometryFrame_h
32 template<
class TScalarType =
double,
unsigned int NDimensions = 3 >
57 itkAssertInDebugAndIgnoreInReleaseMacro( m_BoundingBox.IsNotNull() );
58 return m_BoundingBox->GetBounds();
64 virtual void SetBounds(
const BoundsArrayType & bounds);
67 TScalarType GetExtent(
unsigned int direction)
const
69 itkAssertInDebugAndIgnoreInReleaseMacro(direction < NDimensions);
70 itkAssertInDebugAndIgnoreInReleaseMacro( m_BoundingBox.IsNotNull() );
72 return bounds[direction * 2 + 1] - bounds[direction * 2];
77 itkGetConstObjectMacro(IndexToObjectTransform,
TransformType);
99 virtual void Initialize();
108 void PrintSelf(std::ostream & os,
Indent indent)
const;
111 virtual void InitializeGeometry(Self *newGeometry)
const;
113 void SetBoundsArray(
const BoundsArrayType & bounds,
114 BoundingBoxPointer & boundingBox);
125 void operator=(
const Self &);
130 #ifndef ITK_MANUAL_INSTANTIATION
131 #include "itkAffineGeometryFrame.hxx"