Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::LineSpatialObject< TDimension, PipelineDimension > Class Template Reference

Representation of a Line based on the spatial object classes. More...

#include <itkLineSpatialObject.h>

Inheritance diagram for itk::LineSpatialObject:

Inheritance graph
[legend]
Collaboration diagram for itk::LineSpatialObject< TDimension, PipelineDimension >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef LineSpatialObject Self
typedef SpatialObject< TDimension,
AffineTransform< double,
TDimension >, PipelineDimension > 
Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef double ScalarType
typedef LineSpatialObjectPoint<
TDimension > 
LinePointType
typedef LinePointType::Pointer LinePointPointer
typedef std::list< LinePointPointerPointListType
typedef Superclass::PointType PointType
typedef VectorContainer< unsigned
long, PointType
PointContainerType
typedef SmartPointer< PointContainerTypePointContainerPointer

Public Methods

virtual const char * GetClassName () const
PointListTypeGetPoints (void)
void SetPoints (PointListType &newPoints)
bool IsEvaluableAt (const PointType &point)
void ValueAt (const PointType &point, double &value)
bool IsInside (const PointType &point)
void ComputeBounds (void)
unsigned long GetMTime (void) const

Static Public Methods

Pointer New ()

Protected Methods

 LineSpatialObject ()
virtual ~LineSpatialObject ()
virtual void PrintSelf (std::ostream &os, Indent indent) const

Protected Attributes

PointListType m_Points
TimeStamp m_BoundsMTime

Detailed Description

template<unsigned int TDimension = 3, unsigned int PipelineDimension = 3>
class itk::LineSpatialObject< TDimension, PipelineDimension >

Representation of a Line based on the spatial object classes.

The Line is basically defined by a set of points.

\also LineSpatialObjectPoint

Definition at line 39 of file itkLineSpatialObject.h.


Member Typedef Documentation

template<unsigned int TDimension = 3, unsigned int PipelineDimension = 3>
typedef SmartPointer< const Self > itk::LineSpatialObject< TDimension, PipelineDimension >::ConstPointer
 

Reimplemented from itk::SpatialObject< TDimension, AffineTransform< double, TDimension >, PipelineDimension >.

Definition at line 54 of file itkLineSpatialObject.h.

template<unsigned int TDimension = 3, unsigned int PipelineDimension = 3>
typedef LinePointType::Pointer itk::LineSpatialObject< TDimension, PipelineDimension >::LinePointPointer
 

Definition at line 57 of file itkLineSpatialObject.h.

template<unsigned int TDimension = 3, unsigned int PipelineDimension = 3>
typedef LineSpatialObjectPoint< TDimension > itk::LineSpatialObject< TDimension, PipelineDimension >::LinePointType
 

Definition at line 56 of file itkLineSpatialObject.h.

template<unsigned int TDimension = 3, unsigned int PipelineDimension = 3>
typedef SmartPointer<PointContainerType> itk::LineSpatialObject< TDimension, PipelineDimension >::PointContainerPointer
 

Definition at line 61 of file itkLineSpatialObject.h.

template<unsigned int TDimension = 3, unsigned int PipelineDimension = 3>
typedef VectorContainer<unsigned long,PointType> itk::LineSpatialObject< TDimension, PipelineDimension >::PointContainerType
 

Definition at line 60 of file itkLineSpatialObject.h.

template<unsigned int TDimension = 3, unsigned int PipelineDimension = 3>
typedef SmartPointer< Self > itk::LineSpatialObject< TDimension, PipelineDimension >::Pointer
 

Reimplemented from itk::SpatialObject< TDimension, AffineTransform< double, TDimension >, PipelineDimension >.

Definition at line 53 of file itkLineSpatialObject.h.

template<unsigned int TDimension = 3, unsigned int PipelineDimension = 3>
typedef std::list< LinePointPointer > itk::LineSpatialObject< TDimension, PipelineDimension >::PointListType
 

Definition at line 58 of file itkLineSpatialObject.h.

template<unsigned int TDimension = 3, unsigned int PipelineDimension = 3>
typedef Superclass::PointType itk::LineSpatialObject< TDimension, PipelineDimension >::PointType
 

Reimplemented from itk::SpatialObject< TDimension, AffineTransform< double, TDimension >, PipelineDimension >.

Definition at line 59 of file itkLineSpatialObject.h.

template<unsigned int TDimension = 3, unsigned int PipelineDimension = 3>
typedef double itk::LineSpatialObject< TDimension, PipelineDimension >::ScalarType
 

Reimplemented from itk::SpatialObject< TDimension, AffineTransform< double, TDimension >, PipelineDimension >.

Definition at line 55 of file itkLineSpatialObject.h.

template<unsigned int TDimension = 3, unsigned int PipelineDimension = 3>
typedef LineSpatialObject itk::LineSpatialObject< TDimension, PipelineDimension >::Self
 

Standard class typedefs.

Reimplemented from itk::SpatialObject< TDimension, AffineTransform< double, TDimension >, PipelineDimension >.

Definition at line 48 of file itkLineSpatialObject.h.

template<unsigned int TDimension = 3, unsigned int PipelineDimension = 3>
typedef SpatialObject< TDimension, AffineTransform< double, TDimension>, PipelineDimension > itk::LineSpatialObject< TDimension, PipelineDimension >::Superclass
 

Reimplemented from itk::SpatialObject< TDimension, AffineTransform< double, TDimension >, PipelineDimension >.

Definition at line 52 of file itkLineSpatialObject.h.


Constructor & Destructor Documentation

template<unsigned int TDimension = 3, unsigned int PipelineDimension = 3>
itk::LineSpatialObject< TDimension, PipelineDimension >::LineSpatialObject   [protected]
 

template<unsigned int TDimension = 3, unsigned int PipelineDimension = 3>
virtual itk::LineSpatialObject< TDimension, PipelineDimension >::~LineSpatialObject   [protected, virtual]
 


Member Function Documentation

template<unsigned int TDimension = 3, unsigned int PipelineDimension = 3>
void itk::LineSpatialObject< TDimension, PipelineDimension >::ComputeBounds void    [virtual]
 

Compute the boundaries of the line.

Reimplemented from itk::SpatialObject< TDimension, AffineTransform< double, TDimension >, PipelineDimension >.

template<unsigned int TDimension = 3, unsigned int PipelineDimension = 3>
virtual const char* itk::LineSpatialObject< TDimension, PipelineDimension >::GetClassName   const [virtual]
 

Method for creation through the object factory.

Reimplemented from itk::SpatialObject< TDimension, AffineTransform< double, TDimension >, PipelineDimension >.

template<unsigned int TDimension = 3, unsigned int PipelineDimension = 3>
unsigned long itk::LineSpatialObject< TDimension, PipelineDimension >::GetMTime void    const [virtual]
 

Return the last modified time of the object, and all of its components

Reimplemented from itk::SpatialObject< TDimension, AffineTransform< double, TDimension >, PipelineDimension >.

template<unsigned int TDimension = 3, unsigned int PipelineDimension = 3>
PointListType& itk::LineSpatialObject< TDimension, PipelineDimension >::GetPoints void   
 

Returns a reference to the list of the Line points.

template<unsigned int TDimension = 3, unsigned int PipelineDimension = 3>
bool itk::LineSpatialObject< TDimension, PipelineDimension >::IsEvaluableAt const PointType   point [virtual]
 

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

Reimplemented from itk::SpatialObject< TDimension, AffineTransform< double, TDimension >, PipelineDimension >.

template<unsigned int TDimension = 3, unsigned int PipelineDimension = 3>
bool itk::LineSpatialObject< TDimension, PipelineDimension >::IsInside const PointType   point [virtual]
 

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

Reimplemented from itk::SpatialObject< TDimension, AffineTransform< double, TDimension >, PipelineDimension >.

template<unsigned int TDimension = 3, unsigned int PipelineDimension = 3>
Pointer itk::LineSpatialObject< TDimension, PipelineDimension >::New   [static]
 

Method for creation through the object factory.

Reimplemented from itk::SpatialObject< TDimension, AffineTransform< double, TDimension >, PipelineDimension >.

template<unsigned int TDimension = 3, unsigned int PipelineDimension = 3>
virtual void itk::LineSpatialObject< TDimension, PipelineDimension >::PrintSelf std::ostream &    os,
Indent    indent
const [protected, virtual]
 

Method to print the object.

Reimplemented from itk::SpatialObject< TDimension, AffineTransform< double, TDimension >, PipelineDimension >.

template<unsigned int TDimension = 3, unsigned int PipelineDimension = 3>
void itk::LineSpatialObject< TDimension, PipelineDimension >::SetPoints PointListType   newPoints
 

Set the list of line points.

template<unsigned int TDimension = 3, unsigned int PipelineDimension = 3>
void itk::LineSpatialObject< TDimension, PipelineDimension >::ValueAt const PointType   point,
double &    value
[virtual]
 

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

Reimplemented from itk::SpatialObject< TDimension, AffineTransform< double, TDimension >, PipelineDimension >.


Member Data Documentation

template<unsigned int TDimension = 3, unsigned int PipelineDimension = 3>
TimeStamp itk::LineSpatialObject< TDimension, PipelineDimension >::m_BoundsMTime [protected]
 

Reimplemented from itk::SpatialObject< TDimension, AffineTransform< double, TDimension >, PipelineDimension >.

Definition at line 97 of file itkLineSpatialObject.h.

template<unsigned int TDimension = 3, unsigned int PipelineDimension = 3>
PointListType itk::LineSpatialObject< TDimension, PipelineDimension >::m_Points [protected]
 

Definition at line 96 of file itkLineSpatialObject.h.


The documentation for this class was generated from the following file:
Generated at Wed Mar 12 01:14:24 2003 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000