ITK  5.0.0
Insight Segmentation and Registration 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 >:

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.

Examples:
WikiExamples/Segmentation/VoronoiDiagram2DGenerator.cxx.

Definition at line 47 of file itkVoronoiDiagram2D.h.

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
 
enum  CellsAllocationMethodType
 
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 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 > >
virtual void Accept (CellMultiVisitorType *mv) const
 
void BuildCellLinks () const
 
void CopyInformation (const DataObject *data) override
 
virtual ::itk::LightObject::Pointer CreateAnother () 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 () 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
 
void Graft (const DataObject *data) override
 
void Initialize () override
 
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 () const
 
- Public Member Functions inherited from itk::PointSet< TCoordType, VDimension, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >
virtual RegionType GetBufferedRegion () const
 
virtual RegionType GetMaximumNumberOfRegions () const
 
PointIdentifier GetNumberOfPoints () const
 
PointDataContainerGetPointData ()
 
const PointDataContainerGetPointData () const
 
PointsContainerGetPoints ()
 
const PointsContainerGetPoints () const
 
virtual RegionType GetRequestedRegion () const
 
void PassStructure (Self *inputPointSet)
 
bool RequestedRegionIsOutsideOfTheBufferedRegion () override
 
virtual void SetBufferedRegion (const RegionType &region)
 
void SetPointData (PointDataContainer *)
 
void SetPoints (PointsContainer *)
 
void SetRequestedRegion (const DataObject *data) override
 
virtual void SetRequestedRegion (const RegionType &region)
 
void SetRequestedRegionToLargestPossibleRegion () override
 
void UpdateOutputInformation () override
 
bool VerifyRequestedRegion () override
 
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 () const
 
SmartPointer< ProcessObjectGetSource () 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 () const
 
virtual void SetRealTimeStamp (RealTimeStamp _arg)
 
virtual const RealTimeStampGetRealTimeStamp () const
 
- 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 ()
 
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 noexceptoverride
 
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
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 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 > >
void ReleaseCellsMemory ()
 
 Mesh ()
 
 ~Mesh () override
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
- 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 ()
 
virtual void PropagateResetPipeline ()
 
 ~DataObject () override
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &time)
 
 ~Object () override
 
- 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
 
BoundingBoxPointer m_BoundingBox
 
CellDataContainerPointer m_CellDataContainer
 
CellLinksContainerPointer m_CellLinksContainer
 
CellsContainerPointer m_CellsContainer
 
- Protected Attributes inherited from itk::PointSet< TCoordType, VDimension, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >
RegionType m_BufferedRegion
 
RegionType m_MaximumNumberOfRegions
 
RegionType m_NumberOfRegions
 
PointDataContainerPointer m_PointDataContainer
 
PointsContainerPointer m_PointsContainer
 
RegionType m_RequestedNumberOfRegions
 
RegionType m_RequestedRegion
 
- Protected Attributes inherited from itk::LightObject
std::atomic< int > m_ReferenceCount
 

Member Typedef Documentation

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

Definition at line 96 of file itkVoronoiDiagram2D.h.

Definition at line 90 of file itkVoronoiDiagram2D.h.

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

Definition at line 108 of file itkVoronoiDiagram2D.h.

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

Definition at line 87 of file itkVoronoiDiagram2D.h.

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

Definition at line 103 of file itkVoronoiDiagram2D.h.

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

Definition at line 95 of file itkVoronoiDiagram2D.h.

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

Definition at line 106 of file itkVoronoiDiagram2D.h.

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

Definition at line 79 of file itkVoronoiDiagram2D.h.

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

Definition at line 78 of file itkVoronoiDiagram2D.h.

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

Definition at line 85 of file itkVoronoiDiagram2D.h.

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

Definition at line 101 of file itkVoronoiDiagram2D.h.

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

Definition at line 93 of file itkVoronoiDiagram2D.h.

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

Definition at line 112 of file itkVoronoiDiagram2D.h.

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

Definition at line 83 of file itkVoronoiDiagram2D.h.

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

Definition at line 99 of file itkVoronoiDiagram2D.h.

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

Definition at line 100 of file itkVoronoiDiagram2D.h.

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

Definition at line 92 of file itkVoronoiDiagram2D.h.

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

Definition at line 82 of file itkVoronoiDiagram2D.h.

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

Definition at line 107 of file itkVoronoiDiagram2D.h.

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

Definition at line 58 of file itkVoronoiDiagram2D.h.

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

Definition at line 75 of file itkVoronoiDiagram2D.h.

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

Definition at line 115 of file itkVoronoiDiagram2D.h.

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

Definition at line 116 of file itkVoronoiDiagram2D.h.

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

Definition at line 110 of file itkVoronoiDiagram2D.h.

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

Definition at line 111 of file itkVoronoiDiagram2D.h.

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

Definition at line 88 of file itkVoronoiDiagram2D.h.

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

Definition at line 76 of file itkVoronoiDiagram2D.h.

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

Definition at line 118 of file itkVoronoiDiagram2D.h.

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

Define the mesh traits.

Definition at line 67 of file itkVoronoiDiagram2D.h.

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

Definition at line 119 of file itkVoronoiDiagram2D.h.

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

Typedefs from itkMesh

Definition at line 74 of file itkVoronoiDiagram2D.h.

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

Definition at line 84 of file itkVoronoiDiagram2D.h.

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

Definition at line 104 of file itkVoronoiDiagram2D.h.

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

Definition at line 86 of file itkVoronoiDiagram2D.h.

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

Definition at line 102 of file itkVoronoiDiagram2D.h.

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

Definition at line 94 of file itkVoronoiDiagram2D.h.

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

Definition at line 57 of file itkVoronoiDiagram2D.h.

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

Definition at line 77 of file itkVoronoiDiagram2D.h.

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

Definition at line 117 of file itkVoronoiDiagram2D.h.

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

Definition at line 81 of file itkVoronoiDiagram2D.h.

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

Definition at line 97 of file itkVoronoiDiagram2D.h.

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

Definition at line 98 of file itkVoronoiDiagram2D.h.

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

Definition at line 91 of file itkVoronoiDiagram2D.h.

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

Definition at line 80 of file itkVoronoiDiagram2D.h.

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

Definition at line 109 of file itkVoronoiDiagram2D.h.

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

Definition at line 114 of file itkVoronoiDiagram2D.h.

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

Definition at line 113 of file itkVoronoiDiagram2D.h.

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

Standard class type aliases.

Definition at line 55 of file itkVoronoiDiagram2D.h.

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

Definition at line 56 of file itkVoronoiDiagram2D.h.

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

Definition at line 120 of file itkVoronoiDiagram2D.h.

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

The iterator for Voronoi edges,

Definition at line 165 of file itkVoronoiDiagram2D.h.

Constructor & Destructor Documentation

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

Member Function Documentation

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

Definition at line 181 of file itkVoronoiDiagram2D.h.

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

Definition at line 242 of file itkVoronoiDiagram2D.h.

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

Definition at line 237 of file itkVoronoiDiagram2D.h.

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

Definition at line 247 of file itkVoronoiDiagram2D.h.

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

Definition at line 197 of file itkVoronoiDiagram2D.h.

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

Definition at line 187 of file itkVoronoiDiagram2D.h.

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.

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

The Iterator of all the edges for the Voronoi diagram.

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

Definition at line 207 of file itkVoronoiDiagram2D.h.

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

Definition at line 227 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 257 of file itkVoronoiDiagram2D.h.

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

Definition at line 267 of file itkVoronoiDiagram2D.h.

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

Definition at line 276 of file itkVoronoiDiagram2D.h.

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

Definition at line 252 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 262 of file itkVoronoiDiagram2D.h.

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

Definition at line 202 of file itkVoronoiDiagram2D.h.

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

Definition at line 222 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 >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
overrideprotectedvirtual

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::DataObject.

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 ( )

Iterators for all the vertices of the voronoi diagram.

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

Definition at line 212 of file itkVoronoiDiagram2D.h.

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

Definition at line 232 of file itkVoronoiDiagram2D.h.

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

Definition at line 192 of file itkVoronoiDiagram2D.h.

Member Data Documentation

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

Definition at line 292 of file itkVoronoiDiagram2D.h.

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

Definition at line 295 of file itkVoronoiDiagram2D.h.

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

Definition at line 294 of file itkVoronoiDiagram2D.h.

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

Definition at line 288 of file itkVoronoiDiagram2D.h.

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

Definition at line 287 of file itkVoronoiDiagram2D.h.

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

Definition at line 290 of file itkVoronoiDiagram2D.h.

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

Definition at line 291 of file itkVoronoiDiagram2D.h.

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

Definition at line 289 of file itkVoronoiDiagram2D.h.

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

Definition at line 71 of file itkVoronoiDiagram2D.h.

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

Dimensions of the points and topology.

Definition at line 70 of file itkVoronoiDiagram2D.h.


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