18 #ifndef itkArrowSpatialObject_h
19 #define itkArrowSpatialObject_h
36 template <
unsigned int TDimension = 3>
49 using typename Superclass::TransformType;
64 itkSetMacro(PositionInObjectSpace,
PointType);
67 itkGetConstMacro(PositionInObjectSpace,
PointType);
70 itkSetMacro(DirectionInObjectSpace,
VectorType);
73 itkGetConstMacro(DirectionInObjectSpace,
VectorType);
76 itkSetMacro(LengthInObjectSpace,
double);
79 itkGetConstReferenceMacro(LengthInObjectSpace,
double);
86 using Superclass::IsInsideInObjectSpace;
89 GetPositionInWorldSpace()
const;
91 GetDirectionInWorldSpace()
const;
93 GetLengthInWorldSpace()
const;
98 ComputeMyBoundingBox()
override;
104 PrintSelf(std::ostream & os,
Indent indent)
const override;
107 InternalClone()
const override;
112 double m_LengthInObjectSpace{};
117 #ifndef ITK_MANUAL_INSTANTIATION
118 # include "itkArrowSpatialObject.hxx"
121 #endif // itkArrowSpatialObject_h