18 #ifndef itkPolygonSpatialObject_h
19 #define itkPolygonSpatialObject_h
29 template<
unsigned int TDimension = 3 >
58 } PolygonGroupOrientation;
61 PolygonGroupOrientation Plane()
const;
64 itkSetMacro(Thickness,
double);
67 itkGetMacro(Thickness,
double);
70 bool IsClosed()
const;
73 unsigned int NumberOfPoints()
const;
79 double MeasureArea()
const;
82 double MeasureVolume()
const;
85 double MeasurePerimeter()
const;
88 bool DeletePoint(
const PointType & pointToDelete);
91 bool AddPoint(
const PointType & pointToAdd);
103 virtual bool IsInside(
const PointType & point,
105 char *name)
const ITK_OVERRIDE;
110 virtual bool IsInside(
const PointType & point)
const;
113 void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
122 m_Orientation = Unknown;
127 #ifndef ITK_MANUAL_INSTANTIATION
128 #include "itkPolygonSpatialObject.hxx"
131 #endif // itkPolygonSpatialObject_h
Superclass::PointListType PointListType
Spatial object representing a potentially amorphous object.
Superclass::BlobPointType BlobPointType
SmartPointer< Self > Pointer
Superclass::PointType PointType
PolygonSpatialObject< TDimension > Self
Superclass::TransformType TransformType
SmartPointer< const Self > ConstPointer
ImageBaseType::PointType PointType
PolygonGroupOrientation
enumerates the possible spatial orientations
PolygonGroupOrientation m_Orientation
Control indentation during Print() invocation.
Base class for all data objects in ITK.
BlobSpatialObject< TDimension > Superclass