18 #ifndef __itkVoronoiDiagram2D_h
19 #define __itkVoronoiDiagram2D_h
50 template<
typename TCoordType >
52 public Mesh< TCoordType, 2,
53 DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >
137 typedef typename PointCellLinksContainer::const_iterator
156 itkGetConstMacro(NumberOfSeeds,
unsigned int);
281 #ifndef ITK_MANUAL_INSTANTIATION
282 #include "itkVoronoiDiagram2D.hxx"
CellDataContainer::Pointer CellDataContainerPointer
Superclass::CellType CellType
virtual void PrintSelf(std::ostream &os, Indent indent) const
MeshTraits::CellsContainer CellsContainer
PointDataContainer::Pointer PointDataContainerPointer
CellDataContainer::ConstIterator CellDataContainerIterator
SmartPointer< const Self > ConstPointer
PolygonCell< CellType > PolygonCellType
Represents a line segment for a Mesh.
IdentifierType PointIdentifier
std::vector< VoronoiEdge >::iterator VoronoiEdgeIterator
VoronoiEdgeIterator EdgeEnd(void)
NeighborIdIterator NeighborIdsBegin(int seeds)
A wrapper of the STL "map" container.
CellType::MultiVisitor CellMultiVisitorType
PointsContainerPointer m_PointsContainer
static const unsigned int PointDimension
SeedsType::iterator SeedsIterator
MeshTraits::PointCellLinksContainer PointCellLinksContainer
VertexIterator VertexEnd(void)
void VoronoiRegionAddPointId(int id, int x)
itkMakeCellTraitsMacro CellTraits
BoundingBoxType::Pointer BoundingBoxPointer
Implements the 2-Dimensional Voronoi Diagram.
PointDataContainer::ConstIterator PointDataContainerIterator
Implements the N-dimensional mesh structure.
IdentifierType CellIdentifier
MeshTraits::CoordRepType CoordRepType
MeshTraits::PointDataContainer PointDataContainer
IdentifierType CellFeatureIdentifier
EdgeInfo GetEdgeEnd(int id)
TInterpolationWeight InterpolationWeightType
NeighborIdIterator NeighborIdsEnd(int seeds)
Edge::SelfAutoPointer EdgeAutoPointer
VoronoiEdgeIterator EdgeBegin(void)
void SetSeeds(int num, SeedsIterator begin)
CellsContainer::ConstIterator CellsContainerConstIterator
void AddEdge(VoronoiEdge x)
CellsContainer::Iterator CellsContainerIterator
void GetCellId(CellIdentifier cellId, CellAutoPointer &)
MeshTraits::PixelType PixelType
PointsContainer::Pointer PointsContainerPointer
CellsContainer::Pointer CellsContainerPointer
The non-const iterator type for the map.
CellLinksContainer::ConstIterator CellLinksContainerIterator
std::vector< int > INTvector
void SetBoundary(PointType vorsize)
MeshTraits::PointIdentifier PointIdentifier
The const iterator type for the map.
void operator=(const Self &)
DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > MeshTraits
MeshTraits::CellAutoPointer genericCellPointer
std::vector< VoronoiEdge > m_EdgeList
PointsContainerIterator VertexIterator
CellType::CellAutoPointer CellAutoPointer
INTvector::iterator NeighborIdIterator
CellType::CellAutoPointer CellAutoPointer
PointType m_VoronoiBoundaryOrigin
std::list< PointType > PointList
std::vector< std::vector< int > > m_CellNeighborsID
MeshTraits::CellIdentifier CellIdentifier
void AddVert(PointType x)
Represents a polygon in a Mesh.
int GetEdgeLineID(int id)
static const unsigned int MaxTopologicalDimension
void AddCellNeighbor(EdgeInfo x)
void SetOrigin(PointType vorsize)
PointsContainer::Iterator PointsContainerIterator
static const unsigned int PointDimension
MeshTraits::InterpolationWeightType InterpolationWeightType
CellInterface< CellPixelType, CellTraits > CellType
Control indentation during Print() invocation.
VertexIterator VertexBegin(void)
BoundingBox< PointIdentifier, itkGetStaticConstMacro(PointDimension), CoordRepType, PointsContainer > BoundingBoxType
PointType GetSeed(int SeedID)
unsigned int m_NumberOfSeeds
CellFeatureIdentifier CellFeatureCount
std::vector< PointType > SeedsType
SmartPointer< Self > Pointer
MeshTraits::CellDataContainer CellDataContainer
A simple structure that holds type information for a mesh and its cells.
EdgeInfo GetSeedsIDAroundEdge(VoronoiEdge *task)
PointCellLinksContainer::const_iterator PointCellLinksContainerIterator
VoronoiEdge GetEdge(int id)
Superclass::CellAutoPointer CellAutoPointer
MeshTraits::CellLinksContainer CellLinksContainer
CellLinksContainer::Pointer CellLinksContainerPointer
PointsContainer::ConstIterator PointsContainerConstIterator
A templated class holding a geometric point in n-Dimensional space.
MeshTraits::CellFeatureIdentifier CellFeatureIdentifier
MeshTraits::CellTraits CellTraits
PointType m_VoronoiBoundary
MeshTraits::PointType PointType
MeshTraits::PointsContainer PointsContainer
std::vector< PolygonCellType * > m_VoronoiRegions
void GetPoint(int pId, PointType *answer)
Base class for all data objects in ITK.
Represent and compute information about bounding boxes.
LineCell< CellType > Edge
std::deque< EdgeInfo > EdgeInfoDQ
std::vector< EdgeInfo > m_LineList
Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > > Superclass
std::set< CellIdentifier > PointCellLinksContainer
PointType GetVertex(int id)
static const unsigned int MaxTopologicalDimension