ITK
4.2.0
Insight Segmentation and Registration Toolkit
|
#include <itkTubeSpatialObject.h>
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 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 BoundingBoxType * | GetBounds () |
virtual const unsigned int & | GetDimension () |
virtual const TransformType * | GetInternalInverseTransform () |
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 |
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.
|
protected |
|
protectedvirtual |
|
private |
TimeStamps
|
virtual |
Remove the list of tube points
Reimplemented from itk::SpatialObject< TDimension >.
|
virtual |
Compute the boundaries of the tube.
Reimplemented from itk::PointBasedSpatialObject< TDimension >.
bool itk::TubeSpatialObject< TDimension, TTubePointType >::ComputeTangentAndNormals | ( | void | ) |
Calculate the normalized tangent
|
virtual |
Copy the information from another SpatialObject
Reimplemented from itk::SpatialObject< TDimension >.
|
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 |
Set/Get a flag for vessel which are an Artery
|
virtual |
Set the type of tube end-type: 0 = flat, 1 = rounded
|
virtual |
Method for creation through the object factory.
Reimplemented from itk::PointBasedSpatialObject< TDimension >.
Reimplemented in itk::DTITubeSpatialObject< TDimension >, and itk::VesselTubeSpatialObject< TDimension >.
|
inlinevirtual |
Return the number of points in the list
Reimplemented from itk::PointBasedSpatialObject< TDimension >.
Definition at line 97 of file itkTubeSpatialObject.h.
|
virtual |
Set/Get the parent point which corresponds to the position of the point in the parent's points list
|
inlinevirtual |
Return a point in the list given the index.
Reimplemented from itk::PointBasedSpatialObject< TDimension >.
Definition at line 81 of file itkTubeSpatialObject.h.
|
inlinevirtual |
Return a point in the list given the index
Reimplemented from itk::PointBasedSpatialObject< TDimension >.
Definition at line 85 of file itkTubeSpatialObject.h.
|
virtual |
Returns a reference to the list of the tube points.
|
virtual |
Returns a reference to the list of the tube points.
|
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 |
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 |
Method for creation through the object factory.
Reimplemented from itk::PointBasedSpatialObject< TDimension >.
Reimplemented in itk::DTITubeSpatialObject< TDimension >, and itk::VesselTubeSpatialObject< TDimension >.
|
private |
TimeStamps
Reimplemented from itk::PointBasedSpatialObject< TDimension >.
Reimplemented in itk::DTITubeSpatialObject< TDimension >, and itk::VesselTubeSpatialObject< TDimension >.
|
protectedvirtual |
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
|
inlinevirtual |
Remove a point in the list given the index
Definition at line 93 of file itkTubeSpatialObject.h.
|
virtual |
Set/Get a flag for vessel which are an Artery
|
virtual |
Set the type of tube end-type: 0 = flat, 1 = rounded
|
virtual |
Set/Get the parent point which corresponds to the position of the point in the parent's points list
|
inlinevirtual |
Set a point in the list at the specified index
Definition at line 89 of file itkTubeSpatialObject.h.
|
virtual |
Set the list of tube points.
|
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.
|
protected |
Definition at line 166 of file itkTubeSpatialObject.h.
|
protected |
Definition at line 163 of file itkTubeSpatialObject.h.
|
mutableprotected |
TimeStamps
Definition at line 176 of file itkTubeSpatialObject.h.
|
mutableprotected |
TimeStamps
Definition at line 175 of file itkTubeSpatialObject.h.
|
protected |
Definition at line 161 of file itkTubeSpatialObject.h.
|
protected |
Definition at line 159 of file itkTubeSpatialObject.h.
|
protected |
Definition at line 165 of file itkTubeSpatialObject.h.