18 #ifndef itkLineSpatialObject_h
19 #define itkLineSpatialObject_h
42 template<
unsigned int TDimension = 3 >
75 void SetPoints(PointListType & newPoints);
80 return &( m_Points[id] );
94 bool IsEvaluableAt(
const PointType & point,
95 unsigned int depth = 0,
char *name = ITK_NULLPTR) const ITK_OVERRIDE;
101 bool ValueAt(const
PointType & point,
double & value,
102 unsigned int depth = 0,
char *name = ITK_NULLPTR) const ITK_OVERRIDE;
106 unsigned int depth,
char *name) const ITK_OVERRIDE;
111 virtual
bool IsInside(const
PointType & point) const;
114 bool ComputeLocalBoundingBox() const ITK_OVERRIDE;
122 virtual ~LineSpatialObject() ITK_OVERRIDE;
125 virtual
void PrintSelf(std::ostream & os,
Indent indent) const ITK_OVERRIDE;
129 #ifndef ITK_MANUAL_INSTANTIATION
130 #include "itkLineSpatialObject.hxx"
133 #endif // itkLineSpatialObject_h
SizeValueType GetNumberOfPoints(void) const override
PointBasedSpatialObject< TDimension > Superclass
SpatialObjectPointType * GetPoint(IdentifierType id) override
This class serves as the base class for point-based spatial objects.
unsigned long SizeValueType
Superclass::SpatialObjectPointType SpatialObjectPointType
SmartPointer< const Self > ConstPointer
Superclass::BoundingBoxType BoundingBoxType
const SpatialObjectPointType * GetPoint(IdentifierType id) const override
SmartPointer< Self > Pointer
Point used for a line definition.
PointListType & GetPoints(void)
SizeValueType IdentifierType
Superclass::PointType PointType
ConstPointListType & GetPoints(void) const
ImageBaseType::PointType PointType
Representation of a Line based on the spatial object classes.
VectorContainer< IdentifierType, PointType > PointContainerType
Define a front-end to the STL "vector" container that conforms to the IndexedContainerInterface.
std::vector< LinePointType > PointListType
Control indentation during Print() invocation.
SmartPointer< PointContainerType > PointContainerPointer
Base class for all data objects in ITK.
const PointListType ConstPointListType
Superclass::TransformType TransformType
LineSpatialObjectPoint< TDimension > LinePointType