#include <itkPolygonSpatialObject.h>
Inheritance diagram for itk::PolygonSpatialObject< TDimension >:
Public Types | |
typedef PolygonSpatialObject< TDimension > | Self |
typedef BlobSpatialObject< TDimension > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::PointType | PointType |
typedef Superclass::TransformType | TransformType |
typedef Superclass::PointListType | PointListType |
typedef Superclass::BlobPointType | BlobPointType |
Public Member Functions | |
virtual const char * | GetNameOfClass () 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) |
virtual bool | IsInside (const PointType &point, unsigned int depth, char *name) const |
virtual bool | IsInside (const PointType &point) const |
Static Public Member Functions | |
Pointer | New () |
|
Reimplemented from itk::BlobSpatialObject< TDimension >. Definition at line 36 of file itkPolygonSpatialObject.h. |
|
Reimplemented from itk::BlobSpatialObject< TDimension >. Definition at line 32 of file itkPolygonSpatialObject.h. |
|
Reimplemented from itk::BlobSpatialObject< TDimension >. Definition at line 31 of file itkPolygonSpatialObject.h. |
|
Reimplemented from itk::BlobSpatialObject< TDimension >. Definition at line 35 of file itkPolygonSpatialObject.h. |
|
Reimplemented from itk::BlobSpatialObject< TDimension >. Definition at line 33 of file itkPolygonSpatialObject.h. Referenced by itk::PolygonSpatialObject< TDimension >::IsInside(). |
|
Standard class typedefs. Reimplemented from itk::BlobSpatialObject< TDimension >. Definition at line 29 of file itkPolygonSpatialObject.h. |
|
Reimplemented from itk::BlobSpatialObject< TDimension >. Definition at line 30 of file itkPolygonSpatialObject.h. |
|
Reimplemented from itk::BlobSpatialObject< TDimension >. Definition at line 34 of file itkPolygonSpatialObject.h. |
|
Method adds a point to the end of the strand |
|
Method returns the Point closest to the given point |
|
Method deletes a point from the strand |
|
Method for creation through the object factory. Reimplemented from itk::BlobSpatialObject< TDimension >. |
|
Method gets the thickness of the current strand |
|
Method inserts point after point1 |
|
Returns if the polygon is closed |
|
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 Reimplemented from itk::BlobSpatialObject< TDimension >. Definition at line 93 of file itkPolygonSpatialObject.h. References itk::PolygonSpatialObject< TDimension >::IsInside(), NULL, and itk::PolygonSpatialObject< TDimension >::PointType. |
|
Test whether a point is inside or outside the object. Reimplemented from itk::BlobSpatialObject< TDimension >. Referenced by itk::PolygonSpatialObject< TDimension >::IsInside(). |
|
Method returns area of polygon described by points |
|
Method returns the length of the perimeter |
|
Method returns the volume of the strand |
|
Method for creation through the object factory. Reimplemented from itk::BlobSpatialObject< TDimension >. |
|
Returns the number of points of the polygon |
|
Method returning plane alignment of strand |
|
Method removes the series of points between startpoint and endpoint |
|
Method replaces a point |
|
Method sets the thickness of the current strand |