ITK  5.2.0
Insight Toolkit
Classes | Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected 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 >:

Classes

class  VoronoiEdge
 

Public Types

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

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 () const
 
VoronoiEdgeIterator EdgeBegin ()
 
VoronoiEdgeIterator EdgeEnd ()
 
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 ()
 
VertexIterator VertexEnd ()
 
void VertexListClear ()
 
int VertexListSize ()
 
void VoronoiRegionAddPointId (int id, int x)
 
- Public Member Functions inherited from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >
void CopyInformation (const DataObject *data) override
 
virtual ::itk::LightObject::Pointer CreateAnother () const
 
void DeleteUnusedCellData ()
 
BoundaryAssignmentsContainerPointer GetBoundaryAssignments (int dimension)
 
const BoundaryAssignmentsContainerPointer GetBoundaryAssignments (int dimension) const
 
const BoundingBoxTypeGetBoundingBox () const
 
bool GetCell (CellIdentifier, CellAutoPointer &) const
 
CellDataContainerGetCellData ()
 
const CellDataContainerGetCellData () const
 
CellLinksContainerGetCellLinks ()
 
const CellLinksContainerGetCellLinks () const
 
CellsContainerGetCells ()
 
const CellsContainerGetCells () const
 
CellIdentifier GetNumberOfCells () const
 
void Graft (const DataObject *data) override
 
void Initialize () override
 
void PassStructure (Self *inputMesh)
 
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
 
void SetBoundaryAssignment (int dimension, CellIdentifier cellId, CellFeatureIdentifier featureId, CellIdentifier boundaryId)
 
bool GetBoundaryAssignment (int dimension, CellIdentifier cellId, CellFeatureIdentifier featureId, CellIdentifier *boundaryId) const
 
bool RemoveBoundaryAssignment (int dimension, CellIdentifier cellId, CellFeatureIdentifier featureId)
 
CellFeatureCount GetNumberOfCellBoundaryFeatures (int dimension, CellIdentifier) const
 
bool GetCellBoundaryFeature (int dimension, CellIdentifier, CellFeatureIdentifier, CellAutoPointer &) const
 
CellIdentifier GetCellBoundaryFeatureNeighbors (int dimension, CellIdentifier, CellFeatureIdentifier, std::set< CellIdentifier > *cellSet)
 
CellIdentifier GetCellNeighbors (CellIdentifier cellId, std::set< CellIdentifier > *cellSet)
 
bool GetAssignedCellBoundaryIfOneExists (int dimension, CellIdentifier, CellFeatureIdentifier, CellAutoPointer &) const
 
void BuildCellLinks () const
 
virtual void Accept (CellMultiVisitorType *mv) const
 
virtual void SetCellsAllocationMethod (MeshClassCellsAllocationMethodEnum _arg)
 
virtual const MeshClassCellsAllocationMethodEnumGetCellsAllocationMethod () const
 
- Public Member Functions inherited from itk::PointSet< TCoordType, VDimension, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >
virtual RegionType GetMaximumNumberOfRegions () const
 
PointIdentifier GetNumberOfPoints () const
 
PointDataContainerGetPointData ()
 
const PointDataContainerGetPointData () const
 
PointsContainerGetPoints ()
 
const PointsContainerGetPoints () const
 
void PassStructure (Self *inputPointSet)
 
void SetPointData (PointDataContainer *)
 
void SetPoints (PointsContainer *)
 
void SetPointData (PointIdentifier, PixelType)
 
bool GetPointData (PointIdentifier, PixelType *) const
 
void SetPoint (PointIdentifier, PointType)
 
bool GetPoint (PointIdentifier, PointType *) const
 
PointType GetPoint (PointIdentifier) const
 
void UpdateOutputInformation () override
 
void SetRequestedRegionToLargestPossibleRegion () override
 
bool RequestedRegionIsOutsideOfTheBufferedRegion () override
 
bool VerifyRequestedRegion () override
 
void SetRequestedRegion (const DataObject *data) override
 
virtual void SetRequestedRegion (const RegionType &region)
 
virtual RegionType GetRequestedRegion () const
 
virtual void SetBufferedRegion (const RegionType &region)
 
virtual RegionType GetBufferedRegion () const
 
- Public Member Functions inherited from itk::DataObject
void DisconnectPipeline ()
 
bool GetDataReleased () const
 
virtual const bool & GetReleaseDataFlag () const
 
SmartPointer< ProcessObjectGetSource () const
 
DataObjectPointerArraySizeType GetSourceOutputIndex () const
 
const DataObjectIdentifierTypeGetSourceOutputName () const
 
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 () const
 
virtual ModifiedTimeType GetUpdateMTime () const
 
virtual void SetRealTimeStamp (RealTimeStamp _arg)
 
virtual const RealTimeStampGetRealTimeStamp () const
 
virtual void PrepareForNewData ()
 
virtual void DataHasBeenGenerated ()
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
unsigned long AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionaryGetMetaDataDictionary ()
 
const MetaDataDictionaryGetMetaDataDictionary () 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
 
void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetReferenceCount (int) override
 
void UnRegister () const noexcept override
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
void SetMetaDataDictionary (MetaDataDictionary &&rrhs)
 
virtual void SetObjectName (std::string _arg)
 
virtual const std::string & GetObjectName () const
 
- Public Member Functions inherited from itk::LightObject
Pointer Clone () const
 
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
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 Pointer New ()
 
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 val)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Static Public Attributes

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

Protected Member Functions

void PrintSelf (std::ostream &os, Indent indent) const override
 
 VoronoiDiagram2D ()
 
 ~VoronoiDiagram2D () override=default
 
- Protected Member Functions inherited from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >
 Mesh ()
 
 ~Mesh () override
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
void ReleaseCellsMemory ()
 
- Protected Member Functions inherited from itk::PointSet< TCoordType, VDimension, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >
 PointSet ()
 
 ~PointSet () override=default
 
- Protected Member Functions inherited from itk::DataObject
 DataObject ()
 
 ~DataObject () override
 
virtual void PropagateResetPipeline ()
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
 ~Object () override
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &timeStamp)
 
- 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 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 Attributes inherited from itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >
BoundaryAssignmentsContainerVector m_BoundaryAssignmentsContainers
 
CellDataContainerPointer m_CellDataContainer
 
CellLinksContainerPointer m_CellLinksContainer
 
CellsContainerPointer m_CellsContainer
 
BoundingBoxPointer m_BoundingBox
 
- Protected Attributes inherited from itk::PointSet< TCoordType, VDimension, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >
PointDataContainerPointer m_PointDataContainer
 
PointsContainerPointer m_PointsContainer
 
RegionType m_MaximumNumberOfRegions
 
RegionType m_NumberOfRegions
 
RegionType m_RequestedNumberOfRegions
 
RegionType m_BufferedRegion
 
RegionType m_RequestedRegion
 
- Protected Attributes inherited from itk::LightObject
std::atomic< int > m_ReferenceCount
 

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 coordination of the seeds and the resulting vertices.

ITK Sphinx Examples:
Examples
SphinxExamples/src/Segmentation/Voronoi/VoronoiDiagram/Code.cxx.

Definition at line 51 of file itkVoronoiDiagram2D.h.

Member Typedef Documentation

◆ BoundingBoxPointer

template<typename TCoordType >
using itk::VoronoiDiagram2D< TCoordType >::BoundingBoxPointer = typename BoundingBoxType::Pointer

Definition at line 98 of file itkVoronoiDiagram2D.h.

◆ BoundingBoxType

Definition at line 92 of file itkVoronoiDiagram2D.h.

◆ CellAutoPointer

template<typename TCoordType >
using itk::VoronoiDiagram2D< TCoordType >::CellAutoPointer = typename Superclass::CellAutoPointer

Definition at line 110 of file itkVoronoiDiagram2D.h.

◆ CellDataContainer

template<typename TCoordType >
using itk::VoronoiDiagram2D< TCoordType >::CellDataContainer = typename MeshTraits::CellDataContainer

Definition at line 90 of file itkVoronoiDiagram2D.h.

◆ CellDataContainerIterator

template<typename TCoordType >
using itk::VoronoiDiagram2D< TCoordType >::CellDataContainerIterator = typename CellDataContainer::ConstIterator

Definition at line 105 of file itkVoronoiDiagram2D.h.

◆ CellDataContainerPointer

template<typename TCoordType >
using itk::VoronoiDiagram2D< TCoordType >::CellDataContainerPointer = typename CellDataContainer::Pointer

Definition at line 97 of file itkVoronoiDiagram2D.h.

◆ CellFeatureCount

template<typename TCoordType >
using itk::VoronoiDiagram2D< TCoordType >::CellFeatureCount = CellFeatureIdentifier

Definition at line 108 of file itkVoronoiDiagram2D.h.

◆ CellFeatureIdentifier

template<typename TCoordType >
using itk::VoronoiDiagram2D< TCoordType >::CellFeatureIdentifier = typename MeshTraits::CellFeatureIdentifier

Definition at line 82 of file itkVoronoiDiagram2D.h.

◆ CellIdentifier

template<typename TCoordType >
using itk::VoronoiDiagram2D< TCoordType >::CellIdentifier = typename MeshTraits::CellIdentifier

Definition at line 81 of file itkVoronoiDiagram2D.h.

◆ CellLinksContainer

template<typename TCoordType >
using itk::VoronoiDiagram2D< TCoordType >::CellLinksContainer = typename MeshTraits::CellLinksContainer

Definition at line 88 of file itkVoronoiDiagram2D.h.

◆ CellLinksContainerIterator

template<typename TCoordType >
using itk::VoronoiDiagram2D< TCoordType >::CellLinksContainerIterator = typename CellLinksContainer::ConstIterator

Definition at line 103 of file itkVoronoiDiagram2D.h.

◆ CellLinksContainerPointer

template<typename TCoordType >
using itk::VoronoiDiagram2D< TCoordType >::CellLinksContainerPointer = typename CellLinksContainer::Pointer

Definition at line 95 of file itkVoronoiDiagram2D.h.

◆ CellMultiVisitorType

template<typename TCoordType >
using itk::VoronoiDiagram2D< TCoordType >::CellMultiVisitorType = typename CellType::MultiVisitor

Definition at line 114 of file itkVoronoiDiagram2D.h.

◆ CellsContainer

template<typename TCoordType >
using itk::VoronoiDiagram2D< TCoordType >::CellsContainer = typename MeshTraits::CellsContainer

Definition at line 86 of file itkVoronoiDiagram2D.h.

◆ CellsContainerConstIterator

template<typename TCoordType >
using itk::VoronoiDiagram2D< TCoordType >::CellsContainerConstIterator = typename CellsContainer::ConstIterator

Definition at line 101 of file itkVoronoiDiagram2D.h.

◆ CellsContainerIterator

template<typename TCoordType >
using itk::VoronoiDiagram2D< TCoordType >::CellsContainerIterator = typename CellsContainer::Iterator

Definition at line 102 of file itkVoronoiDiagram2D.h.

◆ CellsContainerPointer

template<typename TCoordType >
using itk::VoronoiDiagram2D< TCoordType >::CellsContainerPointer = typename CellsContainer::Pointer

Definition at line 94 of file itkVoronoiDiagram2D.h.

◆ CellTraits

template<typename TCoordType >
using itk::VoronoiDiagram2D< TCoordType >::CellTraits = typename MeshTraits::CellTraits

Definition at line 85 of file itkVoronoiDiagram2D.h.

◆ CellType

template<typename TCoordType >
using itk::VoronoiDiagram2D< TCoordType >::CellType = typename Superclass::CellType

Definition at line 109 of file itkVoronoiDiagram2D.h.

◆ ConstPointer

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

Definition at line 61 of file itkVoronoiDiagram2D.h.

◆ CoordRepType

template<typename TCoordType >
using itk::VoronoiDiagram2D< TCoordType >::CoordRepType = typename MeshTraits::CoordRepType

Definition at line 78 of file itkVoronoiDiagram2D.h.

◆ Edge

template<typename TCoordType >
using itk::VoronoiDiagram2D< TCoordType >::Edge = LineCell<CellType>

Definition at line 117 of file itkVoronoiDiagram2D.h.

◆ EdgeAutoPointer

template<typename TCoordType >
using itk::VoronoiDiagram2D< TCoordType >::EdgeAutoPointer = typename Edge::SelfAutoPointer

Definition at line 118 of file itkVoronoiDiagram2D.h.

◆ EdgeInfo

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

Definition at line 112 of file itkVoronoiDiagram2D.h.

◆ EdgeInfoDQ

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

Definition at line 113 of file itkVoronoiDiagram2D.h.

◆ genericCellPointer

template<typename TCoordType >
using itk::VoronoiDiagram2D< TCoordType >::genericCellPointer = typename MeshTraits::CellAutoPointer

Definition at line 91 of file itkVoronoiDiagram2D.h.

◆ InterpolationWeightType

template<typename TCoordType >
using itk::VoronoiDiagram2D< TCoordType >::InterpolationWeightType = typename MeshTraits::InterpolationWeightType

Definition at line 79 of file itkVoronoiDiagram2D.h.

◆ INTvector

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

Definition at line 120 of file itkVoronoiDiagram2D.h.

◆ MeshTraits

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

Define the mesh traits.

Definition at line 70 of file itkVoronoiDiagram2D.h.

◆ NeighborIdIterator

template<typename TCoordType >
using itk::VoronoiDiagram2D< TCoordType >::NeighborIdIterator = typename INTvector::iterator

Definition at line 121 of file itkVoronoiDiagram2D.h.

◆ PixelType

template<typename TCoordType >
using itk::VoronoiDiagram2D< TCoordType >::PixelType = typename MeshTraits::PixelType

Typedefs from itkMesh

Definition at line 77 of file itkVoronoiDiagram2D.h.

◆ PointCellLinksContainer

template<typename TCoordType >
using itk::VoronoiDiagram2D< TCoordType >::PointCellLinksContainer = typename MeshTraits::PointCellLinksContainer

Definition at line 87 of file itkVoronoiDiagram2D.h.

◆ PointCellLinksContainerIterator

template<typename TCoordType >
using itk::VoronoiDiagram2D< TCoordType >::PointCellLinksContainerIterator = typename PointCellLinksContainer::const_iterator

Definition at line 106 of file itkVoronoiDiagram2D.h.

◆ PointDataContainer

template<typename TCoordType >
using itk::VoronoiDiagram2D< TCoordType >::PointDataContainer = typename MeshTraits::PointDataContainer

Definition at line 89 of file itkVoronoiDiagram2D.h.

◆ PointDataContainerIterator

template<typename TCoordType >
using itk::VoronoiDiagram2D< TCoordType >::PointDataContainerIterator = typename PointDataContainer::ConstIterator

Definition at line 104 of file itkVoronoiDiagram2D.h.

◆ PointDataContainerPointer

template<typename TCoordType >
using itk::VoronoiDiagram2D< TCoordType >::PointDataContainerPointer = typename PointDataContainer::Pointer

Definition at line 96 of file itkVoronoiDiagram2D.h.

◆ Pointer

template<typename TCoordType >
using itk::VoronoiDiagram2D< TCoordType >::Pointer = SmartPointer<Self>

Definition at line 60 of file itkVoronoiDiagram2D.h.

◆ PointIdentifier

template<typename TCoordType >
using itk::VoronoiDiagram2D< TCoordType >::PointIdentifier = typename MeshTraits::PointIdentifier

Definition at line 80 of file itkVoronoiDiagram2D.h.

◆ PointList

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

Definition at line 119 of file itkVoronoiDiagram2D.h.

◆ PointsContainer

template<typename TCoordType >
using itk::VoronoiDiagram2D< TCoordType >::PointsContainer = typename MeshTraits::PointsContainer

Definition at line 84 of file itkVoronoiDiagram2D.h.

◆ PointsContainerConstIterator

template<typename TCoordType >
using itk::VoronoiDiagram2D< TCoordType >::PointsContainerConstIterator = typename PointsContainer::ConstIterator

Definition at line 99 of file itkVoronoiDiagram2D.h.

◆ PointsContainerIterator

template<typename TCoordType >
using itk::VoronoiDiagram2D< TCoordType >::PointsContainerIterator = typename PointsContainer::Iterator

Definition at line 100 of file itkVoronoiDiagram2D.h.

◆ PointsContainerPointer

template<typename TCoordType >
using itk::VoronoiDiagram2D< TCoordType >::PointsContainerPointer = typename PointsContainer::Pointer

Definition at line 93 of file itkVoronoiDiagram2D.h.

◆ PointType

template<typename TCoordType >
using itk::VoronoiDiagram2D< TCoordType >::PointType = typename MeshTraits::PointType

Definition at line 83 of file itkVoronoiDiagram2D.h.

◆ PolygonCellType

template<typename TCoordType >
using itk::VoronoiDiagram2D< TCoordType >::PolygonCellType = PolygonCell<CellType>

Definition at line 111 of file itkVoronoiDiagram2D.h.

◆ SeedsIterator

template<typename TCoordType >
using itk::VoronoiDiagram2D< TCoordType >::SeedsIterator = typename SeedsType::iterator

Definition at line 116 of file itkVoronoiDiagram2D.h.

◆ SeedsType

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

Definition at line 115 of file itkVoronoiDiagram2D.h.

◆ Self

template<typename TCoordType >
using itk::VoronoiDiagram2D< TCoordType >::Self = VoronoiDiagram2D

Standard class type aliases.

Definition at line 58 of file itkVoronoiDiagram2D.h.

◆ Superclass

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

Definition at line 59 of file itkVoronoiDiagram2D.h.

◆ VertexIterator

template<typename TCoordType >
using itk::VoronoiDiagram2D< TCoordType >::VertexIterator = PointsContainerIterator

Definition at line 122 of file itkVoronoiDiagram2D.h.

◆ VoronoiEdgeIterator

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

The iterator for Voronoi edges,

Definition at line 177 of file itkVoronoiDiagram2D.h.

Constructor & Destructor Documentation

◆ VoronoiDiagram2D()

template<typename TCoordType >
itk::VoronoiDiagram2D< TCoordType >::VoronoiDiagram2D ( )
protected

◆ ~VoronoiDiagram2D()

template<typename TCoordType >
itk::VoronoiDiagram2D< TCoordType >::~VoronoiDiagram2D ( )
overrideprotecteddefault

Member Function Documentation

◆ AddCellNeighbor()

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

Definition at line 199 of file itkVoronoiDiagram2D.h.

◆ AddEdge()

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

Definition at line 271 of file itkVoronoiDiagram2D.h.

◆ AddLine()

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

Definition at line 265 of file itkVoronoiDiagram2D.h.

◆ AddVert()

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

Definition at line 277 of file itkVoronoiDiagram2D.h.

◆ BuildEdge()

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

Definition at line 218 of file itkVoronoiDiagram2D.h.

◆ ClearRegion()

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

Definition at line 206 of file itkVoronoiDiagram2D.h.

◆ CreateAnother()

template<typename TCoordType >
virtual::itk::LightObject::Pointer itk::VoronoiDiagram2D< TCoordType >::CreateAnother ( ) 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.

◆ EdgeBegin()

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

The Iterator of all the edges for the Voronoi diagram.

◆ EdgeEnd()

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

◆ EdgeListClear()

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

Definition at line 230 of file itkVoronoiDiagram2D.h.

◆ EdgeListSize()

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

Definition at line 253 of file itkVoronoiDiagram2D.h.

◆ GetCellId()

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

Return the required cell pointer.

◆ GetEdge()

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

Definition at line 289 of file itkVoronoiDiagram2D.h.

◆ GetEdgeEnd()

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

Definition at line 301 of file itkVoronoiDiagram2D.h.

◆ GetEdgeLineID()

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

Definition at line 311 of file itkVoronoiDiagram2D.h.

◆ GetLine()

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

Definition at line 283 of file itkVoronoiDiagram2D.h.

◆ GetNameOfClass()

template<typename TCoordType >
virtual const char* itk::VoronoiDiagram2D< TCoordType >::GetNameOfClass ( ) const
virtual

◆ GetNumberOfSeeds()

template<typename TCoordType >
virtual unsigned int itk::VoronoiDiagram2D< TCoordType >::GetNumberOfSeeds ( ) const
virtual

Get the number of Voronoi seeds.

◆ GetPoint()

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

Return the given vertex of the voronoi diagram.

◆ GetSeed()

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

Return the given indexed seed.

◆ GetSeedsIDAroundEdge()

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

Find the two seed point that around the given edge.

◆ GetVertex()

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

Definition at line 295 of file itkVoronoiDiagram2D.h.

◆ InsertCells()

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

◆ LineListClear()

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

Definition at line 224 of file itkVoronoiDiagram2D.h.

◆ LineListSize()

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

Definition at line 247 of file itkVoronoiDiagram2D.h.

◆ NeighborIdsBegin()

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

Iterators for the neighborhood cells around the given cell.

◆ NeighborIdsEnd()

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

◆ New()

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

Method for creation through the object factory.

◆ PrintSelf()

template<typename TCoordType >
void itk::VoronoiDiagram2D< TCoordType >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
overrideprotectedvirtual

Who generated this data?

Reimplemented from itk::DataObject.

◆ Reset()

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

◆ SetBoundary()

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

The boundary that encloses the whole Voronoi diagram.

◆ SetOrigin()

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

◆ SetSeeds()

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

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

◆ VertexBegin()

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

Iterators for all the vertices of the voronoi diagram.

◆ VertexEnd()

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

◆ VertexListClear()

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

Definition at line 236 of file itkVoronoiDiagram2D.h.

◆ VertexListSize()

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

Definition at line 259 of file itkVoronoiDiagram2D.h.

◆ VoronoiRegionAddPointId()

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

Definition at line 212 of file itkVoronoiDiagram2D.h.

Member Data Documentation

◆ m_CellNeighborsID

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

Definition at line 328 of file itkVoronoiDiagram2D.h.

◆ m_EdgeList

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

Definition at line 331 of file itkVoronoiDiagram2D.h.

◆ m_LineList

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

Definition at line 330 of file itkVoronoiDiagram2D.h.

◆ m_NumberOfSeeds

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

Definition at line 324 of file itkVoronoiDiagram2D.h.

◆ m_Seeds

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

Definition at line 323 of file itkVoronoiDiagram2D.h.

◆ m_VoronoiBoundary

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

Definition at line 326 of file itkVoronoiDiagram2D.h.

◆ m_VoronoiBoundaryOrigin

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

Definition at line 327 of file itkVoronoiDiagram2D.h.

◆ m_VoronoiRegions

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

Definition at line 325 of file itkVoronoiDiagram2D.h.

◆ MaxTopologicalDimension

template<typename TCoordType >
constexpr unsigned int itk::VoronoiDiagram2D< TCoordType >::MaxTopologicalDimension = MeshTraits::MaxTopologicalDimension
staticconstexpr

Definition at line 74 of file itkVoronoiDiagram2D.h.

◆ PointDimension

template<typename TCoordType >
constexpr unsigned int itk::VoronoiDiagram2D< TCoordType >::PointDimension = MeshTraits::PointDimension
staticconstexpr

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: