18 #ifndef itkLineSpatialObject_h 19 #define itkLineSpatialObject_h 42 template<
unsigned int TDimension = 3 >
75 void SetPoints(PointListType & newPoints);
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;
105 bool IsInside(
const PointType & point,
106 unsigned int depth,
char *name)
const ITK_OVERRIDE;
111 virtual bool IsInside(
const PointType & point)
const;
118 void operator=(
const Self &) ITK_DELETE_FUNCTION;
126 virtual void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
130 #ifndef ITK_MANUAL_INSTANTIATION 131 #include "itkLineSpatialObject.hxx" 134 #endif // itkLineSpatialObject_h void SetPoints(PointListType &newPoints)
BoundingBox< IdentifierType, VDimension, ScalarType, VectorContainerType > BoundingBoxType
Superclass::PointType PointType
bool ComputeLocalBoundingBox() const override
void operator=(const Self &) ITK_DELETE_FUNCTION
PointBasedSpatialObject< TDimension > Superclass
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
Superclass::TransformType TransformType
SpatialObjectPointType * GetPoint(IdentifierType id) override
This class serves as the base class for point-based spatial objects.
unsigned long SizeValueType
bool ValueAt(const PointType &point, double &value, unsigned int depth=0, char *name=nullptr) const override
Superclass::SpatialObjectPointType SpatialObjectPointType
SmartPointer< const Self > ConstPointer
Superclass::BoundingBoxType BoundingBoxType
SmartPointer< Self > Pointer
Point used for a line definition.
PointListType & GetPoints(void)
SizeValueType IdentifierType
Superclass::PointType PointType
ConstPointListType & GetPoints(void) const
bool IsInside(const PointType &point, unsigned int depth, char *name) const override
Representation of a Line based on the spatial object classes.
VectorContainer< IdentifierType, PointType > PointContainerType
bool IsEvaluableAt(const PointType &point, unsigned int depth=0, char *name=nullptr) const override
virtual void PrintSelf(std::ostream &os, Indent indent) const override
Define a front-end to the STL "vector" container that conforms to the IndexedContainerInterface.
std::vector< LinePointType > PointListType
const SpatialObjectPointType * GetPoint(IdentifierType id) const override
Control indentation during Print() invocation.
SizeValueType GetNumberOfPoints(void) const override
SmartPointer< PointContainerType > PointContainerPointer
SpatialObjectPoint< TDimension > SpatialObjectPointType
const PointListType ConstPointListType
virtual ~LineSpatialObject()
Superclass::TransformType TransformType
LineSpatialObjectPoint< TDimension > LinePointType