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

itk::BlobSpatialObject< TDimension > Class Template Reference

Spatial object representing a potentially amorphous object. More...

#include <itkBlobSpatialObject.h>

Inheritance diagram for itk::BlobSpatialObject< TDimension >:

Inheritance graph
[legend]
Collaboration diagram for itk::BlobSpatialObject< TDimension >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef BlobSpatialObject Self
typedef PointBasedSpatialObject<
TDimension > 
Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef double ScalarType
typedef SpatialObjectPoint<
TDimension > 
BlobPointType
typedef std::vector< BlobPointTypePointListType
typedef Superclass::PointType PointType
typedef Superclass::SpatialObjectPointType SpatialObjectPointType
typedef Superclass::TransformType TransformType
typedef VectorContainer< unsigned
long, PointType
PointContainerType
typedef SmartPointer< PointContainerTypePointContainerPointer

Public Member Functions

virtual const char * GetClassName () const
PointListTypeGetPoints (void)
const PointListTypeGetPoints (void) const
void SetPoints (PointListType &newPoints)
const SpatialObjectPointTypeGetPoint (unsigned long id) const
unsigned long GetNumberOfPoints (void) const
bool IsEvaluableAt (const PointType &point, unsigned int depth=0, char *name=NULL) const
bool ValueAt (const PointType &point, double &value, unsigned int depth=0, char *name=NULL) const
bool IsInside (const PointType &point, unsigned int depth=0, char *name=NULL) const
bool ComputeBoundingBox () const

Static Public Member Functions

Pointer New ()

Protected Member Functions

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

Protected Attributes

PointListType m_Points

Detailed Description

template<unsigned int TDimension = 3>
class itk::BlobSpatialObject< TDimension >

Spatial object representing a potentially amorphous object.

The BlobSpatialObject is a discretized representation of a ``blob'', which can be taken to be an arbitrary, possibly amorphous shape. The representation is a list of the points (voxel centers) contained in the object. This can be thought of as an alternate way to represent a binary image.

See also:
SpatialObjectPoint

Definition at line 43 of file itkBlobSpatialObject.h.


Member Typedef Documentation

template<unsigned int TDimension = 3>
typedef SpatialObjectPoint< TDimension > itk::BlobSpatialObject< TDimension >::BlobPointType
 

Reimplemented in itk::PolygonSpatialObject< TDimension >.

Definition at line 54 of file itkBlobSpatialObject.h.

template<unsigned int TDimension = 3>
typedef SmartPointer< const Self > itk::BlobSpatialObject< TDimension >::ConstPointer
 

Reimplemented from itk::PointBasedSpatialObject< TDimension >.

Reimplemented in itk::PolygonSpatialObject< TDimension >.

Definition at line 52 of file itkBlobSpatialObject.h.

template<unsigned int TDimension = 3>
typedef SmartPointer<PointContainerType> itk::BlobSpatialObject< TDimension >::PointContainerPointer
 

Definition at line 60 of file itkBlobSpatialObject.h.

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

Definition at line 59 of file itkBlobSpatialObject.h.

template<unsigned int TDimension = 3>
typedef SmartPointer< Self > itk::BlobSpatialObject< TDimension >::Pointer
 

Reimplemented from itk::PointBasedSpatialObject< TDimension >.

Reimplemented in itk::PolygonSpatialObject< TDimension >.

Definition at line 51 of file itkBlobSpatialObject.h.

template<unsigned int TDimension = 3>
typedef std::vector< BlobPointType > itk::BlobSpatialObject< TDimension >::PointListType
 

Reimplemented in itk::PolygonSpatialObject< TDimension >.

Definition at line 55 of file itkBlobSpatialObject.h.

template<unsigned int TDimension = 3>
typedef Superclass::PointType itk::BlobSpatialObject< TDimension >::PointType
 

Reimplemented from itk::PointBasedSpatialObject< TDimension >.

Reimplemented in itk::PolygonSpatialObject< TDimension >.

Definition at line 56 of file itkBlobSpatialObject.h.

template<unsigned int TDimension = 3>
typedef double itk::BlobSpatialObject< TDimension >::ScalarType
 

Reimplemented from itk::PointBasedSpatialObject< TDimension >.

Definition at line 53 of file itkBlobSpatialObject.h.

template<unsigned int TDimension = 3>
typedef BlobSpatialObject itk::BlobSpatialObject< TDimension >::Self
 

Standard class typedefs.

Reimplemented from itk::PointBasedSpatialObject< TDimension >.

Reimplemented in itk::PolygonSpatialObject< TDimension >.

Definition at line 49 of file itkBlobSpatialObject.h.

template<unsigned int TDimension = 3>
typedef Superclass::SpatialObjectPointType itk::BlobSpatialObject< TDimension >::SpatialObjectPointType
 

Reimplemented from itk::PointBasedSpatialObject< TDimension >.

Definition at line 57 of file itkBlobSpatialObject.h.

Referenced by itk::BlobSpatialObject< TDimension >::GetPoint().

template<unsigned int TDimension = 3>
typedef PointBasedSpatialObject< TDimension > itk::BlobSpatialObject< TDimension >::Superclass
 

Reimplemented from itk::PointBasedSpatialObject< TDimension >.

Reimplemented in itk::PolygonSpatialObject< TDimension >.

Definition at line 50 of file itkBlobSpatialObject.h.

template<unsigned int TDimension = 3>
typedef Superclass::TransformType itk::BlobSpatialObject< TDimension >::TransformType
 

Reimplemented from itk::PointBasedSpatialObject< TDimension >.

Definition at line 58 of file itkBlobSpatialObject.h.


Constructor & Destructor Documentation

template<unsigned int TDimension = 3>
itk::BlobSpatialObject< TDimension >::BlobSpatialObject  )  [protected]
 

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


Member Function Documentation

template<unsigned int TDimension = 3>
bool itk::BlobSpatialObject< TDimension >::ComputeBoundingBox  )  const [virtual]
 

Compute the boundaries of the Blob.

Reimplemented from itk::SpatialObject< TDimension >.

template<unsigned int TDimension = 3>
virtual const char* itk::BlobSpatialObject< TDimension >::GetClassName  )  const [virtual]
 

Method for creation through the object factory.

Reimplemented from itk::PointBasedSpatialObject< TDimension >.

Reimplemented in itk::PolygonSpatialObject< TDimension >.

template<unsigned int TDimension = 3>
unsigned long itk::BlobSpatialObject< TDimension >::GetNumberOfPoints void   )  const [inline, virtual]
 

Return the number of points in the list

Reimplemented from itk::PointBasedSpatialObject< TDimension >.

Definition at line 81 of file itkBlobSpatialObject.h.

References itk::BlobSpatialObject< TDimension >::m_Points.

template<unsigned int TDimension = 3>
const SpatialObjectPointType* itk::BlobSpatialObject< TDimension >::GetPoint unsigned long  id  )  const [inline, virtual]
 

Return a point in the list given the index

Reimplemented from itk::PointBasedSpatialObject< TDimension >.

Definition at line 78 of file itkBlobSpatialObject.h.

References itk::BlobSpatialObject< TDimension >::m_Points, and itk::BlobSpatialObject< TDimension >::SpatialObjectPointType.

template<unsigned int TDimension = 3>
const PointListType& itk::BlobSpatialObject< TDimension >::GetPoints void   )  const
 

Returns a reference to the list of the Blob points.

template<unsigned int TDimension = 3>
PointListType& itk::BlobSpatialObject< TDimension >::GetPoints void   ) 
 

Returns a reference to the list of the Blob points.

template<unsigned int TDimension = 3>
bool itk::BlobSpatialObject< TDimension >::IsEvaluableAt const PointType point,
unsigned int  depth = 0,
char *  name = NULL
const [virtual]
 

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

Reimplemented from itk::SpatialObject< TDimension >.

template<unsigned int TDimension = 3>
bool itk::BlobSpatialObject< TDimension >::IsInside const PointType point,
unsigned int  depth = 0,
char *  name = NULL
const [virtual]
 

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

Reimplemented from itk::SpatialObject< TDimension >.

Reimplemented in itk::PolygonSpatialObject< TDimension >.

template<unsigned int TDimension = 3>
Pointer itk::BlobSpatialObject< TDimension >::New  )  [static]
 

Method for creation through the object factory.

Reimplemented from itk::PointBasedSpatialObject< TDimension >.

Reimplemented in itk::PolygonSpatialObject< TDimension >.

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

Method to print the object.

Reimplemented from itk::PointBasedSpatialObject< TDimension >.

template<unsigned int TDimension = 3>
void itk::BlobSpatialObject< TDimension >::SetPoints PointListType newPoints  ) 
 

Set the list of Blob points.

template<unsigned int TDimension = 3>
bool itk::BlobSpatialObject< TDimension >::ValueAt const PointType point,
double &  value,
unsigned int  depth = 0,
char *  name = NULL
const [virtual]
 

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

Reimplemented from itk::SpatialObject< TDimension >.


Member Data Documentation

template<unsigned int TDimension = 3>
PointListType itk::BlobSpatialObject< TDimension >::m_Points [protected]
 

Definition at line 104 of file itkBlobSpatialObject.h.

Referenced by itk::BlobSpatialObject< TDimension >::GetNumberOfPoints(), and itk::BlobSpatialObject< TDimension >::GetPoint().


The documentation for this class was generated from the following file:
Generated at Sun Apr 1 03:15:59 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000