18#ifndef itkPointBasedSpatialObject_h
19#define itkPointBasedSpatialObject_h
36template <
unsigned int TDimension = 3,
class TSpatialObjectPo
intType = SpatialObjectPo
int<TDimension>>
90 virtual const SpatialObjectPointListType &
97 virtual const SpatialObjectPointType *
103 virtual SpatialObjectPointType *
117 TSpatialObjectPointType
121 TSpatialObjectPointType
153#ifndef ITK_MANUAL_INSTANTIATION
154# include "itkPointBasedSpatialObject.hxx"
Control indentation during Print() invocation.
SmartPointer< Self > Pointer
AffineTransform< ScalarType, VDimension > TransformType
bool IsInsideInObjectSpace(const PointType &point) const override
SmartPointer< Self > Pointer
PointBasedSpatialObject Self
Vector< ScalarType, VDimension > VectorType
CovariantVector< ScalarType, VDimension > CovariantVectorType
LightObject::Pointer InternalClone() const override
void ComputeMyBoundingBox() override
virtual const SpatialObjectPointListType & GetPoints() const
TSpatialObjectPointType ClosestPointInWorldSpace(const PointType &point) const
void PrintSelf(std::ostream &os, Indent indent) const override
virtual void SetPoints(const SpatialObjectPointListType &newPoints)
SpatialObjectPointListType m_Points
SmartPointer< const Self > ConstPointer
virtual SpatialObjectPointType * GetPoint(IdentifierType id)
virtual void AddPoint(const SpatialObjectPointType &newPoint)
SpatialObject< TDimension > Superclass
TSpatialObjectPointType ClosestPointInObjectSpace(const PointType &point) const
SpatialObjectPoint< TDimension > SpatialObjectPointType
PointBasedSpatialObject()
Point< ScalarType, VDimension > PointType
std::vector< SpatialObjectPointType > SpatialObjectPointListType
virtual SizeValueType GetNumberOfPoints() const
BoundingBox< IdentifierType, VDimension, ScalarType, VectorContainerType > BoundingBoxType
virtual const SpatialObjectPointType * GetPoint(IdentifierType id) const
~PointBasedSpatialObject() override=default
virtual SpatialObjectPointListType & GetPoints()
virtual void RemovePoint(IdentifierType id)
Implements transparent reference counting.
bool IsInsideInObjectSpace(const PointType &point, unsigned int depth, const std::string &name="") const
Point< ScalarType, VDimension > PointType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
SizeValueType IdentifierType
unsigned long SizeValueType
*par Constraints *The filter image with at least two dimensions and a vector *length of at least The theory supports extension to scalar but *the implementation of the itk vector classes do not **The template parameter TRealType must be floating point(float or double) or *a user-defined "real" numerical type with arithmetic operations defined *sufficient to compute derivatives. **\par Performance *This filter will automatically multithread if run with *SetUsePrincipleComponents