#include <itkVoronoiDiagram2D.h>
Inheritance diagram for itk::VoronoiDiagram2D:
Public Types | |
typedef VoronoiDiagram2D | Self |
typedef Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > | MeshTraits |
typedef std::vector< VoronoiEdge >::iterator | VoronoiEdgeIterator |
typedef MeshTraits::PixelType | PixelType |
typedef MeshTraits::CoordRepType | CoordRepType |
typedef MeshTraits::InterpolationWeightType | InterpolationWeightType |
typedef MeshTraits::PointIdentifier | PointIdentifier |
typedef MeshTraits::CellIdentifier | CellIdentifier |
typedef MeshTraits::BoundaryIdentifier | BoundaryIdentifier |
typedef MeshTraits::CellFeatureIdentifier | CellFeatureIdentifier |
typedef MeshTraits::PointType | PointType |
typedef MeshTraits::PointsContainer | PointsContainer |
typedef MeshTraits::CellTraits | CellTraits |
typedef MeshTraits::CellsContainer | CellsContainer |
typedef MeshTraits::PointCellLinksContainer | PointCellLinksContainer |
typedef MeshTraits::CellLinksContainer | CellLinksContainer |
typedef MeshTraits::PointDataContainer | PointDataContainer |
typedef MeshTraits::CellDataContainer | CellDataContainer |
typedef MeshTraits::BoundariesContainer | BoundariesContainer |
typedef MeshTraits::BoundaryDataContainer | BoundaryDataContainer |
typedef MeshTraits::CellAutoPointer | genericCellPointer |
typedef PointLocator< PointIdentifier, itkGetStaticConstMacro(PointDimension), CoordRepType, PointsContainer | PointLocatorType ) |
typedef BoundingBox< PointIdentifier, itkGetStaticConstMacro(PointDimension), CoordRepType, PointsContainer | BoundingBoxType ) |
typedef PointsContainer::Pointer | PointsContainerPointer |
typedef CellsContainer::Pointer | CellsContainerPointer |
typedef CellLinksContainer::Pointer | CellLinksContainerPointer |
typedef PointDataContainer::Pointer | PointDataContainerPointer |
typedef CellDataContainer::Pointer | CellDataContainerPointer |
typedef BoundariesContainer::Pointer | BoundariesContainerPointer |
typedef BoundaryDataContainer::Pointer | BoundaryDataContainerPointer |
typedef PointLocatorType::Pointer | PointLocatorPointer |
typedef BoundingBoxType::Pointer | BoundingBoxPointer |
typedef PointsContainer::ConstIterator | PointsContainerConstIterator |
typedef PointsContainer::Iterator | PointsContainerIterator |
typedef CellsContainer::ConstIterator | CellsContainerConstIterator |
typedef CellsContainer::Iterator | CellsContainerIterator |
typedef CellLinksContainer::ConstIterator | CellLinksContainerIterator |
typedef PointDataContainer::ConstIterator | PointDataContainerIterator |
typedef CellDataContainer::ConstIterator | CellDataContainerIterator |
typedef BoundariesContainer::ConstIterator | BoundariesContainerIterator |
typedef BoundaryDataContainer::ConstIterator | BoundaryDataContainerIterator |
typedef PointCellLinksContainer::const_iterator | PointCellLinksContainerIterator |
typedef CellFeatureIdentifier | CellFeatureCount |
typedef CellInterface< PixelType, CellTraits > | CellInterfaceType |
typedef PolygonCell< CellInterfaceType > | CellType |
typedef CellType::CellAutoPointer | CellAutoPointer |
typedef Point< int, 2 > | EdgeInfo |
typedef std::deque< EdgeInfo > | EdgeInfoDQ |
typedef CellType | BoundaryType |
typedef CellAutoPointer | BoundaryAutoPointer |
typedef CellType::MultiVisitor | CellMultiVisitorType |
typedef std::vector< PointType > | SeedsType |
typedef SeedsType::iterator | SeedsIterator |
typedef LineBoundary< CellInterfaceType > | Edge |
typedef Edge::SelfAutoPointer | EdgeAutoPointer |
typedef std::list< PointType > | PointList |
typedef std::vector< int > | INTvector |
typedef INTvector::iterator | NeighborIdIterator |
typedef std::vector< PointType >::iterator | VertexIterator |
Public Methods | |
virtual const char * | GetClassName () const |
virtual unsigned int | GetNumberOfSeeds () |
void | SetSeeds (int num, SeedsIterator begin) |
PointType | GetSeed (int SeedID) |
void | GetCellId (CellIdentifier cellId, CellAutoPointer &) |
void | GetPoint (int pId, PointType *answer) |
EdgeInfo | GetSeedsIDAroundEdge (VoronoiEdge *task) |
void | Reset () |
void | InsertCells () |
void | AddCellNeighbor (EdgeInfo x) |
void | ClearRegion (int i) |
void | VoronoiRegionAddPointId (int id, int x) |
void | BuildEdge (int id) |
void | LineListClear () |
void | EdgeListClear () |
void | VertexListClear () |
int | LineListSize () |
int | EdgeListSize () |
int | VertexListSize () |
void | AddLine (EdgeInfo x) |
void | AddEdge (VoronoiEdge x) |
void | AddVert (PointType x) |
EdgeInfo | GetLine (int id) |
VoronoiEdge | GetEdge (int id) |
PointType | GetVertex (int id) |
EdgeInfo | GetEdgeEnd (int id) |
int | GetEdgeLineID (int id) |
itkStaticConstMacro (PointDimension, unsigned int, MeshTraits::PointDimension) | |
itkStaticConstMacro (MaxTopologicalDimension, unsigned int, MeshTraits::MaxTopologicalDimension) | |
void | SetBoundary (PointType vorsize) |
void | SetOrigin (PointType vorsize) |
NeighborIdIterator | NeighborIdsBegin (int seeds) |
NeighborIdIterator | NeighborIdsEnd (int seeds) |
VertexIterator | VertexBegin (void) |
VertexIterator | VertexEnd (void) |
VoronoiEdgeIterator | EdgeBegin (void) |
VoronoiEdgeIterator | EdgeEnd (void) |
Static Public Methods | |
Pointer | New () |
Protected Methods | |
VoronoiDiagram2D () | |
~VoronoiDiagram2D () | |
virtual void | PrintSelf (std::ostream &os, Indent indent) const |
Given a set of seed points, the Voronoi Diagram partitions the plane into regions, each region is a collection of all pixels that is closest to one particular seed point than to other seed points. VoronoiDiagram2D is a mesh structure for storing the Voronoi Diagram, can be Generated by itkVoronoiDiagram2DGenerator.
Template parameters for VoronoiDiagram2D:
TCoordType = The type associated with the coordniation of the seeds and the resulting vertices.
Definition at line 55 of file itkVoronoiDiagram2D.h.
|
Typedefs from itkMesh Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >. Definition at line 100 of file itkVoronoiDiagram2D.h. |
|
Typedefs from itkMesh Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >. Definition at line 131 of file itkVoronoiDiagram2D.h. |
|
Typedefs from itkMesh Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >. Definition at line 112 of file itkVoronoiDiagram2D.h. |
|
Typedefs from itkMesh Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >. Definition at line 143 of file itkVoronoiDiagram2D.h. |
|
Typedefs from itkMesh Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >. Definition at line 101 of file itkVoronoiDiagram2D.h. |
|
Typedefs from itkMesh Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >. Definition at line 133 of file itkVoronoiDiagram2D.h. |
|
Typedefs from itkMesh Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >. Definition at line 113 of file itkVoronoiDiagram2D.h. |
|
Typedefs from itkMesh Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >. Definition at line 90 of file itkVoronoiDiagram2D.h. |
|
Typedefs from itkMesh Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >. Definition at line 142 of file itkVoronoiDiagram2D.h. |
|
Typedefs from itkMesh Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >. Definition at line 115 of file itkVoronoiDiagram2D.h. |
|
Typedefs from itkMesh Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >. Definition at line 106 of file itkVoronoiDiagram2D.h. |
|
Typedefs from itkMesh Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >. Definition at line 139 of file itkVoronoiDiagram2D.h. |
|
Typedefs from itkMesh Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >. Definition at line 99 of file itkVoronoiDiagram2D.h. |
|
Typedefs from itkMesh Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >. Definition at line 129 of file itkVoronoiDiagram2D.h. |
|
Typedefs from itkMesh Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >. Definition at line 111 of file itkVoronoiDiagram2D.h. |
|
Typedefs from itkMesh Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >. Definition at line 136 of file itkVoronoiDiagram2D.h. |
|
Typedefs from itkMesh Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >. Definition at line 91 of file itkVoronoiDiagram2D.h. |
|
Typedefs from itkMesh Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >. Definition at line 89 of file itkVoronoiDiagram2D.h. |
|
Typedefs from itkMesh Definition at line 137 of file itkVoronoiDiagram2D.h. |
|
Typedefs from itkMesh Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >. Definition at line 97 of file itkVoronoiDiagram2D.h. |
|
Typedefs from itkMesh Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >. Definition at line 125 of file itkVoronoiDiagram2D.h. |
|
Typedefs from itkMesh Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >. Definition at line 109 of file itkVoronoiDiagram2D.h. |
|
Typedefs from itkMesh Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >. Definition at line 144 of file itkVoronoiDiagram2D.h. |
|
Typedefs from itkMesh Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >. Definition at line 95 of file itkVoronoiDiagram2D.h. |
|
Typedefs from itkMesh Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >. Definition at line 121 of file itkVoronoiDiagram2D.h. |
|
Typedefs from itkMesh Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >. Definition at line 123 of file itkVoronoiDiagram2D.h. |
|
Typedefs from itkMesh Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >. Definition at line 108 of file itkVoronoiDiagram2D.h. |
|
Typedefs from itkMesh Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >. Definition at line 94 of file itkVoronoiDiagram2D.h. |
|
Typedefs from itkMesh Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >. Definition at line 138 of file itkVoronoiDiagram2D.h. |
|
Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >. Definition at line 66 of file itkVoronoiDiagram2D.h. |
|
Typedefs from itkMesh Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >. Definition at line 86 of file itkVoronoiDiagram2D.h. |
|
Typedefs from itkMesh Definition at line 147 of file itkVoronoiDiagram2D.h. |
|
Typedefs from itkMesh Definition at line 148 of file itkVoronoiDiagram2D.h. |
|
Typedefs from itkMesh Definition at line 140 of file itkVoronoiDiagram2D.h. |
|
Typedefs from itkMesh Definition at line 141 of file itkVoronoiDiagram2D.h. |
|
Typedefs from itkMesh Definition at line 102 of file itkVoronoiDiagram2D.h. |
|
Typedefs from itkMesh Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >. Definition at line 87 of file itkVoronoiDiagram2D.h. |
|
Typedefs from itkMesh Definition at line 150 of file itkVoronoiDiagram2D.h. |
|
Define the mesh traits. Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >. Definition at line 75 of file itkVoronoiDiagram2D.h. |
|
Typedefs from itkMesh Definition at line 151 of file itkVoronoiDiagram2D.h. |
|
Typedefs from itkMesh Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >. Definition at line 85 of file itkVoronoiDiagram2D.h. |
|
Typedefs from itkMesh Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >. Definition at line 96 of file itkVoronoiDiagram2D.h. |
|
Typedefs from itkMesh Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >. Definition at line 135 of file itkVoronoiDiagram2D.h. |
|
Typedefs from itkMesh Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >. Definition at line 98 of file itkVoronoiDiagram2D.h. |
|
Typedefs from itkMesh Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >. Definition at line 127 of file itkVoronoiDiagram2D.h. |
|
Typedefs from itkMesh Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >. Definition at line 110 of file itkVoronoiDiagram2D.h. |
|
Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >. Definition at line 65 of file itkVoronoiDiagram2D.h. |
|
Typedefs from itkMesh Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >. Definition at line 88 of file itkVoronoiDiagram2D.h. |
|
Typedefs from itkMesh Definition at line 149 of file itkVoronoiDiagram2D.h. |
|
Typedefs from itkMesh Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >. Definition at line 114 of file itkVoronoiDiagram2D.h. |
|
Typedefs from itkMesh Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >. Definition at line 104 of file itkVoronoiDiagram2D.h. |
|
Typedefs from itkMesh Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >. Definition at line 93 of file itkVoronoiDiagram2D.h. |
|
Typedefs from itkMesh Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >. Definition at line 117 of file itkVoronoiDiagram2D.h. |
|
Typedefs from itkMesh Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >. Definition at line 119 of file itkVoronoiDiagram2D.h. |
|
Typedefs from itkMesh Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >. Definition at line 107 of file itkVoronoiDiagram2D.h. |
|
Typedefs from itkMesh Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >. Definition at line 92 of file itkVoronoiDiagram2D.h. Referenced by itk::VoronoiDiagram2D< TCoordType >::EdgeListClear(), itk::VoronoiDiagram2D< TCoordType >::EdgeListSize(), and itk::VoronoiDiagram2D< TCoordType >::GetEdgeLineID(). |
|
Typedefs from itkMesh Definition at line 146 of file itkVoronoiDiagram2D.h. |
|
Typedefs from itkMesh Definition at line 145 of file itkVoronoiDiagram2D.h. Referenced by itk::VoronoiDiagram2D< TCoordType >::GetEdgeLineID(). |
|
Standard class typedefs. Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >. Definition at line 61 of file itkVoronoiDiagram2D.h. |
|
Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >. Definition at line 64 of file itkVoronoiDiagram2D.h. |
|
Typedefs from itkMesh Definition at line 152 of file itkVoronoiDiagram2D.h. |
|
The iterator for Voronoi edges, Definition at line 198 of file itkVoronoiDiagram2D.h. Referenced by itk::VoronoiDiagram2D< TCoordType >::VoronoiEdge::VoronoiEdge(), and itk::VoronoiDiagram2D< TCoordType >::VoronoiEdge::~VoronoiEdge(). |
|
|
|
|
|
Definition at line 213 of file itkVoronoiDiagram2D.h. |
|
Definition at line 227 of file itkVoronoiDiagram2D.h. |
|
Definition at line 226 of file itkVoronoiDiagram2D.h. |
|
Definition at line 228 of file itkVoronoiDiagram2D.h. |
|
Definition at line 218 of file itkVoronoiDiagram2D.h. |
|
Definition at line 216 of file itkVoronoiDiagram2D.h. |
|
The Iterator of all the edges for the Voronoi diagram. |
|
The Iterator of all the edges for the Voronoi diagram. |
|
Definition at line 221 of file itkVoronoiDiagram2D.h. References itk::VoronoiDiagram2D< TCoordType >::PointType. |
|
Definition at line 224 of file itkVoronoiDiagram2D.h. References itk::VoronoiDiagram2D< TCoordType >::PointType. |
|
Return the required cell pointer. |
|
Standard part of every itk Object. Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >. |
|
Definition at line 230 of file itkVoronoiDiagram2D.h. |
|
Definition at line 232 of file itkVoronoiDiagram2D.h. |
|
Definition at line 238 of file itkVoronoiDiagram2D.h. References itk::VoronoiDiagram2D< TCoordType >::PointType, and itk::VoronoiDiagram2D< TCoordType >::SeedsType. |
|
Definition at line 229 of file itkVoronoiDiagram2D.h. |
|
Get the number of Voronoi seeds. |
|
Return the given vertex of the voronoi diagram. |
|
Return the given indexed seed. |
|
Find the two seed point that around the given edge. |
|
Definition at line 231 of file itkVoronoiDiagram2D.h. |
|
|
|
Dimensions of the points and topology. |
|
Dimensions of the points and topology. |
|
Definition at line 220 of file itkVoronoiDiagram2D.h. |
|
Definition at line 223 of file itkVoronoiDiagram2D.h. |
|
Iterators for the neiborhood cells around the given cell. |
|
Iterators for the neiborhood cells around the given cell. |
|
Method for creation through the object factory. Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >. |
|
Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >. |
|
|
|
The boundary that enclose the whold voronoi diagram. |
|
The boundary that enclose the whold voronoi diagram. |
|
Input the seeds information, will overwrite if seeds already exists. |
|
Iterators for all the vertices of the voronoi diagram. |
|
Iterators for all the vertices of the voronoi diagram. |
|
Definition at line 222 of file itkVoronoiDiagram2D.h. |
|
Definition at line 225 of file itkVoronoiDiagram2D.h. |
|
Definition at line 217 of file itkVoronoiDiagram2D.h. |