template<typename TCoordinate>
class itk::VoronoiDiagram2DGenerator< TCoordinate >
Implement the Sweep Line Algorithm for the construction of the 2D Voronoi Diagram.
Detailed information on this method can be found in [37].
Input parameters are: (1) Size of the region. (2) Seed points coordinates. These coordinates can also be randomly set.
- Template Parameters
-
TCoordinate | The type associated with the coordination of the seeds and the resulting vertices. |
- ITK Sphinx Examples:
-
Definition at line 48 of file itkVoronoiDiagram2DGenerator.h.
|
void | AddOneSeed (PointType) |
|
void | AddSeeds (int num, SeedsIterator begin) |
|
virtual::itk::LightObject::Pointer | CreateAnother () const |
|
void | GenerateOutputInformation () override |
|
const char * | GetNameOfClass () const override |
|
virtual unsigned int | GetNumberOfSeeds () const |
|
PointType | GetSeed (int SeedID) |
|
void | SetBoundary (PointType vorsize) |
|
void | SetOrigin (PointType vorsize) |
|
void | SetRandomSeeds (int num) |
|
void | SetSeeds (int num, SeedsIterator begin) |
|
void | SortSeeds () |
|
void | UpdateDiagram () |
|
OutputMeshType * | GetOutput () |
|
OutputMeshType * | GetOutput () |
|
OutputMeshType * | GetOutput (unsigned int idx) |
|
OutputMeshType * | GetOutput (unsigned int idx) |
|
virtual void | GraftNthOutput (unsigned int idx, DataObject *graft) |
|
virtual void | GraftNthOutput (unsigned int idx, DataObject *graft) |
|
virtual void | GraftOutput (const DataObjectIdentifierType &key, DataObject *graft) |
|
virtual void | GraftOutput (const DataObjectIdentifierType &key, DataObject *graft) |
|
virtual void | GraftOutput (DataObject *graft) |
|
virtual void | GraftOutput (DataObject *graft) |
|
virtual DataObjectPointer | MakeOutput (const DataObjectIdentifierType &) |
|
virtual void | SetOutput (const DataObjectIdentifierType &name, DataObject *output) |
|
void | SetOutput (VoronoiDiagram2D< TCoordinate > *output) |
|
void | SetOutput (VoronoiDiagram2D< TCoordinate > *output) |
|
virtual void | SetOutput (const DataObjectIdentifierType &name, DataObject *output) |
|
DataObjectPointer | MakeOutput (DataObjectPointerArraySizeType idx) override |
|
DataObjectPointer | MakeOutput (DataObjectPointerArraySizeType idx) override |
|
virtual DataObjectPointer | MakeOutput (const DataObjectIdentifierType &) |
|
virtual void | AbortGenerateDataOff () |
|
virtual void | AbortGenerateDataOn () |
|
virtual void | EnlargeOutputRequestedRegion (DataObject *output) |
|
virtual const bool & | GetAbortGenerateData () const |
|
DataObjectPointerArray | GetIndexedInputs () |
|
DataObjectPointerArray | GetIndexedOutputs () |
|
NameArray | GetInputNames () const |
|
DataObjectPointerArray | GetInputs () |
|
MultiThreaderType * | GetMultiThreader () const |
|
DataObjectPointerArraySizeType | GetNumberOfIndexedInputs () const |
|
DataObjectPointerArraySizeType | GetNumberOfIndexedOutputs () const |
|
DataObjectPointerArraySizeType | GetNumberOfInputs () const |
|
DataObjectPointerArraySizeType | GetNumberOfOutputs () const |
|
virtual DataObjectPointerArraySizeType | GetNumberOfValidRequiredInputs () const |
|
NameArray | GetOutputNames () const |
|
DataObjectPointerArray | GetOutputs () |
|
virtual float | GetProgress () const |
|
NameArray | GetRequiredInputNames () const |
|
bool | HasInput (const DataObjectIdentifierType &key) const |
|
bool | HasOutput (const DataObjectIdentifierType &key) const |
|
void | IncrementProgress (float increment) |
|
virtual void | PrepareOutputs () |
|
virtual void | PropagateRequestedRegion (DataObject *output) |
|
virtual void | ResetPipeline () |
|
virtual void | SetAbortGenerateData (bool _arg) |
|
void | SetMultiThreader (MultiThreaderType *threader) |
|
virtual void | Update () |
|
virtual void | UpdateLargestPossibleRegion () |
|
virtual void | UpdateOutputData (DataObject *output) |
|
virtual void | UpdateOutputInformation () |
|
void | UpdateProgress (float progress) |
|
virtual void | SetReleaseDataFlag (bool val) |
|
virtual bool | GetReleaseDataFlag () const |
|
void | ReleaseDataFlagOn () |
|
void | ReleaseDataFlagOff () |
|
virtual void | SetReleaseDataBeforeUpdateFlag (bool _arg) |
|
virtual const bool & | GetReleaseDataBeforeUpdateFlag () const |
|
virtual void | ReleaseDataBeforeUpdateFlagOn () |
|
virtual void | ReleaseDataBeforeUpdateFlagOff () |
|
virtual void | SetNumberOfWorkUnits (ThreadIdType _arg) |
|
virtual const ThreadIdType & | GetNumberOfWorkUnits () const |
|
unsigned long | AddObserver (const EventObject &event, Command *cmd) const |
|
unsigned long | AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const |
|
virtual void | DebugOff () const |
|
virtual void | DebugOn () const |
|
Command * | GetCommand (unsigned long tag) |
|
bool | GetDebug () const |
|
MetaDataDictionary & | GetMetaDataDictionary () |
|
const MetaDataDictionary & | GetMetaDataDictionary () const |
|
virtual ModifiedTimeType | GetMTime () const |
|
virtual const TimeStamp & | GetTimeStamp () 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) const |
|
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 |
|
Pointer | Clone () const |
|
virtual void | Delete () |
|
virtual int | GetReferenceCount () const |
|
void | Print (std::ostream &os, Indent indent=0) const |
|
|
bool | almostsame (CoordinateType p1, CoordinateType p2) |
|
void | bisect (FortuneEdge *, FortuneSite *s1, FortuneSite *s2) |
|
void | clip_line (FortuneEdge *task) |
|
void | ConstructDiagram () |
|
void | createHalfEdge (FortuneHalfEdge *task, FortuneEdge *e, bool pm) |
|
void | deleteEdgeList (FortuneHalfEdge *task) |
|
void | deletePQ (FortuneHalfEdge *task) |
|
bool | differentPoint (PointType p1, PointType p2) |
|
double | dist (FortuneSite *s1, FortuneSite *s2) |
|
FortuneHalfEdge * | ELgethash (int b) |
|
FortuneHalfEdge * | findLeftHE (PointType *p) |
|
void | GenerateVDFortune () |
|
FortuneSite * | getLeftReg (FortuneHalfEdge *he) |
|
FortuneHalfEdge * | getPQmin () |
|
FortuneSite * | getRightReg (FortuneHalfEdge *he) |
|
void | insertEdgeList (FortuneHalfEdge *lbase, FortuneHalfEdge *lnew) |
|
void | insertPQ (FortuneHalfEdge *he, FortuneSite *v, double offset) |
|
void | intersect (FortuneSite *newV, FortuneHalfEdge *el1, FortuneHalfEdge *el2) |
|
void | makeEndPoint (FortuneEdge *task, bool lr, FortuneSite *ends) |
|
unsigned char | Pointonbnd (int VertID) |
|
int | PQbucket (FortuneHalfEdge *task) |
|
void | PQshowMin (PointType *answer) |
|
bool | right_of (FortuneHalfEdge *el, PointType *p) |
|