18 #ifndef itkArrowSpatialObject_h
19 #define itkArrowSpatialObject_h
36 template<
unsigned int TDimension = 3 >
60 itkSetMacro( PositionInObjectSpace,
PointType );
63 itkGetConstMacro(PositionInObjectSpace,
PointType);
66 itkSetMacro( DirectionInObjectSpace,
VectorType );
69 itkGetConstMacro(DirectionInObjectSpace,
VectorType);
72 itkSetMacro( LengthInObjectSpace,
double);
75 itkGetConstReferenceMacro(LengthInObjectSpace,
double);
78 bool ComputeMyBoundingBox()
const override;
81 bool IsInsideInObjectSpace(
const PointType & point,
unsigned int depth=0,
82 const std::string & name=
"")
const override;
84 PointType GetPositionInWorldSpace()
const;
86 double GetLengthInWorldSpace()
const;
94 void PrintSelf(std::ostream & os,
Indent indent)
const override;
106 #ifndef ITK_MANUAL_INSTANTIATION
107 #include "itkArrowSpatialObject.hxx"
110 #endif // itkArrowSpatialObject_h
VectorType m_DirectionInObjectSpace
typename TransformType::MatrixType MatrixType
PointType m_PositionInObjectSpace
Implementation of the composite pattern.
typename Superclass::TransformType TransformType
Representation of a Arrow based on the spatial object classes.
Control indentation during Print() invocation.
Base class for most ITK classes.
Base class for all data objects in ITK.
double m_LengthInObjectSpace