|
ITK
5.2.0
Insight Toolkit
|
Go to the documentation of this file.
18 #ifndef itkPointBasedSpatialObject_h
19 #define itkPointBasedSpatialObject_h
36 template <
unsigned int TDimension = 3,
class TSpatialObjectPo
intType = SpatialObjectPo
int<TDimension>>
90 virtual const SpatialObjectPointListType &
97 virtual const SpatialObjectPointType *
100 return &(m_Points[id]);
103 virtual SpatialObjectPointType *
106 return &(m_Points[id]);
113 return static_cast<SizeValueType>(m_Points.size());
117 TSpatialObjectPointType
118 ClosestPointInWorldSpace(
const PointType & point)
const;
120 TSpatialObjectPointType
121 ClosestPointInObjectSpace(
const PointType & point)
const;
125 IsInsideInObjectSpace(
const PointType & point)
const override;
128 using Superclass::IsInsideInObjectSpace;
133 ComputeMyBoundingBox()
override;
142 PrintSelf(std::ostream & os,
Indent indent)
const override;
145 InternalClone()
const override;
149 #ifndef ITK_MANUAL_INSTANTIATION
150 # include "itkPointBasedSpatialObject.hxx"
153 #endif // itkPointBasedSpatialObject_h
Point used for a tube definition.
This class serves as the base class for point-based spatial objects.
typename Superclass::VectorType VectorType
virtual const SpatialObjectPointType * GetPoint(IdentifierType id) const
std::vector< SpatialObjectPointType > SpatialObjectPointListType
ImageBaseType::SpacingType VectorType
ImageBaseType::PointType PointType
typename Superclass::PointType PointType
typename Superclass::BoundingBoxType BoundingBoxType
Control indentation during Print() invocation.
typename Superclass::CovariantVectorType CovariantVectorType
Implementation of the composite pattern.
virtual SpatialObjectPointListType & GetPoints()
virtual SizeValueType GetNumberOfPoints() const
virtual const SpatialObjectPointListType & GetPoints() const
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Base class for most ITK classes.
virtual SpatialObjectPointType * GetPoint(IdentifierType id)
SpatialObjectPointListType m_Points
typename Superclass::TransformType TransformType
SizeValueType IdentifierType
unsigned long SizeValueType
Base class for all data objects in ITK.