18 #ifndef itkTubeSpatialObject_h 19 #define itkTubeSpatialObject_h 41 template<
unsigned int TDimension = 3,
42 typename TTubePointType = TubeSpatialObjectPoint< TDimension > >
75 virtual const PointListType &
GetPoints()
const;
78 virtual void SetPoints(PointListType & newPoints);
103 itkSetMacro(EndType,
unsigned int);
104 itkGetConstMacro(EndType,
unsigned int);
108 void Clear(
void) ITK_OVERRIDE;
119 unsigned int depth = 0,
char *name = ITK_NULLPTR)
const ITK_OVERRIDE;
125 bool ValueAt(
const PointType & point,
double & value,
126 unsigned int depth = 0,
char *name = ITK_NULLPTR)
const ITK_OVERRIDE;
129 bool IsInside(
const PointType & point,
130 unsigned int depth,
char *name)
const ITK_OVERRIDE;
135 virtual bool IsInside(
const PointType & point)
const;
142 itkSetMacro(ParentPoint,
int);
143 itkGetConstMacro(ParentPoint,
int);
148 itkSetMacro(Root,
bool);
149 itkGetConstMacro(Root,
bool);
153 itkSetMacro(Artery,
bool);
154 itkGetConstMacro(Artery,
bool);
174 virtual void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
182 void operator=(const Self &) ITK_DELETE_FUNCTION;
186 #ifndef ITK_MANUAL_INSTANTIATION 187 #include "itkTubeSpatialObject.hxx" 190 #endif // itkTubeSpatialObject_h Superclass::VectorType VectorType
Superclass::CovariantVectorType CovariantVectorType
bool IsEvaluableAt(const PointType &point, unsigned int depth=0, char *name=nullptr) const override
PointListType * PointListPointer
BoundingBox< IdentifierType, VDimension, ScalarType, VectorContainerType > BoundingBoxType
Superclass::PointType PointType
virtual const SpatialObjectPointType * GetPoint(IdentifierType ind) const override
void Clear(void) override
virtual PointListType & GetPoints()
PointBasedSpatialObject< TDimension > Superclass
unsigned long ModifiedTimeType
TTubePointType TubePointType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
Superclass::TransformType TransformType
This class serves as the base class for point-based spatial objects.
virtual SizeValueType GetNumberOfPoints(void) const override
unsigned long SizeValueType
unsigned int RemoveDuplicatePoints(unsigned int step=1)
Superclass::BoundingBoxType BoundingBoxType
virtual void SetPoint(IdentifierType ind, const TubePointType &pnt)
virtual void SetPoints(PointListType &newPoints)
bool IsInside(const PointType &point, unsigned int depth, char *name) const override
SizeValueType IdentifierType
std::vector< TubePointType > PointListType
SmartPointer< const Self > ConstPointer
Superclass::SpatialObjectPointType SpatialObjectPointType
Superclass::PointType PointType
ModifiedTimeType m_IndexToWorldTransformMTime
SmartPointer< PointContainerType > PointContainerPointer
VectorContainer< IdentifierType, PointType > PointContainerType
bool ValueAt(const PointType &point, double &value, unsigned int depth=0, char *name=nullptr) const override
virtual void RemovePoint(IdentifierType ind)
Superclass::TransformType TransformType
Superclass::VectorType VectorType
bool ComputeTangentAndNormals()
Define a front-end to the STL "vector" container that conforms to the IndexedContainerInterface.
bool ComputeLocalBoundingBox() const override
virtual void PrintSelf(std::ostream &os, Indent indent) const override
Control indentation during Print() invocation.
Representation of a tube based on the spatial object classes.
SmartPointer< Self > Pointer
ModifiedTimeType m_OldMTime
virtual ~TubeSpatialObject()
void CopyInformation(const DataObject *data) override
Base class for all data objects in ITK.
virtual SpatialObjectPointType * GetPoint(IdentifierType ind) override
SpatialObjectPoint< TDimension > SpatialObjectPointType
Superclass::CovariantVectorType CovariantVectorType