18#ifndef itkPolygonSpatialObject_h
19#define itkPolygonSpatialObject_h
31template <
unsigned int TDimension = 3>
47 using typename Superclass::TransformType;
48 using typename Superclass::SpatialObjectPointType;
69 itkSetMacro(ThicknessInObjectSpace,
double);
72 itkGetConstMacro(ThicknessInObjectSpace,
double);
75 itkSetMacro(IsClosed,
bool);
78 itkGetConstMacro(IsClosed,
bool);
80 itkBooleanMacro(IsClosed);
99 using Superclass::IsInsideInObjectSpace;
112 mutable bool m_IsClosed{};
113 mutable int m_OrientationInObjectSpace{};
115 double m_ThicknessInObjectSpace{};
120#ifndef ITK_MANUAL_INSTANTIATION
121# include "itkPolygonSpatialObject.hxx"
Base class for all data objects in ITK.
Control indentation during Print() invocation.
Base class for most ITK classes.
This class serves as the base class for point-based spatial objects.
A templated class holding a geometric point in n-Dimensional space.
unsigned int ObjectDimensionType
double MeasureAreaInObjectSpace() const
int GetOrientationInObjectSpace() const
bool IsInsideInObjectSpace(const PointType &point) const override
~PolygonSpatialObject() override=default
double MeasureVolumeInObjectSpace() const
LightObject::Pointer InternalClone() const override
std::vector< PolygonPointType > PolygonPointListType
void PrintSelf(std::ostream &os, Indent indent) const override
double MeasurePerimeterInObjectSpace() const
Point used for spatial objects.
ImageBaseType::PointType PointType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
*par Constraints *The filter image with at least two dimensions and a vector *length of at least The theory supports extension to scalar but *the implementation of the itk vector classes do not **The template parameter TRealType must be floating point(float or double) or *a user-defined "real" numerical type with arithmetic operations defined *sufficient to compute derivatives. **\par Performance *This filter will automatically multithread if run with *SetUsePrincipleComponents
SizeValueType ModifiedTimeType