Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::VoronoiDiagram2D< TCoordType > Class Template Reference
[Mesh Representation Objects]

Implements the 2-Dimensional Voronoi Diagram. More...

#include <itkVoronoiDiagram2D.h>

Inheritance diagram for itk::VoronoiDiagram2D< TCoordType >:

Inheritance graph
[legend]
Collaboration diagram for itk::VoronoiDiagram2D< TCoordType >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef VoronoiDiagram2D Self
typedef Mesh< TCoordType,
2, DefaultDynamicMeshTraits<
TCoordType, 2, 2, TCoordType > > 
Superclass
typedef SmartPointer< SelfPointer
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::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::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 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 PointCellLinksContainer::const_iterator PointCellLinksContainerIterator
typedef CellFeatureIdentifier CellFeatureCount
typedef CellInterface< PixelType,
CellTraits
CellInterfaceType
typedef PolygonCell< CellInterfaceTypeCellType
typedef CellType::CellAutoPointer CellAutoPointer
typedef Point< int, 2 > EdgeInfo
typedef std::deque< EdgeInfoEdgeInfoDQ
typedef CellType::MultiVisitor CellMultiVisitorType
typedef std::vector< PointTypeSeedsType
typedef SeedsType::iterator SeedsIterator
typedef LineCell< CellInterfaceTypeEdge
typedef Edge::SelfAutoPointer EdgeAutoPointer
typedef std::list< PointTypePointList
typedef std::vector< int > INTvector
typedef INTvector::iterator NeighborIdIterator
typedef std::vector< PointType
>::iterator 
VertexIterator

Public Member Functions

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 Member Functions

Pointer New ()

Protected Member Functions

 VoronoiDiagram2D ()
 ~VoronoiDiagram2D ()
virtual void PrintSelf (std::ostream &os, Indent indent) const

Detailed Description

template<typename TCoordType>
class itk::VoronoiDiagram2D< TCoordType >

Implements the 2-Dimensional Voronoi Diagram.

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 54 of file itkVoronoiDiagram2D.h.


Member Typedef Documentation

template<typename TCoordType>
typedef BoundingBoxType::Pointer itk::VoronoiDiagram2D< TCoordType >::BoundingBoxPointer
 

Typedefs from itkMesh

Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >.

Definition at line 109 of file itkVoronoiDiagram2D.h.

template<typename TCoordType>
typedef BoundingBox<PointIdentifier,itkGetStaticConstMacro(PointDimension), CoordRepType,PointsContainer itk::VoronoiDiagram2D< TCoordType >::BoundingBoxType)
 

Typedefs from itkMesh

Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >.

Definition at line 102 of file itkVoronoiDiagram2D.h.

template<typename TCoordType>
typedef CellType::CellAutoPointer itk::VoronoiDiagram2D< TCoordType >::CellAutoPointer
 

Typedefs from itkMesh

Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >.

Definition at line 129 of file itkVoronoiDiagram2D.h.

template<typename TCoordType>
typedef MeshTraits::CellDataContainer itk::VoronoiDiagram2D< TCoordType >::CellDataContainer
 

Typedefs from itkMesh

Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >.

Definition at line 97 of file itkVoronoiDiagram2D.h.

template<typename TCoordType>
typedef CellDataContainer::ConstIterator itk::VoronoiDiagram2D< TCoordType >::CellDataContainerIterator
 

Typedefs from itkMesh

Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >.

Definition at line 123 of file itkVoronoiDiagram2D.h.

template<typename TCoordType>
typedef CellDataContainer::Pointer itk::VoronoiDiagram2D< TCoordType >::CellDataContainerPointer
 

Typedefs from itkMesh

Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >.

Definition at line 107 of file itkVoronoiDiagram2D.h.

template<typename TCoordType>
typedef CellFeatureIdentifier itk::VoronoiDiagram2D< TCoordType >::CellFeatureCount
 

Typedefs from itkMesh

Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >.

Definition at line 126 of file itkVoronoiDiagram2D.h.

template<typename TCoordType>
typedef MeshTraits::CellFeatureIdentifier itk::VoronoiDiagram2D< TCoordType >::CellFeatureIdentifier
 

Typedefs from itkMesh

Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >.

Definition at line 89 of file itkVoronoiDiagram2D.h.

template<typename TCoordType>
typedef MeshTraits::CellIdentifier itk::VoronoiDiagram2D< TCoordType >::CellIdentifier
 

Typedefs from itkMesh

Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >.

Definition at line 88 of file itkVoronoiDiagram2D.h.

template<typename TCoordType>
typedef CellInterface<PixelType,CellTraits> itk::VoronoiDiagram2D< TCoordType >::CellInterfaceType
 

Typedefs from itkMesh Definition at line 127 of file itkVoronoiDiagram2D.h.

template<typename TCoordType>
typedef MeshTraits::CellLinksContainer itk::VoronoiDiagram2D< TCoordType >::CellLinksContainer
 

Typedefs from itkMesh

Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >.

Definition at line 95 of file itkVoronoiDiagram2D.h.

template<typename TCoordType>
typedef CellLinksContainer::ConstIterator itk::VoronoiDiagram2D< TCoordType >::CellLinksContainerIterator
 

Typedefs from itkMesh

Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >.

Definition at line 119 of file itkVoronoiDiagram2D.h.

template<typename TCoordType>
typedef CellLinksContainer::Pointer itk::VoronoiDiagram2D< TCoordType >::CellLinksContainerPointer
 

Typedefs from itkMesh

Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >.

Definition at line 105 of file itkVoronoiDiagram2D.h.

template<typename TCoordType>
typedef CellType::MultiVisitor itk::VoronoiDiagram2D< TCoordType >::CellMultiVisitorType
 

Typedefs from itkMesh

Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >.

Definition at line 132 of file itkVoronoiDiagram2D.h.

template<typename TCoordType>
typedef MeshTraits::CellsContainer itk::VoronoiDiagram2D< TCoordType >::CellsContainer
 

Typedefs from itkMesh

Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >.

Definition at line 93 of file itkVoronoiDiagram2D.h.

template<typename TCoordType>
typedef CellsContainer::ConstIterator itk::VoronoiDiagram2D< TCoordType >::CellsContainerConstIterator
 

Typedefs from itkMesh

Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >.

Definition at line 115 of file itkVoronoiDiagram2D.h.

template<typename TCoordType>
typedef CellsContainer::Iterator itk::VoronoiDiagram2D< TCoordType >::CellsContainerIterator
 

Typedefs from itkMesh

Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >.

Definition at line 117 of file itkVoronoiDiagram2D.h.

template<typename TCoordType>
typedef CellsContainer::Pointer itk::VoronoiDiagram2D< TCoordType >::CellsContainerPointer
 

Typedefs from itkMesh

Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >.

Definition at line 104 of file itkVoronoiDiagram2D.h.

template<typename TCoordType>
typedef MeshTraits::CellTraits itk::VoronoiDiagram2D< TCoordType >::CellTraits
 

Typedefs from itkMesh

Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >.

Definition at line 92 of file itkVoronoiDiagram2D.h.

template<typename TCoordType>
typedef PolygonCell<CellInterfaceType> itk::VoronoiDiagram2D< TCoordType >::CellType
 

Typedefs from itkMesh

Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >.

Definition at line 128 of file itkVoronoiDiagram2D.h.

template<typename TCoordType>
typedef SmartPointer<const Self> itk::VoronoiDiagram2D< TCoordType >::ConstPointer
 

Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >.

Definition at line 65 of file itkVoronoiDiagram2D.h.

template<typename TCoordType>
typedef MeshTraits::CoordRepType itk::VoronoiDiagram2D< TCoordType >::CoordRepType
 

Typedefs from itkMesh

Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >.

Definition at line 85 of file itkVoronoiDiagram2D.h.

template<typename TCoordType>
typedef LineCell<CellInterfaceType> itk::VoronoiDiagram2D< TCoordType >::Edge
 

Typedefs from itkMesh Definition at line 135 of file itkVoronoiDiagram2D.h.

template<typename TCoordType>
typedef Edge::SelfAutoPointer itk::VoronoiDiagram2D< TCoordType >::EdgeAutoPointer
 

Typedefs from itkMesh Definition at line 136 of file itkVoronoiDiagram2D.h.

template<typename TCoordType>
typedef Point<int,2> itk::VoronoiDiagram2D< TCoordType >::EdgeInfo
 

Typedefs from itkMesh Definition at line 130 of file itkVoronoiDiagram2D.h.

Referenced by itk::VoronoiDiagram2D< TCoordType >::AddLine(), itk::VoronoiDiagram2D< TCoordType >::VertexListClear(), and itk::VoronoiDiagram2D< TCoordType >::VertexListSize().

template<typename TCoordType>
typedef std::deque<EdgeInfo> itk::VoronoiDiagram2D< TCoordType >::EdgeInfoDQ
 

Typedefs from itkMesh Definition at line 131 of file itkVoronoiDiagram2D.h.

template<typename TCoordType>
typedef MeshTraits::CellAutoPointer itk::VoronoiDiagram2D< TCoordType >::genericCellPointer
 

Typedefs from itkMesh Definition at line 98 of file itkVoronoiDiagram2D.h.

template<typename TCoordType>
typedef MeshTraits::InterpolationWeightType itk::VoronoiDiagram2D< TCoordType >::InterpolationWeightType
 

Typedefs from itkMesh

Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >.

Definition at line 86 of file itkVoronoiDiagram2D.h.

template<typename TCoordType>
typedef std::vector<int> itk::VoronoiDiagram2D< TCoordType >::INTvector
 

Typedefs from itkMesh Definition at line 138 of file itkVoronoiDiagram2D.h.

template<typename TCoordType>
typedef DefaultDynamicMeshTraits<TCoordType, 2, 2, TCoordType> itk::VoronoiDiagram2D< TCoordType >::MeshTraits
 

Define the mesh traits.

Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >.

Definition at line 74 of file itkVoronoiDiagram2D.h.

template<typename TCoordType>
typedef INTvector::iterator itk::VoronoiDiagram2D< TCoordType >::NeighborIdIterator
 

Typedefs from itkMesh Definition at line 139 of file itkVoronoiDiagram2D.h.

template<typename TCoordType>
typedef MeshTraits::PixelType itk::VoronoiDiagram2D< TCoordType >::PixelType
 

Typedefs from itkMesh

Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >.

Definition at line 84 of file itkVoronoiDiagram2D.h.

template<typename TCoordType>
typedef MeshTraits::PointCellLinksContainer itk::VoronoiDiagram2D< TCoordType >::PointCellLinksContainer
 

Typedefs from itkMesh

Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >.

Definition at line 94 of file itkVoronoiDiagram2D.h.

template<typename TCoordType>
typedef PointCellLinksContainer::const_iterator itk::VoronoiDiagram2D< TCoordType >::PointCellLinksContainerIterator
 

Typedefs from itkMesh

Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >.

Definition at line 125 of file itkVoronoiDiagram2D.h.

template<typename TCoordType>
typedef MeshTraits::PointDataContainer itk::VoronoiDiagram2D< TCoordType >::PointDataContainer
 

Typedefs from itkMesh

Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >.

Definition at line 96 of file itkVoronoiDiagram2D.h.

template<typename TCoordType>
typedef PointDataContainer::ConstIterator itk::VoronoiDiagram2D< TCoordType >::PointDataContainerIterator
 

Typedefs from itkMesh

Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >.

Definition at line 121 of file itkVoronoiDiagram2D.h.

template<typename TCoordType>
typedef PointDataContainer::Pointer itk::VoronoiDiagram2D< TCoordType >::PointDataContainerPointer
 

Typedefs from itkMesh

Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >.

Definition at line 106 of file itkVoronoiDiagram2D.h.

template<typename TCoordType>
typedef SmartPointer<Self> itk::VoronoiDiagram2D< TCoordType >::Pointer
 

Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >.

Definition at line 64 of file itkVoronoiDiagram2D.h.

template<typename TCoordType>
typedef MeshTraits::PointIdentifier itk::VoronoiDiagram2D< TCoordType >::PointIdentifier
 

Typedefs from itkMesh

Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >.

Definition at line 87 of file itkVoronoiDiagram2D.h.

template<typename TCoordType>
typedef std::list<PointType> itk::VoronoiDiagram2D< TCoordType >::PointList
 

Typedefs from itkMesh Definition at line 137 of file itkVoronoiDiagram2D.h.

template<typename TCoordType>
typedef PointLocatorType::Pointer itk::VoronoiDiagram2D< TCoordType >::PointLocatorPointer
 

Typedefs from itkMesh

Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >.

Definition at line 108 of file itkVoronoiDiagram2D.h.

template<typename TCoordType>
typedef PointLocator<PointIdentifier,itkGetStaticConstMacro(PointDimension), CoordRepType,PointsContainer itk::VoronoiDiagram2D< TCoordType >::PointLocatorType)
 

Typedefs from itkMesh

Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >.

Definition at line 100 of file itkVoronoiDiagram2D.h.

template<typename TCoordType>
typedef MeshTraits::PointsContainer itk::VoronoiDiagram2D< TCoordType >::PointsContainer
 

Typedefs from itkMesh

Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >.

Definition at line 91 of file itkVoronoiDiagram2D.h.

template<typename TCoordType>
typedef PointsContainer::ConstIterator itk::VoronoiDiagram2D< TCoordType >::PointsContainerConstIterator
 

Typedefs from itkMesh

Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >.

Definition at line 111 of file itkVoronoiDiagram2D.h.

template<typename TCoordType>
typedef PointsContainer::Iterator itk::VoronoiDiagram2D< TCoordType >::PointsContainerIterator
 

Typedefs from itkMesh

Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >.

Definition at line 113 of file itkVoronoiDiagram2D.h.

template<typename TCoordType>
typedef PointsContainer::Pointer itk::VoronoiDiagram2D< TCoordType >::PointsContainerPointer
 

Typedefs from itkMesh

Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >.

Definition at line 103 of file itkVoronoiDiagram2D.h.

template<typename TCoordType>
typedef MeshTraits::PointType itk::VoronoiDiagram2D< TCoordType >::PointType
 

Typedefs from itkMesh

Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >.

Definition at line 90 of file itkVoronoiDiagram2D.h.

Referenced by itk::VoronoiDiagram2D< TCoordType >::EdgeListClear(), itk::VoronoiDiagram2D< TCoordType >::EdgeListSize(), and itk::VoronoiDiagram2D< TCoordType >::GetEdgeLineID().

template<typename TCoordType>
typedef SeedsType::iterator itk::VoronoiDiagram2D< TCoordType >::SeedsIterator
 

Typedefs from itkMesh Definition at line 134 of file itkVoronoiDiagram2D.h.

template<typename TCoordType>
typedef std::vector<PointType> itk::VoronoiDiagram2D< TCoordType >::SeedsType
 

Typedefs from itkMesh Definition at line 133 of file itkVoronoiDiagram2D.h.

Referenced by itk::VoronoiDiagram2D< TCoordType >::GetEdgeLineID().

template<typename TCoordType>
typedef VoronoiDiagram2D itk::VoronoiDiagram2D< TCoordType >::Self
 

Standard class typedefs.

Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >.

Definition at line 60 of file itkVoronoiDiagram2D.h.

Referenced by itk::VoronoiDiagram2D< TCoordType >::GetEdgeLineID().

template<typename TCoordType>
typedef Mesh<TCoordType, 2, DefaultDynamicMeshTraits<TCoordType, 2, 2, TCoordType> > itk::VoronoiDiagram2D< TCoordType >::Superclass
 

Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >.

Definition at line 63 of file itkVoronoiDiagram2D.h.

template<typename TCoordType>
typedef std::vector<PointType>::iterator itk::VoronoiDiagram2D< TCoordType >::VertexIterator
 

Typedefs from itkMesh Definition at line 140 of file itkVoronoiDiagram2D.h.

template<typename TCoordType>
typedef std::vector<VoronoiEdge>::iterator itk::VoronoiDiagram2D< TCoordType >::VoronoiEdgeIterator
 

The iterator for Voronoi edges, Definition at line 186 of file itkVoronoiDiagram2D.h.

Referenced by itk::VoronoiDiagram2D< TCoordType >::VoronoiEdge::VoronoiEdge(), and itk::VoronoiDiagram2D< TCoordType >::VoronoiEdge::~VoronoiEdge().


Constructor & Destructor Documentation

template<typename TCoordType>
itk::VoronoiDiagram2D< TCoordType >::VoronoiDiagram2D  )  [protected]
 

template<typename TCoordType>
itk::VoronoiDiagram2D< TCoordType >::~VoronoiDiagram2D  )  [protected]
 


Member Function Documentation

template<typename TCoordType>
void itk::VoronoiDiagram2D< TCoordType >::AddCellNeighbor EdgeInfo  x  )  [inline]
 

Definition at line 201 of file itkVoronoiDiagram2D.h.

template<typename TCoordType>
void itk::VoronoiDiagram2D< TCoordType >::AddEdge VoronoiEdge  x  )  [inline]
 

Definition at line 215 of file itkVoronoiDiagram2D.h.

template<typename TCoordType>
void itk::VoronoiDiagram2D< TCoordType >::AddLine EdgeInfo  x  )  [inline]
 

Definition at line 214 of file itkVoronoiDiagram2D.h.

References itk::VoronoiDiagram2D< TCoordType >::EdgeInfo.

template<typename TCoordType>
void itk::VoronoiDiagram2D< TCoordType >::AddVert PointType  x  )  [inline]
 

Definition at line 216 of file itkVoronoiDiagram2D.h.

template<typename TCoordType>
void itk::VoronoiDiagram2D< TCoordType >::BuildEdge int  id  )  [inline]
 

Definition at line 206 of file itkVoronoiDiagram2D.h.

template<typename TCoordType>
void itk::VoronoiDiagram2D< TCoordType >::ClearRegion int  i  )  [inline]
 

Definition at line 204 of file itkVoronoiDiagram2D.h.

template<typename TCoordType>
VoronoiEdgeIterator itk::VoronoiDiagram2D< TCoordType >::EdgeBegin void   ) 
 

The Iterator of all the edges for the Voronoi diagram.

template<typename TCoordType>
VoronoiEdgeIterator itk::VoronoiDiagram2D< TCoordType >::EdgeEnd void   ) 
 

The Iterator of all the edges for the Voronoi diagram.

template<typename TCoordType>
void itk::VoronoiDiagram2D< TCoordType >::EdgeListClear  )  [inline]
 

Definition at line 209 of file itkVoronoiDiagram2D.h.

References itk::VoronoiDiagram2D< TCoordType >::PointType.

template<typename TCoordType>
int itk::VoronoiDiagram2D< TCoordType >::EdgeListSize  )  [inline]
 

Definition at line 212 of file itkVoronoiDiagram2D.h.

References itk::VoronoiDiagram2D< TCoordType >::PointType.

template<typename TCoordType>
void itk::VoronoiDiagram2D< TCoordType >::GetCellId CellIdentifier  cellId,
CellAutoPointer
 

Return the required cell pointer.

template<typename TCoordType>
virtual const char* itk::VoronoiDiagram2D< TCoordType >::GetClassName  )  const [virtual]
 

Standard part of every itk Object.

Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >.

template<typename TCoordType>
VoronoiEdge itk::VoronoiDiagram2D< TCoordType >::GetEdge int  id  )  [inline]
 

Definition at line 218 of file itkVoronoiDiagram2D.h.

template<typename TCoordType>
EdgeInfo itk::VoronoiDiagram2D< TCoordType >::GetEdgeEnd int  id  )  [inline]
 

Definition at line 220 of file itkVoronoiDiagram2D.h.

template<typename TCoordType>
int itk::VoronoiDiagram2D< TCoordType >::GetEdgeLineID int  id  )  [inline]
 

Definition at line 226 of file itkVoronoiDiagram2D.h.

References itk::VoronoiDiagram2D< TCoordType >::PointType, itk::VoronoiDiagram2D< TCoordType >::SeedsType, and itk::VoronoiDiagram2D< TCoordType >::Self.

template<typename TCoordType>
EdgeInfo itk::VoronoiDiagram2D< TCoordType >::GetLine int  id  )  [inline]
 

Definition at line 217 of file itkVoronoiDiagram2D.h.

template<typename TCoordType>
virtual unsigned int itk::VoronoiDiagram2D< TCoordType >::GetNumberOfSeeds  )  [virtual]
 

Get the number of Voronoi seeds.

template<typename TCoordType>
void itk::VoronoiDiagram2D< TCoordType >::GetPoint int  pId,
PointType answer
 

Return the given vertex of the voronoi diagram.

template<typename TCoordType>
PointType itk::VoronoiDiagram2D< TCoordType >::GetSeed int  SeedID  ) 
 

Return the given indexed seed.

template<typename TCoordType>
EdgeInfo itk::VoronoiDiagram2D< TCoordType >::GetSeedsIDAroundEdge VoronoiEdge task  ) 
 

Find the two seed point that around the given edge.

template<typename TCoordType>
PointType itk::VoronoiDiagram2D< TCoordType >::GetVertex int  id  )  [inline]
 

Definition at line 219 of file itkVoronoiDiagram2D.h.

template<typename TCoordType>
void itk::VoronoiDiagram2D< TCoordType >::InsertCells  ) 
 

template<typename TCoordType>
itk::VoronoiDiagram2D< TCoordType >::itkStaticConstMacro MaxTopologicalDimension  ,
unsigned  int,
MeshTraits::MaxTopologicalDimension 
 

Dimensions of the points and topology.

template<typename TCoordType>
itk::VoronoiDiagram2D< TCoordType >::itkStaticConstMacro PointDimension  ,
unsigned  int,
MeshTraits::PointDimension 
 

Dimensions of the points and topology.

template<typename TCoordType>
void itk::VoronoiDiagram2D< TCoordType >::LineListClear  )  [inline]
 

Definition at line 208 of file itkVoronoiDiagram2D.h.

template<typename TCoordType>
int itk::VoronoiDiagram2D< TCoordType >::LineListSize  )  [inline]
 

Definition at line 211 of file itkVoronoiDiagram2D.h.

template<typename TCoordType>
NeighborIdIterator itk::VoronoiDiagram2D< TCoordType >::NeighborIdsBegin int  seeds  ) 
 

Iterators for the neighborhood cells around the given cell.

template<typename TCoordType>
NeighborIdIterator itk::VoronoiDiagram2D< TCoordType >::NeighborIdsEnd int  seeds  ) 
 

Iterators for the neighborhood cells around the given cell.

template<typename TCoordType>
Pointer itk::VoronoiDiagram2D< TCoordType >::New  )  [static]
 

Method for creation through the object factory.

Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >.

template<typename TCoordType>
virtual void itk::VoronoiDiagram2D< TCoordType >::PrintSelf std::ostream &  os,
Indent  indent
const [protected, virtual]
 

Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >.

template<typename TCoordType>
void itk::VoronoiDiagram2D< TCoordType >::Reset  ) 
 

template<typename TCoordType>
void itk::VoronoiDiagram2D< TCoordType >::SetBoundary PointType  vorsize  ) 
 

The boundary that encloses the whole Voronoi diagram.

template<typename TCoordType>
void itk::VoronoiDiagram2D< TCoordType >::SetOrigin PointType  vorsize  ) 
 

The boundary that encloses the whole Voronoi diagram.

template<typename TCoordType>
void itk::VoronoiDiagram2D< TCoordType >::SetSeeds int  num,
SeedsIterator  begin
 

Input the seeds information, will overwrite if seeds already exists.

template<typename TCoordType>
VertexIterator itk::VoronoiDiagram2D< TCoordType >::VertexBegin void   ) 
 

Iterators for all the vertices of the voronoi diagram.

template<typename TCoordType>
VertexIterator itk::VoronoiDiagram2D< TCoordType >::VertexEnd void   ) 
 

Iterators for all the vertices of the voronoi diagram.

template<typename TCoordType>
void itk::VoronoiDiagram2D< TCoordType >::VertexListClear  )  [inline]
 

Definition at line 210 of file itkVoronoiDiagram2D.h.

References itk::VoronoiDiagram2D< TCoordType >::EdgeInfo.

template<typename TCoordType>
int itk::VoronoiDiagram2D< TCoordType >::VertexListSize  )  [inline]
 

Definition at line 213 of file itkVoronoiDiagram2D.h.

References itk::VoronoiDiagram2D< TCoordType >::EdgeInfo.

template<typename TCoordType>
void itk::VoronoiDiagram2D< TCoordType >::VoronoiRegionAddPointId int  id,
int  x
[inline]
 

Definition at line 205 of file itkVoronoiDiagram2D.h.


The documentation for this class was generated from the following file:
Generated at Sun Apr 1 02:51:41 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000