Read@CVL
rdf::VoronoiPixelConnector Class Reference

Connects pixels using the Voronoi diagram. NOTE: this is highly experimental for it creates new pixels instead of connecting the input pixels (if you need this, take a look at the DelaunayPixelConnector). More...

#include <PixelSet.h>

Inheritance diagram for rdf::VoronoiPixelConnector:
Collaboration diagram for rdf::VoronoiPixelConnector:

Public Member Functions

 VoronoiPixelConnector ()
 
virtual QVector< QSharedPointer< PixelEdge > > connect (const QVector< QSharedPointer< Pixel > > &pixels) const override
 
- Public Member Functions inherited from rdf::PixelConnector
 PixelConnector ()
 
void setDistanceFunction (const PixelDistance::PixelDistanceFunction &distFnc)
 
void setStopLines (const QVector< Line > &stopLines)
 Sets the stop lines. Edges that intersect with stop lines are removed. More...
 

Additional Inherited Members

- Protected Member Functions inherited from rdf::PixelConnector
QVector< QSharedPointer< PixelEdge > > filter (QVector< QSharedPointer< PixelEdge > > &edges) const
 
- Protected Attributes inherited from rdf::PixelConnector
PixelDistance::PixelDistanceFunction mDistanceFnc
 
QVector< LinemStopLines
 

Detailed Description

Connects pixels using the Voronoi diagram. NOTE: this is highly experimental for it creates new pixels instead of connecting the input pixels (if you need this, take a look at the DelaunayPixelConnector).

See also
PixelConnector

Constructor & Destructor Documentation

rdf::VoronoiPixelConnector::VoronoiPixelConnector ( )

Member Function Documentation

QVector< QSharedPointer< PixelEdge > > rdf::VoronoiPixelConnector::connect ( const QVector< QSharedPointer< Pixel > > &  pixels) const
overridevirtual

Implements rdf::PixelConnector.


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