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);
78 itkGetObjectMacro(IndexToObjectTransform, TransformType);
79 itkSetObjectMacro(IndexToObjectTransform, TransformType);
83 itkGetConstObjectMacro(ObjectToNodeTransform, TransformType);
84 itkGetObjectMacro(ObjectToNodeTransform, TransformType);
85 itkSetObjectMacro(ObjectToNodeTransform, TransformType);
89 itkGetConstObjectMacro(IndexToWorldTransform, TransformType);
90 itkGetObjectMacro(IndexToWorldTransform, TransformType);
91 itkSetObjectMacro(IndexToWorldTransform, TransformType);
96 itkGetConstObjectMacro(IndexToNodeTransform, 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);
126 void operator=(
const Self &);
130 #ifndef ITK_MANUAL_INSTANTIATION
131 #include "itkAffineGeometryFrame.hxx"