18 #ifndef itkBoxSpatialObject_h
19 #define itkBoxSpatialObject_h
35 template<
unsigned int TDimension = 3 >
58 itkSetMacro( SizeInObjectSpace,
SizeType );
61 itkGetConstReferenceMacro(SizeInObjectSpace,
SizeType);
64 itkSetMacro( PositionInObjectSpace,
PointType );
67 itkGetConstReferenceMacro(PositionInObjectSpace,
PointType);
70 bool IsInsideInObjectSpace(
const PointType & point,
unsigned int depth = 0,
71 const std::string & name =
"" )
const override;
76 bool ComputeMyBoundingBox()
const override;
83 void PrintSelf(std::ostream & os,
Indent indent)
const override;
95 #ifndef ITK_MANUAL_INSTANTIATION
96 #include "itkBoxSpatialObject.hxx"
99 #endif // itkBoxSpatialObject_h
The class may be used to represent N-dimensional boxes. In two dimensions it is a rectangle...
typename Superclass::PointType PointType
PointType m_PositionInObjectSpace
typename Superclass::BoundingBoxType BoundingBoxType
Implementation of the composite pattern.
Control indentation during Print() invocation.
ImageBaseType::PointType PointType
typename Superclass::TransformType TransformType
typename BoundingBoxType::PointsContainer PointsContainerType
Base class for most ITK classes.
Base class for all data objects in ITK.
SizeType m_SizeInObjectSpace