ITK  4.2.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
itk::TubeSpatialObject< TDimension, TTubePointType > Class Template Reference

#include <itkTubeSpatialObject.h>

+ Inheritance diagram for itk::TubeSpatialObject< TDimension, TTubePointType >:
+ Collaboration diagram for itk::TubeSpatialObject< TDimension, TTubePointType >:

List of all members.

Public Types

typedef Superclass::BoundingBoxType BoundingBoxType
typedef SmartPointer< const SelfConstPointer
typedef
Superclass::CovariantVectorType 
CovariantVectorType
typedef SmartPointer
< PointContainerType
PointContainerPointer
typedef VectorContainer
< IdentifierType, PointType
PointContainerType
typedef SmartPointer< SelfPointer
typedef PointListTypePointListPointer
typedef std::vector
< TubePointType
PointListType
typedef Superclass::PointType PointType
typedef double ScalarType
typedef TubeSpatialObject Self
typedef
Superclass::SpatialObjectPointType 
SpatialObjectPointType
typedef
PointBasedSpatialObject
< TDimension > 
Superclass
typedef Superclass::TransformType TransformType
typedef TTubePointType TubePointType
typedef Superclass::VectorType VectorType
- Public Types inherited from itk::PointBasedSpatialObject< TDimension >
- Public Types inherited from itk::SpatialObject< TDimension >
typedef
AffineGeometryFrameType::Pointer 
AffineGeometryFramePointer
typedef AffineGeometryFrame
< double, VDimension > 
AffineGeometryFrameType
typedef BoundingBoxType::Pointer BoundingBoxPointer
typedef ChildrenListTypeChildrenListPointer
typedef std::list< PointerChildrenListType
typedef Index< VDimension > IndexType
typedef Point< ScalarType,
VDimension > 
InputType
typedef Offset< VDimension > OffsetType
typedef OutputVectorTypeOutputVectorPointer
typedef CovariantVector
< double, VDimension > 
OutputVectorType
typedef PointTypePointPointer
typedef PropertyType::Pointer PropertyPointer
typedef SpatialObjectProperty
< float > 
PropertyType
typedef ImageRegion< VDimension > RegionType
typedef Size< VDimension > SizeType
typedef double * SpacingType
typedef const TransformTypeTransformConstPointer
typedef TransformType::Pointer TransformPointer
typedef SpatialObjectTreeNode
< VDimension > 
TreeNodeType
typedef VectorContainer
< IdentifierType, PointType
VectorContainerType
typedef VectorTypeVectorPointer
- Public Types inherited from itk::DataObject
typedef std::string DataObjectIdentifierType
typedef std::vector< Pointer >
::size_type 
DataObjectPointerArraySizeType
- Public Types inherited from itk::Object
- Public Types inherited from itk::LightObject

Public Member Functions

void Clear (void)
bool ComputeLocalBoundingBox () const
bool ComputeTangentAndNormals (void)
void CopyInformation (const DataObject *data)
virtual ::itk::LightObject::Pointer CreateAnother (void) const
virtual const char * GetNameOfClass () const
virtual SizeValueType GetNumberOfPoints (void) const
virtual const
SpatialObjectPointType
GetPoint (IdentifierType ind) const
virtual SpatialObjectPointTypeGetPoint (IdentifierType ind)
virtual PointListTypeGetPoints (void)
virtual const PointListTypeGetPoints (void) const
bool IsEvaluableAt (const PointType &point, unsigned int depth=0, char *name=NULL) const
bool IsInside (const PointType &point, unsigned int depth, char *name) const
virtual bool IsInside (const PointType &point) const
unsigned int RemoveDuplicatePoints (unsigned int step=1)
virtual void RemovePoint (IdentifierType ind)
virtual void SetPoint (IdentifierType ind, const TubePointType &pnt)
virtual void SetPoints (PointListType &newPoints)
bool ValueAt (const PointType &point, double &value, unsigned int depth=0, char *name=NULL) const
virtual void SetEndType (unsigned int _arg)
virtual unsigned int GetEndType () const
virtual void SetParentPoint (int _arg)
virtual int GetParentPoint () const
virtual void SetRoot (bool _arg)
virtual bool GetRoot () const
virtual void SetArtery (bool _arg)
virtual bool GetArtery () const

Static Public Member Functions

static Pointer New ()

Protected Member Functions

virtual void PrintSelf (std::ostream &os, Indent indent) const
 TubeSpatialObject ()
virtual ~TubeSpatialObject ()
- Protected Member Functions inherited from itk::PointBasedSpatialObject< TDimension >
 PointBasedSpatialObject (const Self &)
 PointBasedSpatialObject ()
virtual ~PointBasedSpatialObject ()
- Protected Member Functions inherited from itk::SpatialObject< TDimension >
void ComputeOffsetTable ()
virtual const BoundingBoxTypeGetBounds ()
virtual const unsigned int & GetDimension ()
virtual const TransformTypeGetInternalInverseTransform ()
virtual void SetDimension (unsigned int _arg)
bool SetInternalInverseTransformToWorldToIndexTransform () const
virtual void SetTypeName (std::string _arg)
 SpatialObject ()
virtual ~SpatialObject ()
- Protected Member Functions inherited from itk::DataObject
virtual void PropagateResetPipeline ()
 DataObject ()
 ~DataObject ()
- Protected Member Functions inherited from itk::Object
 Object ()
bool PrintObservers (std::ostream &os, Indent indent) const
virtual void SetTimeStamp (const TimeStamp &time)
virtual ~Object ()
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 LightObject ()
virtual void PrintHeader (std::ostream &os, Indent indent) const
virtual void PrintTrailer (std::ostream &os, Indent indent) const
virtual ~LightObject ()

Protected Attributes

bool m_Artery
unsigned int m_EndType
int m_ParentPoint
PointListType m_Points
bool m_Root
unsigned long m_OldMTime
unsigned long m_IndexToWorldTransformMTime
 TubeSpatialObject (const Self &)
void operator= (const Self &)

Additional Inherited Members


Detailed Description

template<unsigned int TDimension = 3, typename TTubePointType = TubeSpatialObjectPoint< TDimension >>
class itk::TubeSpatialObject< TDimension, TTubePointType >

Representation of a tube based on the spatial object classes.

The tube is basically defined by a set of points. Each tube can be connected to a tube network, by using the AddSpatialObject() methods of a TubeSpatialObject Object. A tube is also identified by an id number when connected to a network.

See also:
TubeSpatialObjectPoint

Definition at line 43 of file itkTubeSpatialObject.h.


Member Typedef Documentation

template<unsigned int TDimension = 3, typename TTubePointType = TubeSpatialObjectPoint< TDimension >>
typedef Superclass::BoundingBoxType itk::TubeSpatialObject< TDimension, TTubePointType >::BoundingBoxType
template<unsigned int TDimension = 3, typename TTubePointType = TubeSpatialObjectPoint< TDimension >>
typedef SmartPointer< const Self > itk::TubeSpatialObject< TDimension, TTubePointType >::ConstPointer
template<unsigned int TDimension = 3, typename TTubePointType = TubeSpatialObjectPoint< TDimension >>
typedef Superclass::CovariantVectorType itk::TubeSpatialObject< TDimension, TTubePointType >::CovariantVectorType
template<unsigned int TDimension = 3, typename TTubePointType = TubeSpatialObjectPoint< TDimension >>
typedef SmartPointer< PointContainerType > itk::TubeSpatialObject< TDimension, TTubePointType >::PointContainerPointer
template<unsigned int TDimension = 3, typename TTubePointType = TubeSpatialObjectPoint< TDimension >>
typedef VectorContainer< IdentifierType, PointType > itk::TubeSpatialObject< TDimension, TTubePointType >::PointContainerType
template<unsigned int TDimension = 3, typename TTubePointType = TubeSpatialObjectPoint< TDimension >>
typedef SmartPointer< Self > itk::TubeSpatialObject< TDimension, TTubePointType >::Pointer
template<unsigned int TDimension = 3, typename TTubePointType = TubeSpatialObjectPoint< TDimension >>
typedef PointListType* itk::TubeSpatialObject< TDimension, TTubePointType >::PointListPointer

Definition at line 55 of file itkTubeSpatialObject.h.

template<unsigned int TDimension = 3, typename TTubePointType = TubeSpatialObjectPoint< TDimension >>
typedef std::vector< TubePointType > itk::TubeSpatialObject< TDimension, TTubePointType >::PointListType
template<unsigned int TDimension = 3, typename TTubePointType = TubeSpatialObjectPoint< TDimension >>
typedef Superclass::PointType itk::TubeSpatialObject< TDimension, TTubePointType >::PointType
template<unsigned int TDimension = 3, typename TTubePointType = TubeSpatialObjectPoint< TDimension >>
typedef double itk::TubeSpatialObject< TDimension, TTubePointType >::ScalarType

Reimplemented from itk::PointBasedSpatialObject< TDimension >.

Definition at line 52 of file itkTubeSpatialObject.h.

template<unsigned int TDimension = 3, typename TTubePointType = TubeSpatialObjectPoint< TDimension >>
typedef TubeSpatialObject itk::TubeSpatialObject< TDimension, TTubePointType >::Self

Standard class typedefs.

Reimplemented from itk::PointBasedSpatialObject< TDimension >.

Reimplemented in itk::DTITubeSpatialObject< TDimension >, and itk::VesselTubeSpatialObject< TDimension >.

Definition at line 48 of file itkTubeSpatialObject.h.

template<unsigned int TDimension = 3, typename TTubePointType = TubeSpatialObjectPoint< TDimension >>
typedef Superclass::SpatialObjectPointType itk::TubeSpatialObject< TDimension, TTubePointType >::SpatialObjectPointType
template<unsigned int TDimension = 3, typename TTubePointType = TubeSpatialObjectPoint< TDimension >>
typedef PointBasedSpatialObject< TDimension > itk::TubeSpatialObject< TDimension, TTubePointType >::Superclass
template<unsigned int TDimension = 3, typename TTubePointType = TubeSpatialObjectPoint< TDimension >>
typedef Superclass::TransformType itk::TubeSpatialObject< TDimension, TTubePointType >::TransformType
template<unsigned int TDimension = 3, typename TTubePointType = TubeSpatialObjectPoint< TDimension >>
typedef TTubePointType itk::TubeSpatialObject< TDimension, TTubePointType >::TubePointType
template<unsigned int TDimension = 3, typename TTubePointType = TubeSpatialObjectPoint< TDimension >>
typedef Superclass::VectorType itk::TubeSpatialObject< TDimension, TTubePointType >::VectorType

Constructor & Destructor Documentation

template<unsigned int TDimension = 3, typename TTubePointType = TubeSpatialObjectPoint< TDimension >>
itk::TubeSpatialObject< TDimension, TTubePointType >::TubeSpatialObject ( )
protected
template<unsigned int TDimension = 3, typename TTubePointType = TubeSpatialObjectPoint< TDimension >>
virtual itk::TubeSpatialObject< TDimension, TTubePointType >::~TubeSpatialObject ( )
protectedvirtual
template<unsigned int TDimension = 3, typename TTubePointType = TubeSpatialObjectPoint< TDimension >>
itk::TubeSpatialObject< TDimension, TTubePointType >::TubeSpatialObject ( const Self )
private

TimeStamps


Member Function Documentation

template<unsigned int TDimension = 3, typename TTubePointType = TubeSpatialObjectPoint< TDimension >>
void itk::TubeSpatialObject< TDimension, TTubePointType >::Clear ( void  )
virtual

Remove the list of tube points

Reimplemented from itk::SpatialObject< TDimension >.

template<unsigned int TDimension = 3, typename TTubePointType = TubeSpatialObjectPoint< TDimension >>
bool itk::TubeSpatialObject< TDimension, TTubePointType >::ComputeLocalBoundingBox ( ) const
virtual

Compute the boundaries of the tube.

Reimplemented from itk::PointBasedSpatialObject< TDimension >.

template<unsigned int TDimension = 3, typename TTubePointType = TubeSpatialObjectPoint< TDimension >>
bool itk::TubeSpatialObject< TDimension, TTubePointType >::ComputeTangentAndNormals ( void  )

Calculate the normalized tangent

template<unsigned int TDimension = 3, typename TTubePointType = TubeSpatialObjectPoint< TDimension >>
void itk::TubeSpatialObject< TDimension, TTubePointType >::CopyInformation ( const DataObject data)
virtual

Copy the information from another SpatialObject

Reimplemented from itk::SpatialObject< TDimension >.

template<unsigned int TDimension = 3, typename TTubePointType = TubeSpatialObjectPoint< TDimension >>
virtual::itk::LightObject::Pointer itk::TubeSpatialObject< TDimension, TTubePointType >::CreateAnother ( void  ) const
virtual

Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.

Reimplemented from itk::PointBasedSpatialObject< TDimension >.

Reimplemented in itk::DTITubeSpatialObject< TDimension >, and itk::VesselTubeSpatialObject< TDimension >.

template<unsigned int TDimension = 3, typename TTubePointType = TubeSpatialObjectPoint< TDimension >>
virtual bool itk::TubeSpatialObject< TDimension, TTubePointType >::GetArtery ( ) const
virtual

Set/Get a flag for vessel which are an Artery

template<unsigned int TDimension = 3, typename TTubePointType = TubeSpatialObjectPoint< TDimension >>
virtual unsigned int itk::TubeSpatialObject< TDimension, TTubePointType >::GetEndType ( ) const
virtual

Set the type of tube end-type: 0 = flat, 1 = rounded

template<unsigned int TDimension = 3, typename TTubePointType = TubeSpatialObjectPoint< TDimension >>
virtual const char* itk::TubeSpatialObject< TDimension, TTubePointType >::GetNameOfClass ( ) const
virtual

Method for creation through the object factory.

Reimplemented from itk::PointBasedSpatialObject< TDimension >.

Reimplemented in itk::DTITubeSpatialObject< TDimension >, and itk::VesselTubeSpatialObject< TDimension >.

template<unsigned int TDimension = 3, typename TTubePointType = TubeSpatialObjectPoint< TDimension >>
virtual SizeValueType itk::TubeSpatialObject< TDimension, TTubePointType >::GetNumberOfPoints ( void  ) const
inlinevirtual

Return the number of points in the list

Reimplemented from itk::PointBasedSpatialObject< TDimension >.

Definition at line 97 of file itkTubeSpatialObject.h.

template<unsigned int TDimension = 3, typename TTubePointType = TubeSpatialObjectPoint< TDimension >>
virtual int itk::TubeSpatialObject< TDimension, TTubePointType >::GetParentPoint ( ) const
virtual

Set/Get the parent point which corresponds to the position of the point in the parent's points list

template<unsigned int TDimension = 3, typename TTubePointType = TubeSpatialObjectPoint< TDimension >>
virtual const SpatialObjectPointType* itk::TubeSpatialObject< TDimension, TTubePointType >::GetPoint ( IdentifierType  ind) const
inlinevirtual

Return a point in the list given the index.

Reimplemented from itk::PointBasedSpatialObject< TDimension >.

Definition at line 81 of file itkTubeSpatialObject.h.

template<unsigned int TDimension = 3, typename TTubePointType = TubeSpatialObjectPoint< TDimension >>
virtual SpatialObjectPointType* itk::TubeSpatialObject< TDimension, TTubePointType >::GetPoint ( IdentifierType  ind)
inlinevirtual

Return a point in the list given the index

Reimplemented from itk::PointBasedSpatialObject< TDimension >.

Definition at line 85 of file itkTubeSpatialObject.h.

template<unsigned int TDimension = 3, typename TTubePointType = TubeSpatialObjectPoint< TDimension >>
virtual PointListType& itk::TubeSpatialObject< TDimension, TTubePointType >::GetPoints ( void  )
virtual

Returns a reference to the list of the tube points.

template<unsigned int TDimension = 3, typename TTubePointType = TubeSpatialObjectPoint< TDimension >>
virtual const PointListType& itk::TubeSpatialObject< TDimension, TTubePointType >::GetPoints ( void  ) const
virtual

Returns a reference to the list of the tube points.

template<unsigned int TDimension = 3, typename TTubePointType = TubeSpatialObjectPoint< TDimension >>
virtual bool itk::TubeSpatialObject< TDimension, TTubePointType >::GetRoot ( ) const
virtual

Set/Get a flag for vessel which are a "root" of a vascular network in the scene

template<unsigned int TDimension = 3, typename TTubePointType = TubeSpatialObjectPoint< TDimension >>
bool itk::TubeSpatialObject< TDimension, TTubePointType >::IsEvaluableAt ( const PointType point,
unsigned int  depth = 0,
char *  name = NULL 
) const

Returns true if the tube is evaluable at the requested point, false otherwise.

template<unsigned int TDimension = 3, typename TTubePointType = TubeSpatialObjectPoint< TDimension >>
bool itk::TubeSpatialObject< TDimension, TTubePointType >::IsInside ( const PointType point,
unsigned int  depth,
char *  name 
) const

Returns true if the point is inside the tube, false otherwise.

template<unsigned int TDimension = 3, typename TTubePointType = TubeSpatialObjectPoint< TDimension >>
virtual bool itk::TubeSpatialObject< TDimension, TTubePointType >::IsInside ( const PointType point) const
virtual

Test whether a point is inside or outside the object For computational speed purposes, it is faster if the method does not check the name of the class and the current depth

template<unsigned int TDimension = 3, typename TTubePointType = TubeSpatialObjectPoint< TDimension >>
static Pointer itk::TubeSpatialObject< TDimension, TTubePointType >::New ( )
static

Method for creation through the object factory.

Reimplemented from itk::PointBasedSpatialObject< TDimension >.

Reimplemented in itk::DTITubeSpatialObject< TDimension >, and itk::VesselTubeSpatialObject< TDimension >.

template<unsigned int TDimension = 3, typename TTubePointType = TubeSpatialObjectPoint< TDimension >>
void itk::TubeSpatialObject< TDimension, TTubePointType >::operator= ( const Self )
private
template<unsigned int TDimension = 3, typename TTubePointType = TubeSpatialObjectPoint< TDimension >>
virtual void itk::TubeSpatialObject< TDimension, TTubePointType >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
protectedvirtual
template<unsigned int TDimension = 3, typename TTubePointType = TubeSpatialObjectPoint< TDimension >>
unsigned int itk::TubeSpatialObject< TDimension, TTubePointType >::RemoveDuplicatePoints ( unsigned int  step = 1)

Remove duplicate points

template<unsigned int TDimension = 3, typename TTubePointType = TubeSpatialObjectPoint< TDimension >>
virtual void itk::TubeSpatialObject< TDimension, TTubePointType >::RemovePoint ( IdentifierType  ind)
inlinevirtual

Remove a point in the list given the index

Definition at line 93 of file itkTubeSpatialObject.h.

template<unsigned int TDimension = 3, typename TTubePointType = TubeSpatialObjectPoint< TDimension >>
virtual void itk::TubeSpatialObject< TDimension, TTubePointType >::SetArtery ( bool  _arg)
virtual

Set/Get a flag for vessel which are an Artery

template<unsigned int TDimension = 3, typename TTubePointType = TubeSpatialObjectPoint< TDimension >>
virtual void itk::TubeSpatialObject< TDimension, TTubePointType >::SetEndType ( unsigned int  _arg)
virtual

Set the type of tube end-type: 0 = flat, 1 = rounded

template<unsigned int TDimension = 3, typename TTubePointType = TubeSpatialObjectPoint< TDimension >>
virtual void itk::TubeSpatialObject< TDimension, TTubePointType >::SetParentPoint ( int  _arg)
virtual

Set/Get the parent point which corresponds to the position of the point in the parent's points list

template<unsigned int TDimension = 3, typename TTubePointType = TubeSpatialObjectPoint< TDimension >>
virtual void itk::TubeSpatialObject< TDimension, TTubePointType >::SetPoint ( IdentifierType  ind,
const TubePointType pnt 
)
inlinevirtual

Set a point in the list at the specified index

Definition at line 89 of file itkTubeSpatialObject.h.

template<unsigned int TDimension = 3, typename TTubePointType = TubeSpatialObjectPoint< TDimension >>
virtual void itk::TubeSpatialObject< TDimension, TTubePointType >::SetPoints ( PointListType newPoints)
virtual

Set the list of tube points.

template<unsigned int TDimension = 3, typename TTubePointType = TubeSpatialObjectPoint< TDimension >>
virtual void itk::TubeSpatialObject< TDimension, TTubePointType >::SetRoot ( bool  _arg)
virtual

Set/Get a flag for vessel which are a "root" of a vascular network in the scene

template<unsigned int TDimension = 3, typename TTubePointType = TubeSpatialObjectPoint< TDimension >>
bool itk::TubeSpatialObject< TDimension, TTubePointType >::ValueAt ( const PointType point,
double &  value,
unsigned int  depth = 0,
char *  name = NULL 
) const

Returns the value of the tube at that point. Currently this function returns a binary value, but it might want to return a degree of membership in case of fuzzy tubes.


Member Data Documentation

template<unsigned int TDimension = 3, typename TTubePointType = TubeSpatialObjectPoint< TDimension >>
bool itk::TubeSpatialObject< TDimension, TTubePointType >::m_Artery
protected

Definition at line 166 of file itkTubeSpatialObject.h.

template<unsigned int TDimension = 3, typename TTubePointType = TubeSpatialObjectPoint< TDimension >>
unsigned int itk::TubeSpatialObject< TDimension, TTubePointType >::m_EndType
protected

Definition at line 163 of file itkTubeSpatialObject.h.

template<unsigned int TDimension = 3, typename TTubePointType = TubeSpatialObjectPoint< TDimension >>
unsigned long itk::TubeSpatialObject< TDimension, TTubePointType >::m_IndexToWorldTransformMTime
mutableprotected

TimeStamps

Definition at line 176 of file itkTubeSpatialObject.h.

template<unsigned int TDimension = 3, typename TTubePointType = TubeSpatialObjectPoint< TDimension >>
unsigned long itk::TubeSpatialObject< TDimension, TTubePointType >::m_OldMTime
mutableprotected

TimeStamps

Definition at line 175 of file itkTubeSpatialObject.h.

template<unsigned int TDimension = 3, typename TTubePointType = TubeSpatialObjectPoint< TDimension >>
int itk::TubeSpatialObject< TDimension, TTubePointType >::m_ParentPoint
protected

Definition at line 161 of file itkTubeSpatialObject.h.

template<unsigned int TDimension = 3, typename TTubePointType = TubeSpatialObjectPoint< TDimension >>
PointListType itk::TubeSpatialObject< TDimension, TTubePointType >::m_Points
protected

Definition at line 159 of file itkTubeSpatialObject.h.

template<unsigned int TDimension = 3, typename TTubePointType = TubeSpatialObjectPoint< TDimension >>
bool itk::TubeSpatialObject< TDimension, TTubePointType >::m_Root
protected

Definition at line 165 of file itkTubeSpatialObject.h.


The documentation for this class was generated from the following file: