ITK  4.4.0
Insight Segmentation and Registration Toolkit
Classes | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
itk::VoronoiDiagram2D< TCoordType > Class Template Reference

#include <itkVoronoiDiagram2D.h>

+ Inheritance diagram for itk::VoronoiDiagram2D< TCoordType >:
+ Collaboration diagram for itk::VoronoiDiagram2D< TCoordType >:

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

Classes

class  VoronoiEdge
 

Public Types

typedef BoundingBoxType::Pointer BoundingBoxPointer
 
typedef BoundingBox
< PointIdentifier,
itkGetStaticConstMacro(PointDimension),
CoordRepType, PointsContainer
BoundingBoxType
 
typedef Superclass::CellAutoPointer CellAutoPointer
 
typedef
MeshTraits::CellDataContainer 
CellDataContainer
 
typedef
CellDataContainer::ConstIterator 
CellDataContainerIterator
 
typedef CellDataContainer::Pointer CellDataContainerPointer
 
typedef CellFeatureIdentifier CellFeatureCount
 
typedef
MeshTraits::CellFeatureIdentifier 
CellFeatureIdentifier
 
typedef MeshTraits::CellIdentifier CellIdentifier
 
typedef
MeshTraits::CellLinksContainer 
CellLinksContainer
 
typedef
CellLinksContainer::ConstIterator 
CellLinksContainerIterator
 
typedef CellLinksContainer::Pointer CellLinksContainerPointer
 
typedef CellType::MultiVisitor CellMultiVisitorType
 
typedef MeshTraits::CellsContainer CellsContainer
 
typedef
CellsContainer::ConstIterator 
CellsContainerConstIterator
 
typedef CellsContainer::Iterator CellsContainerIterator
 
typedef CellsContainer::Pointer CellsContainerPointer
 
typedef MeshTraits::CellTraits CellTraits
 
typedef Superclass::CellType CellType
 
typedef SmartPointer< const SelfConstPointer
 
typedef MeshTraits::CoordRepType CoordRepType
 
typedef LineCell< CellTypeEdge
 
typedef Edge::SelfAutoPointer EdgeAutoPointer
 
typedef Point< int, 2 > EdgeInfo
 
typedef std::deque< EdgeInfoEdgeInfoDQ
 
typedef MeshTraits::CellAutoPointer genericCellPointer
 
typedef
MeshTraits::InterpolationWeightType 
InterpolationWeightType
 
typedef std::vector< int > INTvector
 
typedef
DefaultDynamicMeshTraits
< TCoordType, 2, 2, TCoordType > 
MeshTraits
 
typedef INTvector::iterator NeighborIdIterator
 
typedef MeshTraits::PixelType PixelType
 
typedef
MeshTraits::PointCellLinksContainer 
PointCellLinksContainer
 
typedef
PointCellLinksContainer::const_iterator 
PointCellLinksContainerIterator
 
typedef
MeshTraits::PointDataContainer 
PointDataContainer
 
typedef
PointDataContainer::ConstIterator 
PointDataContainerIterator
 
typedef PointDataContainer::Pointer PointDataContainerPointer
 
typedef SmartPointer< SelfPointer
 
typedef MeshTraits::PointIdentifier PointIdentifier
 
typedef std::list< PointTypePointList
 
typedef MeshTraits::PointsContainer PointsContainer
 
typedef
PointsContainer::ConstIterator 
PointsContainerConstIterator
 
typedef PointsContainer::Iterator PointsContainerIterator
 
typedef PointsContainer::Pointer PointsContainerPointer
 
typedef MeshTraits::PointType PointType
 
typedef PolygonCell< CellTypePolygonCellType
 
typedef SeedsType::iterator SeedsIterator
 
typedef std::vector< PointTypeSeedsType
 
typedef VoronoiDiagram2D Self
 
typedef Mesh< TCoordType,
2, DefaultDynamicMeshTraits
< TCoordType, 2, 2, TCoordType > > 
Superclass
 
typedef PointsContainerIterator VertexIterator
 
typedef std::vector
< VoronoiEdge >::iterator 
VoronoiEdgeIterator
 
- Public Types inherited from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >
typedef MapContainer
< BoundaryAssignmentIdentifier,
CellIdentifier
BoundaryAssignmentsContainer
 
typedef
BoundaryAssignmentsContainer::Pointer 
BoundaryAssignmentsContainerPointer
 
typedef std::vector
< BoundaryAssignmentsContainerPointer
BoundaryAssignmentsContainerVector
 
typedef BoundingBoxType::Pointer BoundingBoxPointer
 
typedef BoundingBox
< PointIdentifier,
itkGetStaticConstMacro(PointDimension),
CoordRepType, PointsContainer
BoundingBoxType
 
typedef CellType::CellAutoPointer CellAutoPointer
 
typedef
MeshTraits::CellDataContainer 
CellDataContainer
 
typedef
CellDataContainer::ConstPointer 
CellDataContainerConstPointer
 
typedef
CellDataContainer::ConstIterator 
CellDataContainerIterator
 
typedef CellDataContainer::Pointer CellDataContainerPointer
 
typedef CellFeatureIdentifier CellFeatureCount
 
typedef
MeshTraits::CellFeatureIdentifier 
CellFeatureIdentifier
 
typedef MeshTraits::CellIdentifier CellIdentifier
 
typedef
MeshTraits::CellLinksContainer 
CellLinksContainer
 
typedef
CellLinksContainer::ConstPointer 
CellLinksContainerConstPointer
 
typedef
CellLinksContainer::ConstIterator 
CellLinksContainerIterator
 
typedef CellLinksContainer::Pointer CellLinksContainerPointer
 
typedef CellType::MultiVisitor CellMultiVisitorType
 
typedef MeshTraits::CellPixelType CellPixelType
 
enum  CellsAllocationMethodType
 
typedef MeshTraits::CellsContainer CellsContainer
 
typedef
CellsContainer::ConstIterator 
CellsContainerConstIterator
 
typedef
CellsContainer::ConstPointer 
CellsContainerConstPointer
 
typedef CellsContainer::Iterator CellsContainerIterator
 
typedef CellsContainer::Pointer CellsContainerPointer
 
typedef MeshTraits::CellTraits CellTraits
 
typedef CellInterface
< CellPixelType, CellTraits
CellType
 
typedef SmartPointer< const SelfConstPointer
 
typedef MeshTraits::CoordRepType CoordRepType
 
typedef
MeshTraits::InterpolationWeightType 
InterpolationWeightType
 
typedef
DefaultDynamicMeshTraits
< TCoordType, 2, 2, TCoordType > 
MeshTraits
 
typedef MeshTraits::PixelType PixelType
 
typedef
MeshTraits::PointCellLinksContainer 
PointCellLinksContainer
 
typedef
PointCellLinksContainer::const_iterator 
PointCellLinksContainerIterator
 
typedef
MeshTraits::PointDataContainer 
PointDataContainer
 
typedef
PointDataContainer::ConstIterator 
PointDataContainerIterator
 
typedef PointDataContainer::Pointer PointDataContainerPointer
 
typedef SmartPointer< SelfPointer
 
typedef MeshTraits::PointHashType PointHashType
 
typedef MeshTraits::PointIdentifier PointIdentifier
 
typedef MeshTraits::PointsContainer PointsContainer
 
typedef
PointsContainer::ConstIterator 
PointsContainerConstIterator
 
typedef PointsContainer::Iterator PointsContainerIterator
 
typedef PointsContainer::Pointer PointsContainerPointer
 
typedef MeshTraits::PointType PointType
 
typedef Superclass::RegionType RegionType
 
typedef Mesh Self
 
typedef PointSet< TCoordType,
VDimension,
DefaultDynamicMeshTraits
< TCoordType, 2, 2, TCoordType > > 
Superclass
 
- Public Types inherited from itk::PointSet< TCoordType, VDimension, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >
typedef SmartPointer< const SelfConstPointer
 
typedef MeshTraits::CoordRepType CoordRepType
 
typedef
DefaultDynamicMeshTraits
< TCoordType, 2, 2, TCoordType > 
MeshTraits
 
typedef MeshTraits::PixelType PixelType
 
typedef
MeshTraits::PointDataContainer 
PointDataContainer
 
typedef
PointDataContainer::ConstPointer 
PointDataContainerConstPointer
 
typedef
PointDataContainer::ConstIterator 
PointDataContainerIterator
 
typedef PointDataContainer::Pointer PointDataContainerPointer
 
typedef SmartPointer< SelfPointer
 
typedef MeshTraits::PointIdentifier PointIdentifier
 
typedef MeshTraits::PointsContainer PointsContainer
 
typedef
PointsContainer::ConstIterator 
PointsContainerConstIterator
 
typedef
PointsContainer::ConstPointer 
PointsContainerConstPointer
 
typedef PointsContainer::Iterator PointsContainerIterator
 
typedef PointsContainer::Pointer PointsContainerPointer
 
typedef MeshTraits::PointType PointType
 
typedef long RegionType
 
typedef PointSet Self
 
typedef DataObject Superclass
 
- Public Types inherited from itk::DataObject
typedef SmartPointer< const SelfConstPointer
 
typedef std::string DataObjectIdentifierType
 
typedef std::vector< Pointer >
::size_type 
DataObjectPointerArraySizeType
 
typedef SmartPointer< SelfPointer
 
typedef DataObject Self
 
typedef Object Superclass
 
- Public Types inherited from itk::Object
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef Object Self
 
typedef LightObject Superclass
 
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightObject Self
 

Public Member Functions

void AddCellNeighbor (EdgeInfo x)
 
void AddEdge (VoronoiEdge x)
 
void AddLine (EdgeInfo x)
 
void AddVert (PointType x)
 
void BuildEdge (int id)
 
void ClearRegion (int i)
 
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
VoronoiEdgeIterator EdgeBegin (void)
 
VoronoiEdgeIterator EdgeEnd (void)
 
void EdgeListClear ()
 
int EdgeListSize ()
 
void GetCellId (CellIdentifier cellId, CellAutoPointer &)
 
VoronoiEdge GetEdge (int id)
 
EdgeInfo GetEdgeEnd (int id)
 
int GetEdgeLineID (int id)
 
EdgeInfo GetLine (int id)
 
virtual const char * GetNameOfClass () const
 
virtual unsigned int GetNumberOfSeeds () const
 
void GetPoint (int pId, PointType *answer)
 
PointType GetSeed (int SeedID)
 
EdgeInfo GetSeedsIDAroundEdge (VoronoiEdge *task)
 
PointType GetVertex (int id)
 
void InsertCells ()
 
void LineListClear ()
 
int LineListSize ()
 
NeighborIdIterator NeighborIdsBegin (int seeds)
 
NeighborIdIterator NeighborIdsEnd (int seeds)
 
void Reset ()
 
void SetBoundary (PointType vorsize)
 
void SetOrigin (PointType vorsize)
 
void SetSeeds (int num, SeedsIterator begin)
 
VertexIterator VertexBegin (void)
 
VertexIterator VertexEnd (void)
 
void VertexListClear ()
 
int VertexListSize ()
 
void VoronoiRegionAddPointId (int id, int x)
 
- Public Member Functions inherited from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >
virtual void Accept (CellMultiVisitorType *mv) const
 
void BuildCellLinks () const
 
virtual void CopyInformation (const DataObject *data)
 
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
bool GetAssignedCellBoundaryIfOneExists (int dimension, CellIdentifier, CellFeatureIdentifier, CellAutoPointer &) const
 
bool GetBoundaryAssignment (int dimension, CellIdentifier cellId, CellFeatureIdentifier featureId, CellIdentifier *boundaryId) const
 
BoundaryAssignmentsContainerPointer GetBoundaryAssignments (int dimension)
 
const
BoundaryAssignmentsContainerPointer 
GetBoundaryAssignments (int dimension) const
 
const BoundingBoxTypeGetBoundingBox (void) const
 
bool GetCell (CellIdentifier, CellAutoPointer &) const
 
bool GetCellBoundaryFeature (int dimension, CellIdentifier, CellFeatureIdentifier, CellAutoPointer &) const
 
CellIdentifier GetCellBoundaryFeatureNeighbors (int dimension, CellIdentifier, CellFeatureIdentifier, std::set< CellIdentifier > *cellSet)
 
CellDataContainerGetCellData ()
 
const CellDataContainerGetCellData () const
 
CellLinksContainerGetCellLinks ()
 
const CellLinksContainerGetCellLinks () const
 
CellIdentifier GetCellNeighbors (CellIdentifier cellId, std::set< CellIdentifier > *cellSet)
 
CellsContainerGetCells ()
 
const CellsContainerGetCells () const
 
CellFeatureCount GetNumberOfCellBoundaryFeatures (int dimension, CellIdentifier) const
 
CellIdentifier GetNumberOfCells () const
 
virtual void Graft (const DataObject *data)
 
virtual void Initialize ()
 
void PassStructure (Self *inputMesh)
 
bool RemoveBoundaryAssignment (int dimension, CellIdentifier cellId, CellFeatureIdentifier featureId)
 
void SetBoundaryAssignment (int dimension, CellIdentifier cellId, CellFeatureIdentifier featureId, CellIdentifier boundaryId)
 
void SetBoundaryAssignments (int dimension, BoundaryAssignmentsContainer *)
 
void SetCell (CellIdentifier, CellAutoPointer &)
 
void SetCellData (CellDataContainer *)
 
void SetCellLinks (CellLinksContainer *)
 
void SetCells (CellsContainer *)
 
void SetCellData (CellIdentifier, CellPixelType)
 
bool GetCellData (CellIdentifier, CellPixelType *) const
 
virtual void SetCellsAllocationMethod (CellsAllocationMethodType _arg)
 
virtual const
CellsAllocationMethodType
GetCellsAllocationMethod ()
 
- Public Member Functions inherited from itk::PointSet< TCoordType, VDimension, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >
virtual RegionType GetBufferedRegion () const
 
virtual RegionType GetMaximumNumberOfRegions () const
 
PointIdentifier GetNumberOfPoints (void) const
 
PointDataContainerGetPointData (void)
 
const PointDataContainerGetPointData (void) const
 
PointsContainerGetPoints (void)
 
const PointsContainerGetPoints (void) const
 
virtual RegionType GetRequestedRegion () const
 
void PassStructure (Self *inputPointSet)
 
virtual bool RequestedRegionIsOutsideOfTheBufferedRegion ()
 
virtual void SetBufferedRegion (const RegionType &region)
 
void SetPointData (PointDataContainer *)
 
void SetPoints (PointsContainer *)
 
virtual void SetRequestedRegion (const DataObject *data)
 
virtual void SetRequestedRegion (const RegionType &region)
 
virtual void SetRequestedRegionToLargestPossibleRegion ()
 
virtual void UpdateOutputInformation ()
 
virtual bool VerifyRequestedRegion ()
 
void SetPointData (PointIdentifier, PixelType)
 
bool GetPointData (PointIdentifier, PixelType *) const
 
void SetPoint (PointIdentifier, PointType)
 
bool GetPoint (PointIdentifier, PointType *) const
 
PointType GetPoint (PointIdentifier) const
 
- Public Member Functions inherited from itk::DataObject
virtual void DataHasBeenGenerated ()
 
void DisconnectPipeline ()
 
bool GetDataReleased () const
 
virtual const bool & GetReleaseDataFlag ()
 
SmartPointerForwardReference
< ProcessObject
GetSource () const
 
DataObjectPointerArraySizeType GetSourceOutputIndex () const
 
const DataObjectIdentifierTypeGetSourceOutputName () const
 
virtual ModifiedTimeType GetUpdateMTime () const
 
virtual void PrepareForNewData ()
 
virtual void PropagateRequestedRegion ()
 
void ReleaseData ()
 
virtual void ReleaseDataFlagOff ()
 
virtual void ReleaseDataFlagOn ()
 
virtual void ResetPipeline ()
 
void SetReleaseDataFlag (bool flag)
 
bool ShouldIReleaseData () const
 
virtual void Update ()
 
virtual void UpdateOutputData ()
 
void SetPipelineMTime (ModifiedTimeType time)
 
virtual const ModifiedTimeTypeGetPipelineMTime ()
 
virtual void SetRealTimeStamp (RealTimeStamp _arg)
 
virtual const RealTimeStampGetRealTimeStamp ()
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionaryGetMetaDataDictionary (void)
 
const MetaDataDictionaryGetMetaDataDictionary (void) const
 
virtual ModifiedTimeType GetMTime () const
 
virtual const TimeStampGetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
virtual void Register () const
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
virtual void SetReferenceCount (int)
 
virtual void UnRegister () const
 
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
 itkCloneMacro (Self)
 
void Print (std::ostream &os, Indent indent=0) const
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >
static Pointer New ()
 
- Static Public Member Functions inherited from itk::PointSet< TCoordType, VDimension, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >
static Pointer New ()
 
- Static Public Member Functions inherited from itk::DataObject
static bool GetGlobalReleaseDataFlag ()
 
static void GlobalReleaseDataFlagOff ()
 
static void GlobalReleaseDataFlagOn ()
 
static void SetGlobalReleaseDataFlag (bool val)
 
- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool flag)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Static Public Attributes

static const unsigned int PointDimension = MeshTraits::PointDimension
 
static const unsigned int MaxTopologicalDimension = MeshTraits::MaxTopologicalDimension
 
- Static Public Attributes inherited from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >
static const unsigned int PointDimension
 
static const unsigned int MaxTopologicalDimension
 
- Static Public Attributes inherited from itk::PointSet< TCoordType, VDimension, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >
static const unsigned int PointDimension
 

Protected Member Functions

virtual void PrintSelf (std::ostream &os, Indent indent) const
 
 VoronoiDiagram2D ()
 
 ~VoronoiDiagram2D ()
 
- Protected Member Functions inherited from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >
void ReleaseCellsMemory ()
 
 Mesh ()
 
 ~Mesh ()
 
void PrintSelf (std::ostream &os, Indent indent) const
 
- Protected Member Functions inherited from itk::PointSet< TCoordType, VDimension, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >
 PointSet ()
 
 ~PointSet ()
 
- Protected Member Functions inherited from itk::DataObject
 DataObject ()
 
virtual void PropagateResetPipeline ()
 
 ~DataObject ()
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &time)
 
virtual ~Object ()
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Private Member Functions

void operator= (const Self &)
 
 VoronoiDiagram2D (const Self &)
 

Private Attributes

std::vector< std::vector< int > > m_CellNeighborsID
 
std::vector< VoronoiEdgem_EdgeList
 
std::vector< EdgeInfom_LineList
 
unsigned int m_NumberOfSeeds
 
SeedsType m_Seeds
 
PointType m_VoronoiBoundary
 
PointType m_VoronoiBoundaryOrigin
 
std::vector< PolygonCellType * > m_VoronoiRegions
 

Additional Inherited Members

- Protected Types inherited from itk::LightObject
typedef int InternalReferenceCountType
 
- Protected Attributes inherited from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >
BoundaryAssignmentsContainerVector m_BoundaryAssignmentsContainers
 
BoundingBoxPointer m_BoundingBox
 
CellDataContainerPointer m_CellDataContainer
 
CellLinksContainerPointer m_CellLinksContainer
 
CellsContainerPointer m_CellsContainer
 

Member Typedef Documentation

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

Definition at line 122 of file itkVoronoiDiagram2D.h.

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

Definition at line 110 of file itkVoronoiDiagram2D.h.

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

Definition at line 142 of file itkVoronoiDiagram2D.h.

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

Definition at line 106 of file itkVoronoiDiagram2D.h.

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

Definition at line 136 of file itkVoronoiDiagram2D.h.

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

Definition at line 120 of file itkVoronoiDiagram2D.h.

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

Definition at line 140 of file itkVoronoiDiagram2D.h.

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

Definition at line 90 of file itkVoronoiDiagram2D.h.

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

Definition at line 88 of file itkVoronoiDiagram2D.h.

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

Definition at line 102 of file itkVoronoiDiagram2D.h.

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

Definition at line 132 of file itkVoronoiDiagram2D.h.

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

Definition at line 116 of file itkVoronoiDiagram2D.h.

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

Definition at line 146 of file itkVoronoiDiagram2D.h.

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

Definition at line 98 of file itkVoronoiDiagram2D.h.

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

Definition at line 128 of file itkVoronoiDiagram2D.h.

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

Definition at line 130 of file itkVoronoiDiagram2D.h.

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

Definition at line 114 of file itkVoronoiDiagram2D.h.

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

Definition at line 96 of file itkVoronoiDiagram2D.h.

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

Definition at line 141 of file itkVoronoiDiagram2D.h.

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

Definition at line 60 of file itkVoronoiDiagram2D.h.

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

Definition at line 82 of file itkVoronoiDiagram2D.h.

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

Definition at line 149 of file itkVoronoiDiagram2D.h.

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

Definition at line 150 of file itkVoronoiDiagram2D.h.

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

Definition at line 144 of file itkVoronoiDiagram2D.h.

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

Definition at line 145 of file itkVoronoiDiagram2D.h.

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

Definition at line 108 of file itkVoronoiDiagram2D.h.

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

Definition at line 84 of file itkVoronoiDiagram2D.h.

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

Definition at line 152 of file itkVoronoiDiagram2D.h.

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

Define the mesh traits.

Definition at line 66 of file itkVoronoiDiagram2D.h.

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

Definition at line 153 of file itkVoronoiDiagram2D.h.

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

Typedefs from itkMesh

Definition at line 80 of file itkVoronoiDiagram2D.h.

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

Definition at line 100 of file itkVoronoiDiagram2D.h.

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

Definition at line 138 of file itkVoronoiDiagram2D.h.

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

Definition at line 104 of file itkVoronoiDiagram2D.h.

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

Definition at line 134 of file itkVoronoiDiagram2D.h.

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

Definition at line 118 of file itkVoronoiDiagram2D.h.

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

Definition at line 59 of file itkVoronoiDiagram2D.h.

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

Definition at line 86 of file itkVoronoiDiagram2D.h.

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

Definition at line 151 of file itkVoronoiDiagram2D.h.

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

Definition at line 94 of file itkVoronoiDiagram2D.h.

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

Definition at line 124 of file itkVoronoiDiagram2D.h.

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

Definition at line 126 of file itkVoronoiDiagram2D.h.

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

Definition at line 112 of file itkVoronoiDiagram2D.h.

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

Definition at line 92 of file itkVoronoiDiagram2D.h.

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

Definition at line 143 of file itkVoronoiDiagram2D.h.

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

Definition at line 148 of file itkVoronoiDiagram2D.h.

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

Definition at line 147 of file itkVoronoiDiagram2D.h.

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

Standard class typedefs.

Definition at line 57 of file itkVoronoiDiagram2D.h.

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

Definition at line 58 of file itkVoronoiDiagram2D.h.

template<typename TCoordType >
typedef PointsContainerIterator itk::VoronoiDiagram2D< TCoordType >::VertexIterator

Definition at line 154 of file itkVoronoiDiagram2D.h.

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

The iterator for Voronoi edges,

Definition at line 199 of file itkVoronoiDiagram2D.h.

Constructor & Destructor Documentation

template<typename TCoordType >
itk::VoronoiDiagram2D< TCoordType >::VoronoiDiagram2D ( )
protected
template<typename TCoordType >
itk::VoronoiDiagram2D< TCoordType >::~VoronoiDiagram2D ( )
protected
template<typename TCoordType >
itk::VoronoiDiagram2D< TCoordType >::VoronoiDiagram2D ( const Self )
private

Member Function Documentation

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

Definition at line 215 of file itkVoronoiDiagram2D.h.

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

Definition at line 244 of file itkVoronoiDiagram2D.h.

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

Definition at line 243 of file itkVoronoiDiagram2D.h.

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

Definition at line 245 of file itkVoronoiDiagram2D.h.

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

Definition at line 225 of file itkVoronoiDiagram2D.h.

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

Definition at line 221 of file itkVoronoiDiagram2D.h.

template<typename TCoordType >
virtual::itk::LightObject::Pointer itk::VoronoiDiagram2D< TCoordType >::CreateAnother ( void  ) const
virtual

Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.

Reimplemented from itk::Object.

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  )
template<typename TCoordType >
void itk::VoronoiDiagram2D< TCoordType >::EdgeListClear ( )
inline

Definition at line 229 of file itkVoronoiDiagram2D.h.

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

Definition at line 241 of file itkVoronoiDiagram2D.h.

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

Return the required cell pointer.

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

Definition at line 247 of file itkVoronoiDiagram2D.h.

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

Definition at line 249 of file itkVoronoiDiagram2D.h.

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

Definition at line 258 of file itkVoronoiDiagram2D.h.

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

Definition at line 246 of file itkVoronoiDiagram2D.h.

template<typename TCoordType >
virtual const char* itk::VoronoiDiagram2D< TCoordType >::GetNameOfClass ( ) const
virtual
template<typename TCoordType >
virtual unsigned int itk::VoronoiDiagram2D< TCoordType >::GetNumberOfSeeds ( ) const
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 248 of file itkVoronoiDiagram2D.h.

template<typename TCoordType >
void itk::VoronoiDiagram2D< TCoordType >::InsertCells ( )
template<typename TCoordType >
void itk::VoronoiDiagram2D< TCoordType >::LineListClear ( )
inline

Definition at line 228 of file itkVoronoiDiagram2D.h.

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

Definition at line 240 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)
template<typename TCoordType >
static Pointer itk::VoronoiDiagram2D< TCoordType >::New ( )
static

Method for creation through the object factory.

template<typename TCoordType >
void itk::VoronoiDiagram2D< TCoordType >::operator= ( const Self )
private
template<typename TCoordType >
virtual void itk::VoronoiDiagram2D< TCoordType >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
protectedvirtual
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)
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  )
template<typename TCoordType >
void itk::VoronoiDiagram2D< TCoordType >::VertexListClear ( )
inline

Definition at line 230 of file itkVoronoiDiagram2D.h.

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

Definition at line 242 of file itkVoronoiDiagram2D.h.

template<typename TCoordType >
void itk::VoronoiDiagram2D< TCoordType >::VoronoiRegionAddPointId ( int  id,
int  x 
)
inline

Definition at line 223 of file itkVoronoiDiagram2D.h.

Member Data Documentation

template<typename TCoordType >
std::vector< std::vector< int > > itk::VoronoiDiagram2D< TCoordType >::m_CellNeighborsID
private

Definition at line 274 of file itkVoronoiDiagram2D.h.

template<typename TCoordType >
std::vector< VoronoiEdge > itk::VoronoiDiagram2D< TCoordType >::m_EdgeList
private

Definition at line 277 of file itkVoronoiDiagram2D.h.

template<typename TCoordType >
std::vector< EdgeInfo > itk::VoronoiDiagram2D< TCoordType >::m_LineList
private

Definition at line 276 of file itkVoronoiDiagram2D.h.

template<typename TCoordType >
unsigned int itk::VoronoiDiagram2D< TCoordType >::m_NumberOfSeeds
private

Definition at line 270 of file itkVoronoiDiagram2D.h.

template<typename TCoordType >
SeedsType itk::VoronoiDiagram2D< TCoordType >::m_Seeds
private

Definition at line 269 of file itkVoronoiDiagram2D.h.

template<typename TCoordType >
PointType itk::VoronoiDiagram2D< TCoordType >::m_VoronoiBoundary
private

Definition at line 272 of file itkVoronoiDiagram2D.h.

template<typename TCoordType >
PointType itk::VoronoiDiagram2D< TCoordType >::m_VoronoiBoundaryOrigin
private

Definition at line 273 of file itkVoronoiDiagram2D.h.

template<typename TCoordType >
std::vector< PolygonCellType * > itk::VoronoiDiagram2D< TCoordType >::m_VoronoiRegions
private

Definition at line 271 of file itkVoronoiDiagram2D.h.

template<typename TCoordType >
const unsigned int itk::VoronoiDiagram2D< TCoordType >::MaxTopologicalDimension = MeshTraits::MaxTopologicalDimension
static

Dimensions of the points and topology.

Definition at line 75 of file itkVoronoiDiagram2D.h.

template<typename TCoordType >
const unsigned int itk::VoronoiDiagram2D< TCoordType >::PointDimension = MeshTraits::PointDimension
static

Dimensions of the points and topology.

Definition at line 73 of file itkVoronoiDiagram2D.h.


The documentation for this class was generated from the following file: