ITK
4.2.0
Insight Segmentation and Registration Toolkit
|
#include <itkVoronoiDiagram2DGenerator.h>
Classes | |
class | FortuneEdge |
class | FortuneHalfEdge |
class | FortuneSite |
Static Public Member Functions | |
static Pointer | New () |
Static Private Member Functions | |
static bool | comp (PointType arg1, PointType arg2) |
Private Attributes | |
FortuneSite * | m_BottomSite |
FortuneEdge | m_DELETED |
double | m_Deltax |
double | m_Deltay |
std::vector< FortuneHalfEdge * > | m_ELHash |
unsigned int | m_ELhashsize |
FortuneHalfEdge | m_ELleftend |
FortuneHalfEdge | m_ELrightend |
unsigned int | m_Nedges |
unsigned int | m_NumberOfSeeds |
unsigned int | m_Nvert |
OutputType | m_OutputVD |
unsigned int | m_PQcount |
std::vector< FortuneHalfEdge > | m_PQHash |
unsigned int | m_PQhashsize |
int | m_PQmin |
double | m_Pxmax |
double | m_Pxmin |
double | m_Pymax |
double | m_Pymin |
SeedsType | m_Seeds |
std::vector< FortuneSite > | m_SeedSites |
double | m_SqrtNSites |
PointType | m_VorBoundary |
Friends | |
class | FortuneEdge |
class | FortuneHalfEdge |
class | FortuneSite |
Implement the Sweep Line Algorithm for the construction of the 2D Voronoi Diagram.
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 51 of file itkVoronoiDiagram2DGenerator.h.
typedef SmartPointer< const Self > itk::VoronoiDiagram2DGenerator< TCoordType >::ConstPointer |
Reimplemented from itk::MeshSource< VoronoiDiagram2D< TCoordType > >.
Definition at line 58 of file itkVoronoiDiagram2DGenerator.h.
typedef VDMesh::CoordRepType itk::VoronoiDiagram2DGenerator< TCoordType >::CoordRepType |
Definition at line 74 of file itkVoronoiDiagram2DGenerator.h.
typedef VDMesh::EdgeInfo itk::VoronoiDiagram2DGenerator< TCoordType >::EdgeInfo |
Definition at line 72 of file itkVoronoiDiagram2DGenerator.h.
typedef VDMesh::EdgeInfoDQ itk::VoronoiDiagram2DGenerator< TCoordType >::EdgeInfoDQ |
Definition at line 73 of file itkVoronoiDiagram2DGenerator.h.
typedef VDMesh::Pointer itk::VoronoiDiagram2DGenerator< TCoordType >::OutputType |
Definition at line 69 of file itkVoronoiDiagram2DGenerator.h.
typedef SmartPointer< Self > itk::VoronoiDiagram2DGenerator< TCoordType >::Pointer |
Reimplemented from itk::MeshSource< VoronoiDiagram2D< TCoordType > >.
Definition at line 57 of file itkVoronoiDiagram2DGenerator.h.
typedef VDMesh::PointType itk::VoronoiDiagram2DGenerator< TCoordType >::PointType |
Definition at line 70 of file itkVoronoiDiagram2DGenerator.h.
typedef VDMesh::SeedsIterator itk::VoronoiDiagram2DGenerator< TCoordType >::SeedsIterator |
Definition at line 68 of file itkVoronoiDiagram2DGenerator.h.
typedef VDMesh::SeedsType itk::VoronoiDiagram2DGenerator< TCoordType >::SeedsType |
Definition at line 71 of file itkVoronoiDiagram2DGenerator.h.
typedef VoronoiDiagram2DGenerator itk::VoronoiDiagram2DGenerator< TCoordType >::Self |
Standard class typedefs.
Reimplemented from itk::MeshSource< VoronoiDiagram2D< TCoordType > >.
Definition at line 55 of file itkVoronoiDiagram2DGenerator.h.
typedef MeshSource< VoronoiDiagram2D< TCoordType > > itk::VoronoiDiagram2DGenerator< TCoordType >::Superclass |
Reimplemented from itk::MeshSource< VoronoiDiagram2D< TCoordType > >.
Definition at line 56 of file itkVoronoiDiagram2DGenerator.h.
typedef VoronoiDiagram2D< TCoordType > itk::VoronoiDiagram2DGenerator< TCoordType >::VDMesh |
Convenient typedefs.
Definition at line 64 of file itkVoronoiDiagram2DGenerator.h.
typedef VDMesh::VoronoiEdge itk::VoronoiDiagram2DGenerator< TCoordType >::VoronoiEdge |
Definition at line 75 of file itkVoronoiDiagram2DGenerator.h.
|
protected |
|
protected |
|
private |
void itk::VoronoiDiagram2DGenerator< TCoordType >::AddOneSeed | ( | PointType | ) |
void itk::VoronoiDiagram2DGenerator< TCoordType >::AddSeeds | ( | int | num, |
SeedsIterator | begin | ||
) |
Add more seeds at one time.
|
private |
|
private |
|
private |
|
staticprivate |
|
private |
|
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::MeshSource< VoronoiDiagram2D< TCoordType > >.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
protectedvirtual |
Generate Voronoi Diagram based on the current list of seeds.
Reimplemented from itk::ProcessObject.
|
inlinevirtual |
Produce the output information.
Reimplemented from itk::ProcessObject.
Definition at line 93 of file itkVoronoiDiagram2DGenerator.h.
|
private |
|
private |
|
virtual |
Standard part of every itk Object.
Reimplemented from itk::MeshSource< VoronoiDiagram2D< TCoordType > >.
|
virtual |
Get the number of seed points.
|
private |
|
private |
PointType itk::VoronoiDiagram2DGenerator< TCoordType >::GetSeed | ( | int | SeedID | ) |
Return the given indexed seed.
|
private |
|
private |
|
private |
|
private |
|
static |
Method for creation through the object factory.
Reimplemented from itk::MeshSource< VoronoiDiagram2D< TCoordType > >.
|
private |
Time when GenerateOutputInformation was last called.
Reimplemented from itk::MeshSource< VoronoiDiagram2D< TCoordType > >.
|
private |
|
private |
|
private |
|
protectedvirtual |
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 > >.
|
private |
void itk::VoronoiDiagram2DGenerator< TCoordType >::SetBoundary | ( | PointType | vorsize | ) |
The boundary that enclose the whole voronoi diagram.
void itk::VoronoiDiagram2DGenerator< TCoordType >::SetOrigin | ( | PointType | vorsize | ) |
void itk::VoronoiDiagram2DGenerator< TCoordType >::SetRandomSeeds | ( | int | num | ) |
Set the seeds points randomly.
void itk::VoronoiDiagram2DGenerator< TCoordType >::SetSeeds | ( | int | num, |
SeedsIterator | begin | ||
) |
Input the seeds information, will overwrite if seeds already exists.
void itk::VoronoiDiagram2DGenerator< TCoordType >::SortSeeds | ( | void | ) |
Sort the seeds by ____.
void itk::VoronoiDiagram2DGenerator< TCoordType >::UpdateDiagram | ( | void | ) |
Update the Voronoi Diagram after adding seed(s).
|
friend |
Definition at line 140 of file itkVoronoiDiagram2DGenerator.h.
|
friend |
Definition at line 141 of file itkVoronoiDiagram2DGenerator.h.
|
friend |
All private nested classes must be friend classes to work with SunOS-CC compiler. If not, the private nested classes will not be able to access each other.
Definition at line 135 of file itkVoronoiDiagram2DGenerator.h.
|
private |
Definition at line 197 of file itkVoronoiDiagram2DGenerator.h.
|
private |
Definition at line 205 of file itkVoronoiDiagram2DGenerator.h.
|
private |
Definition at line 188 of file itkVoronoiDiagram2DGenerator.h.
|
private |
Definition at line 189 of file itkVoronoiDiagram2DGenerator.h.
|
private |
Definition at line 203 of file itkVoronoiDiagram2DGenerator.h.
|
private |
Definition at line 200 of file itkVoronoiDiagram2DGenerator.h.
|
private |
Definition at line 201 of file itkVoronoiDiagram2DGenerator.h.
|
private |
Definition at line 202 of file itkVoronoiDiagram2DGenerator.h.
|
private |
Definition at line 195 of file itkVoronoiDiagram2DGenerator.h.
|
private |
Definition at line 121 of file itkVoronoiDiagram2DGenerator.h.
|
private |
Definition at line 196 of file itkVoronoiDiagram2DGenerator.h.
|
private |
Definition at line 123 of file itkVoronoiDiagram2DGenerator.h.
|
private |
Definition at line 192 of file itkVoronoiDiagram2DGenerator.h.
|
private |
Definition at line 198 of file itkVoronoiDiagram2DGenerator.h.
|
private |
Definition at line 194 of file itkVoronoiDiagram2DGenerator.h.
|
private |
Definition at line 193 of file itkVoronoiDiagram2DGenerator.h.
|
private |
Definition at line 185 of file itkVoronoiDiagram2DGenerator.h.
|
private |
Definition at line 184 of file itkVoronoiDiagram2DGenerator.h.
|
private |
Definition at line 187 of file itkVoronoiDiagram2DGenerator.h.
|
private |
Definition at line 186 of file itkVoronoiDiagram2DGenerator.h.
|
private |
Definition at line 124 of file itkVoronoiDiagram2DGenerator.h.
|
private |
Definition at line 206 of file itkVoronoiDiagram2DGenerator.h.
|
private |
Definition at line 190 of file itkVoronoiDiagram2DGenerator.h.
|
private |
Definition at line 122 of file itkVoronoiDiagram2DGenerator.h.