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

itk::PolygonSpatialObject< TDimension > Class Template Reference

#include <itkPolygonSpatialObject.h>

Inheritance diagram for itk::PolygonSpatialObject< TDimension >:

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

Collaboration graph
[legend]
List of all members.

[NOHEADER]

virtual bool IsInside (const PointType &point, unsigned int depth=0, char *name=NULL) const

Public Types

typedef PolygonSpatialObject<
TDimension > 
Self
typedef BlobSpatialObject<
TDimension > 
Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef Superclass::PointType PointType
typedef Superclass::PointListType PointListType
typedef Superclass::BlobPointType BlobPointType

Public Member Functions

virtual const char * GetClassName () const
PolygonGroupOrientation Plane ()
virtual void SetThickness (double _arg)
virtual double GetThickness ()
bool IsClosed ()
unsigned int NumberOfPoints () const
PointType ClosestPoint (PointType &curPoint)
double MeasureArea ()
double MeasureVolume ()
double MeasurePerimeter ()
bool DeletePoint (PointType &pointToDelete)
bool AddPoint (PointType &pointToAdd)
bool InsertPoint (PointType &point1, PointType &pointToAdd)
bool ReplacePoint (PointType &oldpoint, PointType &newPoint)
bool RemoveSegment (PointType &startpoint, PointType &endPoint)

Static Public Member Functions

Pointer New ()

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


Member Typedef Documentation

template<unsigned int TDimension = 3>
typedef Superclass::BlobPointType itk::PolygonSpatialObject< TDimension >::BlobPointType
 

Reimplemented from itk::BlobSpatialObject< TDimension >.

Definition at line 35 of file itkPolygonSpatialObject.h.

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

Reimplemented from itk::BlobSpatialObject< TDimension >.

Definition at line 32 of file itkPolygonSpatialObject.h.

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

Reimplemented from itk::BlobSpatialObject< TDimension >.

Definition at line 31 of file itkPolygonSpatialObject.h.

template<unsigned int TDimension = 3>
typedef Superclass::PointListType itk::PolygonSpatialObject< TDimension >::PointListType
 

Reimplemented from itk::BlobSpatialObject< TDimension >.

Definition at line 34 of file itkPolygonSpatialObject.h.

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

Reimplemented from itk::BlobSpatialObject< TDimension >.

Definition at line 33 of file itkPolygonSpatialObject.h.

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

Standard class typedefs.

Reimplemented from itk::BlobSpatialObject< TDimension >.

Definition at line 29 of file itkPolygonSpatialObject.h.

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

Reimplemented from itk::BlobSpatialObject< TDimension >.

Definition at line 30 of file itkPolygonSpatialObject.h.


Member Function Documentation

template<unsigned int TDimension = 3>
bool itk::PolygonSpatialObject< TDimension >::AddPoint PointType pointToAdd  ) 
 

Method adds a point to the end of the strand

template<unsigned int TDimension = 3>
PointType itk::PolygonSpatialObject< TDimension >::ClosestPoint PointType curPoint  ) 
 

Method returns the Point closest to the given point

template<unsigned int TDimension = 3>
bool itk::PolygonSpatialObject< TDimension >::DeletePoint PointType pointToDelete  ) 
 

Method deletes a point from the strand

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

Method for creation through the object factory.

Reimplemented from itk::BlobSpatialObject< TDimension >.

template<unsigned int TDimension = 3>
virtual double itk::PolygonSpatialObject< TDimension >::GetThickness  )  [virtual]
 

Method gets the thickness of the current strand

template<unsigned int TDimension = 3>
bool itk::PolygonSpatialObject< TDimension >::InsertPoint PointType point1,
PointType pointToAdd
 

Method inserts point after point1

template<unsigned int TDimension = 3>
bool itk::PolygonSpatialObject< TDimension >::IsClosed  ) 
 

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

Test whether a point is inside or outside the object.

Reimplemented from itk::BlobSpatialObject< TDimension >.

template<unsigned int TDimension = 3>
double itk::PolygonSpatialObject< TDimension >::MeasureArea  ) 
 

Method returns area of polygon described by points

template<unsigned int TDimension = 3>
double itk::PolygonSpatialObject< TDimension >::MeasurePerimeter  ) 
 

Method returns the length of the perimeter

template<unsigned int TDimension = 3>
double itk::PolygonSpatialObject< TDimension >::MeasureVolume  ) 
 

Method returns the volume of the strand

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

Method for creation through the object factory.

Reimplemented from itk::BlobSpatialObject< TDimension >.

template<unsigned int TDimension = 3>
unsigned int itk::PolygonSpatialObject< TDimension >::NumberOfPoints  )  const
 

template<unsigned int TDimension = 3>
PolygonGroupOrientation itk::PolygonSpatialObject< TDimension >::Plane  ) 
 

Method returning plane alignment of strand

template<unsigned int TDimension = 3>
bool itk::PolygonSpatialObject< TDimension >::RemoveSegment PointType startpoint,
PointType endPoint
 

Method removes the series of points between startpoint and endpoint

template<unsigned int TDimension = 3>
bool itk::PolygonSpatialObject< TDimension >::ReplacePoint PointType oldpoint,
PointType newPoint
 

Method replaces a point

template<unsigned int TDimension = 3>
virtual void itk::PolygonSpatialObject< TDimension >::SetThickness double  _arg  )  [virtual]
 

Method sets the thickness of the current strand


The documentation for this class was generated from the following file:
Generated at Sat Mar 31 03:03:31 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000