18 #ifndef itkTubeSpatialObject_h
19 #define itkTubeSpatialObject_h
41 template<
unsigned int TDimension = 3,
42 typename TTubePointType = TubeSpatialObjectPoint< TDimension > >
101 itkSetMacro(EndType,
unsigned int);
102 itkGetConstMacro(EndType,
unsigned int);
106 void Clear(
void) ITK_OVERRIDE;
117 unsigned int depth = 0,
char *name = ITK_NULLPTR) const ITK_OVERRIDE;
124 unsigned int depth = 0,
char *name = ITK_NULLPTR) const ITK_OVERRIDE;
128 unsigned int depth,
char *name) const ITK_OVERRIDE;
140 itkSetMacro(ParentPoint,
int);
141 itkGetConstMacro(ParentPoint,
int);
146 itkSetMacro(Root,
bool);
147 itkGetConstMacro(Root,
bool);
151 itkSetMacro(Artery,
bool);
152 itkGetConstMacro(Artery,
bool);
172 virtual
void PrintSelf(std::ostream & os,
Indent indent) const ITK_OVERRIDE;
179 TubeSpatialObject(const
Self &) ITK_DELETE_FUNCTION;
180 void operator=(const
Self &) ITK_DELETE_FUNCTION;
184 #ifndef ITK_MANUAL_INSTANTIATION
185 #include "itkTubeSpatialObject.hxx"
188 #endif // itkTubeSpatialObject_h
Superclass::VectorType VectorType
Superclass::CovariantVectorType CovariantVectorType
PointListType * PointListPointer
BoundingBox< IdentifierType, VDimension, ScalarType, VectorContainerType > BoundingBoxType
Superclass::PointType PointType
void Clear(void) override
virtual PointListType & GetPoints()
PointBasedSpatialObject< TDimension > Superclass
virtual SizeValueType GetNumberOfPoints(void) const override
unsigned long ModifiedTimeType
TTubePointType TubePointType
virtual void PrintSelf(std::ostream &os, Indent indent) const override
Superclass::TransformType TransformType
This class serves as the base class for point-based spatial objects.
unsigned long SizeValueType
bool IsEvaluableAt(const PointType &point, unsigned int depth=0, char *name=nullptr) const override
unsigned int RemoveDuplicatePoints(unsigned int step=1)
Superclass::BoundingBoxType BoundingBoxType
virtual void SetPoint(IdentifierType ind, const TubePointType &pnt)
bool ComputeLocalBoundingBox() const override
Point used for a tube definition.
virtual void SetPoints(PointListType &newPoints)
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
virtual void RemovePoint(IdentifierType ind)
Superclass::TransformType TransformType
Superclass::VectorType VectorType
bool ComputeTangentAndNormals()
bool ValueAt(const PointType &point, double &value, unsigned int depth=0, char *name=nullptr) const override
Point used for spatial objets.
virtual const SpatialObjectPointType * GetPoint(IdentifierType ind) const override
Define a front-end to the STL "vector" container that conforms to the IndexedContainerInterface.
Control indentation during Print() invocation.
Representation of a tube based on the spatial object classes.
SmartPointer< Self > Pointer
ModifiedTimeType m_OldMTime
bool IsInside(const PointType &point, unsigned int depth, char *name) const override
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