ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkTubeSpatialObject.h>
Public Types | |
typedef Superclass::BoundingBoxType | BoundingBoxType |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::CovariantVectorType | CovariantVectorType |
typedef SmartPointer < PointContainerType > | PointContainerPointer |
typedef VectorContainer < IdentifierType, PointType > | PointContainerType |
typedef SmartPointer< Self > | Pointer |
typedef PointListType * | PointListPointer |
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 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 SpatialObjectPointType * | GetPoint (IdentifierType ind) |
virtual PointListType & | GetPoints (void) |
virtual const PointListType & | GetPoints (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 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 &) |
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.
Definition at line 43 of file itkTubeSpatialObject.h.
typedef Superclass::BoundingBoxType itk::TubeSpatialObject< TDimension, TTubePointType >::BoundingBoxType |
Reimplemented from itk::SpatialObject< TDimension >.
Reimplemented in itk::DTITubeSpatialObject< TDimension >, and itk::VesselTubeSpatialObject< TDimension >.
Definition at line 63 of file itkTubeSpatialObject.h.
typedef SmartPointer< const Self > itk::TubeSpatialObject< TDimension, TTubePointType >::ConstPointer |
Reimplemented from itk::PointBasedSpatialObject< TDimension >.
Reimplemented in itk::DTITubeSpatialObject< TDimension >, and itk::VesselTubeSpatialObject< TDimension >.
Definition at line 51 of file itkTubeSpatialObject.h.
typedef Superclass::CovariantVectorType itk::TubeSpatialObject< TDimension, TTubePointType >::CovariantVectorType |
Reimplemented from itk::PointBasedSpatialObject< TDimension >.
Reimplemented in itk::DTITubeSpatialObject< TDimension >, and itk::VesselTubeSpatialObject< TDimension >.
Definition at line 62 of file itkTubeSpatialObject.h.
typedef SmartPointer< PointContainerType > itk::TubeSpatialObject< TDimension, TTubePointType >::PointContainerPointer |
Reimplemented in itk::DTITubeSpatialObject< TDimension >, and itk::VesselTubeSpatialObject< TDimension >.
Definition at line 60 of file itkTubeSpatialObject.h.
typedef VectorContainer< IdentifierType, PointType > itk::TubeSpatialObject< TDimension, TTubePointType >::PointContainerType |
Reimplemented in itk::DTITubeSpatialObject< TDimension >, and itk::VesselTubeSpatialObject< TDimension >.
Definition at line 59 of file itkTubeSpatialObject.h.
typedef SmartPointer< Self > itk::TubeSpatialObject< TDimension, TTubePointType >::Pointer |
Reimplemented from itk::PointBasedSpatialObject< TDimension >.
Reimplemented in itk::DTITubeSpatialObject< TDimension >, and itk::VesselTubeSpatialObject< TDimension >.
Definition at line 50 of file itkTubeSpatialObject.h.
typedef PointListType* itk::TubeSpatialObject< TDimension, TTubePointType >::PointListPointer |
Definition at line 55 of file itkTubeSpatialObject.h.
typedef std::vector< TubePointType > itk::TubeSpatialObject< TDimension, TTubePointType >::PointListType |
Reimplemented in itk::DTITubeSpatialObject< TDimension >, and itk::VesselTubeSpatialObject< TDimension >.
Definition at line 54 of file itkTubeSpatialObject.h.
typedef Superclass::PointType itk::TubeSpatialObject< TDimension, TTubePointType >::PointType |
Reimplemented from itk::PointBasedSpatialObject< TDimension >.
Reimplemented in itk::DTITubeSpatialObject< TDimension >, and itk::VesselTubeSpatialObject< TDimension >.
Definition at line 56 of file itkTubeSpatialObject.h.
typedef double itk::TubeSpatialObject< TDimension, TTubePointType >::ScalarType |
Reimplemented from itk::PointBasedSpatialObject< TDimension >.
Definition at line 52 of file itkTubeSpatialObject.h.
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.
typedef Superclass::SpatialObjectPointType itk::TubeSpatialObject< TDimension, TTubePointType >::SpatialObjectPointType |
Reimplemented from itk::PointBasedSpatialObject< TDimension >.
Reimplemented in itk::DTITubeSpatialObject< TDimension >, and itk::VesselTubeSpatialObject< TDimension >.
Definition at line 58 of file itkTubeSpatialObject.h.
typedef PointBasedSpatialObject< TDimension > itk::TubeSpatialObject< TDimension, TTubePointType >::Superclass |
Reimplemented from itk::PointBasedSpatialObject< TDimension >.
Reimplemented in itk::DTITubeSpatialObject< TDimension >, and itk::VesselTubeSpatialObject< TDimension >.
Definition at line 49 of file itkTubeSpatialObject.h.
typedef Superclass::TransformType itk::TubeSpatialObject< TDimension, TTubePointType >::TransformType |
Reimplemented from itk::PointBasedSpatialObject< TDimension >.
Reimplemented in itk::DTITubeSpatialObject< TDimension >, and itk::VesselTubeSpatialObject< TDimension >.
Definition at line 57 of file itkTubeSpatialObject.h.
typedef TTubePointType itk::TubeSpatialObject< TDimension, TTubePointType >::TubePointType |
Reimplemented in itk::DTITubeSpatialObject< TDimension >, and itk::VesselTubeSpatialObject< TDimension >.
Definition at line 53 of file itkTubeSpatialObject.h.
typedef Superclass::VectorType itk::TubeSpatialObject< TDimension, TTubePointType >::VectorType |
Reimplemented from itk::PointBasedSpatialObject< TDimension >.
Reimplemented in itk::DTITubeSpatialObject< TDimension >, and itk::VesselTubeSpatialObject< TDimension >.
Definition at line 61 of file itkTubeSpatialObject.h.
itk::TubeSpatialObject< TDimension, TTubePointType >::TubeSpatialObject | ( | ) | [protected] |
virtual itk::TubeSpatialObject< TDimension, TTubePointType >::~TubeSpatialObject | ( | ) | [protected, virtual] |
itk::TubeSpatialObject< TDimension, TTubePointType >::TubeSpatialObject | ( | const Self & | ) | [private] |
TimeStamps
void itk::TubeSpatialObject< TDimension, TTubePointType >::Clear | ( | void | ) | [virtual] |
Remove the list of tube points
Reimplemented from itk::SpatialObject< TDimension >.
bool itk::TubeSpatialObject< TDimension, TTubePointType >::ComputeLocalBoundingBox | ( | ) | const [virtual] |
Compute the boundaries of the tube.
Reimplemented from itk::PointBasedSpatialObject< TDimension >.
bool itk::TubeSpatialObject< TDimension, TTubePointType >::ComputeTangentAndNormals | ( | void | ) |
Calculate the normalized tangent
void itk::TubeSpatialObject< TDimension, TTubePointType >::CopyInformation | ( | const DataObject * | data | ) | [virtual] |
Copy the information from another SpatialObject
Reimplemented from itk::SpatialObject< 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 >.
virtual bool itk::TubeSpatialObject< TDimension, TTubePointType >::GetArtery | ( | ) | const [virtual] |
Set/Get a flag for vessel which are an Artery
virtual unsigned int itk::TubeSpatialObject< TDimension, TTubePointType >::GetEndType | ( | ) | const [virtual] |
Set the type of tube end-type: 0 = flat, 1 = rounded
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 >.
virtual SizeValueType itk::TubeSpatialObject< TDimension, TTubePointType >::GetNumberOfPoints | ( | void | ) | const [inline, virtual] |
Return the number of points in the list
Reimplemented from itk::PointBasedSpatialObject< TDimension >.
Definition at line 97 of file itkTubeSpatialObject.h.
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
virtual const SpatialObjectPointType* itk::TubeSpatialObject< TDimension, TTubePointType >::GetPoint | ( | IdentifierType | ind | ) | const [inline, virtual] |
Return a point in the list given the index.
Reimplemented from itk::PointBasedSpatialObject< TDimension >.
Definition at line 81 of file itkTubeSpatialObject.h.
virtual SpatialObjectPointType* itk::TubeSpatialObject< TDimension, TTubePointType >::GetPoint | ( | IdentifierType | ind | ) | [inline, virtual] |
Return a point in the list given the index
Reimplemented from itk::PointBasedSpatialObject< TDimension >.
Definition at line 85 of file itkTubeSpatialObject.h.
virtual PointListType& itk::TubeSpatialObject< TDimension, TTubePointType >::GetPoints | ( | void | ) | [virtual] |
Returns a reference to the list of the tube points.
virtual const PointListType& itk::TubeSpatialObject< TDimension, TTubePointType >::GetPoints | ( | void | ) | const [virtual] |
Returns a reference to the list of the tube points.
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
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.
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.
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
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 >.
void itk::TubeSpatialObject< TDimension, TTubePointType >::operator= | ( | const Self & | ) | [private] |
TimeStamps
Reimplemented from itk::PointBasedSpatialObject< TDimension >.
Reimplemented in itk::DTITubeSpatialObject< TDimension >, and itk::VesselTubeSpatialObject< TDimension >.
virtual void itk::TubeSpatialObject< TDimension, TTubePointType >::PrintSelf | ( | std::ostream & | os, |
Indent | indent | ||
) | const [protected, virtual] |
Method to print the object.
Reimplemented from itk::PointBasedSpatialObject< TDimension >.
Reimplemented in itk::DTITubeSpatialObject< TDimension >, and itk::VesselTubeSpatialObject< TDimension >.
unsigned int itk::TubeSpatialObject< TDimension, TTubePointType >::RemoveDuplicatePoints | ( | unsigned int | step = 1 | ) |
Remove duplicate points
virtual void itk::TubeSpatialObject< TDimension, TTubePointType >::RemovePoint | ( | IdentifierType | ind | ) | [inline, virtual] |
Remove a point in the list given the index
Definition at line 93 of file itkTubeSpatialObject.h.
virtual void itk::TubeSpatialObject< TDimension, TTubePointType >::SetArtery | ( | bool | _arg | ) | [virtual] |
Set/Get a flag for vessel which are an Artery
virtual void itk::TubeSpatialObject< TDimension, TTubePointType >::SetEndType | ( | unsigned int | _arg | ) | [virtual] |
Set the type of tube end-type: 0 = flat, 1 = rounded
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
virtual void itk::TubeSpatialObject< TDimension, TTubePointType >::SetPoint | ( | IdentifierType | ind, |
const TubePointType & | pnt | ||
) | [inline, virtual] |
Set a point in the list at the specified index
Definition at line 89 of file itkTubeSpatialObject.h.
virtual void itk::TubeSpatialObject< TDimension, TTubePointType >::SetPoints | ( | PointListType & | newPoints | ) | [virtual] |
Set the list of tube points.
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
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.
bool itk::TubeSpatialObject< TDimension, TTubePointType >::m_Artery [protected] |
Definition at line 166 of file itkTubeSpatialObject.h.
unsigned int itk::TubeSpatialObject< TDimension, TTubePointType >::m_EndType [protected] |
Definition at line 163 of file itkTubeSpatialObject.h.
unsigned long itk::TubeSpatialObject< TDimension, TTubePointType >::m_IndexToWorldTransformMTime [mutable, protected] |
TimeStamps
Definition at line 176 of file itkTubeSpatialObject.h.
unsigned long itk::TubeSpatialObject< TDimension, TTubePointType >::m_OldMTime [mutable, protected] |
TimeStamps
Definition at line 175 of file itkTubeSpatialObject.h.
int itk::TubeSpatialObject< TDimension, TTubePointType >::m_ParentPoint [protected] |
Definition at line 161 of file itkTubeSpatialObject.h.
PointListType itk::TubeSpatialObject< TDimension, TTubePointType >::m_Points [protected] |
Definition at line 159 of file itkTubeSpatialObject.h.
bool itk::TubeSpatialObject< TDimension, TTubePointType >::m_Root [protected] |
Definition at line 165 of file itkTubeSpatialObject.h.