Public Types | Public Member Functions | Public Attributes
vcg::tri::VoronoiProcessingParameter Struct Reference

#include <voronoi_processing.h>

List of all members.

Public Types

enum  { None = 0, DistanceFromSeed = 1, DistanceFromBorder = 2, RegionArea = 3 }

Public Member Functions

 VoronoiProcessingParameter ()

Public Attributes

float areaThresholdPerc
bool collapseShortEdge
float collapseShortEdgePerc
int colorStrategy
bool constrainSelectedSeed
bool deleteUnreachedRegionFlag
bool geodesicRelaxFlag
bool preserveFixedSeed
float refinementRatio
bool relaxOnlyConstrainedFlag
float seedPerturbationAmount
 if true at each iteration step each seed has the given probability to be perturbed a little.
float seedPerturbationProbability
bool triangulateRegion
 As a bbox diag fraction (e.g. in the 0..1 range).
bool unbiasedSeedFlag

Detailed Description

Definition at line 39 of file voronoi_processing.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
None 
DistanceFromSeed 
DistanceFromBorder 
RegionArea 

Definition at line 41 of file voronoi_processing.h.


Constructor & Destructor Documentation

Definition at line 48 of file voronoi_processing.h.


Member Data Documentation

Definition at line 68 of file voronoi_processing.h.

If true when building the voronoi diagram mesh each region is a triangulated polygon. Otherwise it each voronoi region is a star triangulation with the original seed in the center.

Definition at line 97 of file voronoi_processing.h.

Definition at line 98 of file voronoi_processing.h.

Definition at line 66 of file voronoi_processing.h.

Definition at line 72 of file voronoi_processing.h.

Definition at line 69 of file voronoi_processing.h.

Definition at line 100 of file voronoi_processing.h.

Definition at line 81 of file voronoi_processing.h.

If true the 'fixed' seeds are not moved during relaxation.

See also:
FixVertexVector function to see how to fix a set of seeds.

Definition at line 84 of file voronoi_processing.h.

If true the selected vertexes define a constraining domain: During relaxation all selected seeds are constrained to move only on other selected vertices. In this way you can constrain some seed to move only on certain domains, for example moving only along some linear features like border of creases.

Definition at line 79 of file voronoi_processing.h.

if true at each iteration step each seed has the given probability to be perturbed a little.

Definition at line 89 of file voronoi_processing.h.

It defines how much the input mesh has to be refined in order to have a supporting triangulation that is dense enough to well approximate the voronoi diagram. reasonable values are in the range 4..10. It is used by PreprocessForVoronoi and this value says how many triangles you should expect in a voronoi region of a given radius.

Definition at line 88 of file voronoi_processing.h.

As a bbox diag fraction (e.g. in the 0..1 range).

Definition at line 93 of file voronoi_processing.h.

Definition at line 71 of file voronoi_processing.h.


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


shape_reconstruction
Author(s): Roberto Martín-Martín
autogenerated on Sat Jun 8 2019 18:43:55