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

#include <itkVoronoiDiagram2D.h>

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

List of all members.

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
CellDataContainer::ConstPointer 
CellDataContainerConstPointer
typedef
CellLinksContainer::ConstPointer 
CellLinksContainerConstPointer
typedef MeshTraits::CellPixelType CellPixelType
enum  CellsAllocationMethodType
typedef
CellsContainer::ConstPointer 
CellsContainerConstPointer
typedef MeshTraits::PointHashType PointHashType
typedef Superclass::RegionType RegionType
- Public Types inherited from itk::PointSet< TCoordType, VDimension, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >
typedef
PointDataContainer::ConstPointer 
PointDataContainerConstPointer
typedef
PointsContainer::ConstPointer 
PointsContainerConstPointer
- Public Types inherited from itk::DataObject
typedef std::string DataObjectIdentifierType
typedef std::vector< Pointer >
::size_type 
DataObjectPointerArraySizeType
- Public Types inherited from itk::Object
- Public Types inherited from itk::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 (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)
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
virtual const
CellsAllocationMethodType
GetCellsAllocationMethod ()
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 *)
virtual void SetCellsAllocationMethod (CellsAllocationMethodType _arg)
void SetCellData (CellIdentifier, CellPixelType)
bool GetCellData (CellIdentifier, CellPixelType *) 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 (void) const
PointDataContainerGetPointData (void)
const PointDataContainerGetPointData (void) const
PointsContainerGetPoints (void)
const PointsContainerGetPoints (void) const
virtual RegionType GetRequestedRegion () const
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 unsigned long 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 (unsigned long time)
virtual const unsigned long & GetPipelineMTime ()
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 unsigned long 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 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 Public Attributes inherited from itk::PointSet< TCoordType, VDimension, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >

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 ()
- Protected Member Functions inherited from itk::PointSet< TCoordType, VDimension, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >
 PointSet ()
 ~PointSet ()
- Protected Member Functions inherited from itk::DataObject
virtual void PropagateResetPipeline ()
 DataObject ()
 ~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 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

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.


Member Typedef Documentation

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

Used to support geometric operations on the toolkit.

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

Definition at line 110 of file itkVoronoiDiagram2D.h.

template<typename TCoordType >
typedef Superclass::CellAutoPointer itk::VoronoiDiagram2D< TCoordType >::CellAutoPointer
template<typename TCoordType >
typedef MeshTraits::CellDataContainer itk::VoronoiDiagram2D< TCoordType >::CellDataContainer
template<typename TCoordType >
typedef CellDataContainer::ConstIterator itk::VoronoiDiagram2D< TCoordType >::CellDataContainerIterator
template<typename TCoordType >
typedef CellDataContainer::Pointer itk::VoronoiDiagram2D< TCoordType >::CellDataContainerPointer
template<typename TCoordType >
typedef CellFeatureIdentifier itk::VoronoiDiagram2D< TCoordType >::CellFeatureCount
template<typename TCoordType >
typedef MeshTraits::CellFeatureIdentifier itk::VoronoiDiagram2D< TCoordType >::CellFeatureIdentifier
template<typename TCoordType >
typedef MeshTraits::CellIdentifier itk::VoronoiDiagram2D< TCoordType >::CellIdentifier
template<typename TCoordType >
typedef MeshTraits::CellLinksContainer itk::VoronoiDiagram2D< TCoordType >::CellLinksContainer
template<typename TCoordType >
typedef CellLinksContainer::ConstIterator itk::VoronoiDiagram2D< TCoordType >::CellLinksContainerIterator
template<typename TCoordType >
typedef CellLinksContainer::Pointer itk::VoronoiDiagram2D< TCoordType >::CellLinksContainerPointer
template<typename TCoordType >
typedef CellType::MultiVisitor itk::VoronoiDiagram2D< TCoordType >::CellMultiVisitorType
template<typename TCoordType >
typedef MeshTraits::CellsContainer itk::VoronoiDiagram2D< TCoordType >::CellsContainer
template<typename TCoordType >
typedef CellsContainer::ConstIterator itk::VoronoiDiagram2D< TCoordType >::CellsContainerConstIterator
template<typename TCoordType >
typedef CellsContainer::Iterator itk::VoronoiDiagram2D< TCoordType >::CellsContainerIterator
template<typename TCoordType >
typedef CellsContainer::Pointer itk::VoronoiDiagram2D< TCoordType >::CellsContainerPointer
template<typename TCoordType >
typedef MeshTraits::CellTraits itk::VoronoiDiagram2D< TCoordType >::CellTraits
template<typename TCoordType >
typedef Superclass::CellType itk::VoronoiDiagram2D< TCoordType >::CellType

The base cell type for cells in this mesh.

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

Definition at line 141 of file itkVoronoiDiagram2D.h.

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

Convenient typedefs obtained from TMeshTraits template parameter.

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

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

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

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

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

Definition at line 80 of file itkVoronoiDiagram2D.h.

template<typename TCoordType >
typedef MeshTraits::PointCellLinksContainer itk::VoronoiDiagram2D< TCoordType >::PointCellLinksContainer
template<typename TCoordType >
typedef PointCellLinksContainer::const_iterator itk::VoronoiDiagram2D< TCoordType >::PointCellLinksContainerIterator
template<typename TCoordType >
typedef MeshTraits::PointDataContainer itk::VoronoiDiagram2D< TCoordType >::PointDataContainer
template<typename TCoordType >
typedef PointDataContainer::ConstIterator itk::VoronoiDiagram2D< TCoordType >::PointDataContainerIterator
template<typename TCoordType >
typedef PointDataContainer::Pointer itk::VoronoiDiagram2D< TCoordType >::PointDataContainerPointer
template<typename TCoordType >
typedef SmartPointer< Self > itk::VoronoiDiagram2D< TCoordType >::Pointer
template<typename TCoordType >
typedef MeshTraits::PointIdentifier itk::VoronoiDiagram2D< TCoordType >::PointIdentifier
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
template<typename TCoordType >
typedef PointsContainer::ConstIterator itk::VoronoiDiagram2D< TCoordType >::PointsContainerConstIterator

Create types that are iterators for each of the container types.

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

Definition at line 124 of file itkVoronoiDiagram2D.h.

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

Create types that are pointers to each of the container types.

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

Definition at line 112 of file itkVoronoiDiagram2D.h.

template<typename TCoordType >
typedef MeshTraits::PointType itk::VoronoiDiagram2D< TCoordType >::PointType
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.

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

Definition at line 57 of file itkVoronoiDiagram2D.h.

template<typename TCoordType >
typedef Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > > itk::VoronoiDiagram2D< TCoordType >::Superclass
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::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >.

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.

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

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

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

Definition at line 276 of file itkVoronoiDiagram2D.h.

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

Definition at line 275 of file itkVoronoiDiagram2D.h.

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

Definition at line 269 of file itkVoronoiDiagram2D.h.

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

Definition at line 268 of file itkVoronoiDiagram2D.h.

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

Definition at line 271 of file itkVoronoiDiagram2D.h.

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

Definition at line 272 of file itkVoronoiDiagram2D.h.

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

Definition at line 270 of file itkVoronoiDiagram2D.h.

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

Dimensions of the points and topology.

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

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.

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

Definition at line 73 of file itkVoronoiDiagram2D.h.


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