Sample Points (Surface)

Generate points along edges or faces at regular distance.

Note

Random sampling should be coming in next VTK release (reference).

Input

edge wireframe, polygonal mesh

Output

point cloud

VTK classes

vtkPolyDataPointSampler, vtkTriangleFilter

Options

../_images/properties-sample-points-surface.png
Distance

Target spacing of the sampled points.

Sample edges

If this option is turned on, points will be sampled along edges.

Sample faces

If this option is turned on, points will be sampled on faces.

Example

../_images/example-sample-points-surface.png

Left: The default cube. Middle: Cube with Sample points (surface) and Sample edges. Right: Cube with Sample points (surface) and Sample faces.