18 #ifndef __itkArrowSpatialObject_h
19 #define __itkArrowSpatialObject_h
37 template<
unsigned int TDimension = 3 >
63 this->UpdateTransform();
67 itkGetConstMacro(Position, PointType);
69 void SetPosition(
float x,
float y)
73 this->UpdateTransform();
76 void SetPosition(
float x,
float y,
float z)
81 this->UpdateTransform();
88 this->UpdateTransform();
92 itkGetConstMacro(Direction, VectorType);
94 void SetDirection(
float x,
float y)
98 this->UpdateTransform();
101 void SetDirection(
float x,
float y,
float z)
106 this->UpdateTransform();
110 void SetLength(
double length);
113 itkGetConstReferenceMacro(Length,
double);
116 bool ComputeLocalBoundingBox()
const;
119 bool IsInside(
const PointType & point,
120 unsigned int depth,
char *name)
const;
125 virtual bool IsInside(
const PointType & point)
const;
133 void UpdateTransform();
136 virtual void PrintSelf(std::ostream & os,
Indent indent)
const;
140 void operator=(
const Self &);
148 #ifndef ITK_MANUAL_INSTANTIATION
149 #include "itkArrowSpatialObject.hxx"
152 #endif // __itkArrowSpatialObject_h