# PolygonGroupOrientation Moved To PolygonSpatialObject

Gaëtan Lehmann
2011-03-01
The enum itk::PolygonGroupOrientation, which was used only in itk::PolygonSpatialObject, has been moved in itk::PolygonSpatialObject.

Wrapping an enum nested in a namespace and not in a class is quite difficult with the current wrapping system. It leads to using a "using namespace ::itk" which introduce some ambiguities in the definition of some types, like uintptr_t. msvc8 generates a build error in that case. As a consequence, enum directly in the itk namespace should be avoided. Enums inside a class and enums inside their own namespace are OK.

#include "itkPolygonGroupOrientation.h"
I3671478e408d3c40dea3bc9f62247c72157b181e
Code/SpatialObject/itkPolygonGroupOrientation.h Code/SpatialObject/itkPolygonSpatialObject.h Code/SpatialObject/itkPolygonSpatialObject.txx Testing/Code/SpatialObject/itkSpatialObjectHeaderTest.cxx Wrapping/WrapITK/Libraries/SpatialObject/itkPolygonGroupOrientation.wrap