#include <itkVoronoiDiagram2DGenerator.h>
Inheritance diagram for itk::VoronoiDiagram2DGenerator:
Public Types | |
typedef VoronoiDiagram2DGenerator | Self |
typedef MeshSource< VoronoiDiagram2D< TCoordType > > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef VoronoiDiagram2D< TCoordType > | VDMesh |
typedef VDMesh::SeedsIterator | SeedsIterator |
typedef VDMesh::Pointer | OutputType |
typedef VDMesh::PointType | PointType |
typedef VDMesh::SeedsType | SeedsType |
typedef VDMesh::EdgeInfo | EdgeInfo |
typedef VDMesh::EdgeInfoDQ | EdgeInfoDQ |
typedef VDMesh::CoordRepType | CoordRepType |
typedef VDMesh::VoronoiEdge | VoronoiEdge |
Public Methods | |
virtual const char * | GetClassName () const |
virtual unsigned int | GetNumberOfSeeds () |
void | SetSeeds (int num, SeedsIterator begin) |
void | SortSeeds (void) |
virtual void | GenerateOutputInformation () |
void | UpdateDiagram (void) |
void | SetRandomSeeds (int num) |
PointType | GetSeed (int SeedID) |
void | AddSeeds (int num, SeedsIterator begin) |
void | AddOneSeed (PointType) |
void | SetBoundary (PointType vorsize) |
void | SetOrigin (PointType vorsize) |
Static Public Methods | |
Pointer | New () |
Protected Methods | |
VoronoiDiagram2DGenerator () | |
~VoronoiDiagram2DGenerator () | |
virtual void | PrintSelf (std::ostream &os, Indent indent) const |
void | GenerateData (void) |
Detailed informations of this method can be found in: "A sweepline algorithm for Voronoi diagrams." S. Fortune, Algorithmica 2, 153-174, 1987.
Input parameters are: (1) Size of the region. (2) Seed points coordinates. These coordinates can also be randomly set.
Template parameters for VoronoiDiagram2DGenerator:
TCoordType: the type associated with the coordination of the seeds and the resulting vertices.
Definition at line 54 of file itkVoronoiDiagram2DGenerator.h.
|
Reimplemented from itk::MeshSource< VoronoiDiagram2D< TCoordType > >. Definition at line 61 of file itkVoronoiDiagram2DGenerator.h. |
|
Definition at line 77 of file itkVoronoiDiagram2DGenerator.h. |
|
Definition at line 75 of file itkVoronoiDiagram2DGenerator.h. |
|
Definition at line 76 of file itkVoronoiDiagram2DGenerator.h. |
|
Definition at line 72 of file itkVoronoiDiagram2DGenerator.h. Referenced by itk::VoronoiDiagram2DGenerator< TCoordType >::GenerateOutputInformation(). |
|
Reimplemented from itk::MeshSource< VoronoiDiagram2D< TCoordType > >. Definition at line 60 of file itkVoronoiDiagram2DGenerator.h. |
|
Definition at line 73 of file itkVoronoiDiagram2DGenerator.h. Referenced by itk::VoronoiDiagram2DGenerator< TCoordType >::GenerateOutputInformation(). |
|
Definition at line 71 of file itkVoronoiDiagram2DGenerator.h. |
|
Definition at line 74 of file itkVoronoiDiagram2DGenerator.h. Referenced by itk::VoronoiDiagram2DGenerator< TCoordType >::GenerateOutputInformation(). |
|
Standard class typedefs. Reimplemented from itk::MeshSource< VoronoiDiagram2D< TCoordType > >. Definition at line 58 of file itkVoronoiDiagram2DGenerator.h. |
|
Reimplemented from itk::MeshSource< VoronoiDiagram2D< TCoordType > >. Definition at line 59 of file itkVoronoiDiagram2DGenerator.h. |
|
Convenient typedefs. Definition at line 70 of file itkVoronoiDiagram2DGenerator.h. |
|
Definition at line 78 of file itkVoronoiDiagram2DGenerator.h. |
|
|
|
|
|
Add more seeds at one time. |
|
Add more seeds at one time. |
|
Generate Voronoi Diagram based on the current list of seeds. Reimplemented from itk::ProcessObject. |
|
Produce the output information. Reimplemented from itk::ProcessObject. Definition at line 96 of file itkVoronoiDiagram2DGenerator.h. References max, itk::VoronoiDiagram2DGenerator< TCoordType >::OutputType, itk::VoronoiDiagram2DGenerator< TCoordType >::PointType, and itk::VoronoiDiagram2DGenerator< TCoordType >::SeedsType. |
|
Standard part of every itk Object. Reimplemented from itk::MeshSource< VoronoiDiagram2D< TCoordType > >. |
|
Get the number of seed points. |
|
Return the given indexed seed. |
|
Method for creation through the object factory. Reimplemented from itk::MeshSource< VoronoiDiagram2D< TCoordType > >. |
|
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::MeshSource< VoronoiDiagram2D< TCoordType > >. |
|
The boundary that enclose the whole voronoi diagram. |
|
The boundary that enclose the whole voronoi diagram. |
|
Set the seeds points randomly. |
|
Input the seeds information, will overwrite if seeds already exists. |
|
Sort the seeds by ____. |
|
Update the Voronoi Diagram after adding seed(s). |