18 #ifndef itkArrowSpatialObject_h
19 #define itkArrowSpatialObject_h
36 template<
unsigned int TDimension = 3 >
62 this->UpdateTransform();
72 this->UpdateTransform();
80 this->UpdateTransform();
87 this->UpdateTransform();
97 this->UpdateTransform();
105 this->UpdateTransform();
109 void SetLength(
double length);
112 itkGetConstReferenceMacro(Length,
double);
115 bool ComputeLocalBoundingBox() const ITK_OVERRIDE;
119 unsigned int depth,
char *name) const ITK_OVERRIDE;
124 virtual
bool IsInside(const
PointType & point) const;
129 virtual ~ArrowSpatialObject() ITK_OVERRIDE;
132 void UpdateTransform();
135 virtual
void PrintSelf(std::ostream & os,
Indent indent) const ITK_OVERRIDE;
138 ITK_DISALLOW_COPY_AND_ASSIGN(ArrowSpatialObject);
146 #ifndef ITK_MANUAL_INSTANTIATION
147 #include "itkArrowSpatialObject.hxx"
150 #endif // itkArrowSpatialObject_h
void SetDirection(const VectorType &d)
void SetPosition(float x, float y)
SmartPointer< Self > Pointer
SpatialObject< TDimension > Superclass
ImageBaseType::SpacingType VectorType
void SetDirection(float x, float y, float z)
ImageBaseType::PointType PointType
Vector< double, TDimension > VectorType
Implementation of the composite pattern.
SmartPointer< const Self > ConstPointer
Point< double, TDimension > PointType
TransformType::MatrixType MatrixType
void SetDirection(float x, float y)
Representation of a Arrow based on the spatial object classes.
Control indentation during Print() invocation.
void SetPosition(const PointType &p)
void SetPosition(float x, float y, float z)
Base class for all data objects in ITK.
Superclass::TransformType TransformType