18 #ifndef itkPolygonSpatialObject_h
19 #define itkPolygonSpatialObject_h
31 template <
unsigned int TDimension = 3>
47 using typename Superclass::TransformType;
48 using typename Superclass::SpatialObjectPointType;
66 GetOrientationInObjectSpace()
const;
69 itkSetMacro(ThicknessInObjectSpace,
double);
72 itkGetConstMacro(ThicknessInObjectSpace,
double);
75 itkSetMacro(IsClosed,
bool);
78 itkGetConstMacro(IsClosed,
bool);
80 itkBooleanMacro(IsClosed);
84 MeasureAreaInObjectSpace()
const;
88 MeasureVolumeInObjectSpace()
const;
92 MeasurePerimeterInObjectSpace()
const;
99 using Superclass::IsInsideInObjectSpace;
106 PrintSelf(std::ostream & os,
Indent indent)
const override;
109 InternalClone()
const override;
112 mutable bool m_IsClosed{};
113 mutable int m_OrientationInObjectSpace{};
115 double m_ThicknessInObjectSpace{};
120 #ifndef ITK_MANUAL_INSTANTIATION
121 # include "itkPolygonSpatialObject.hxx"
124 #endif // itkPolygonSpatialObject_h