fast::MeshToSegmentation class

Converts a line (2D) or triangle (3D) mesh to a segmentation image.

To set the output size of segmentation image, either supply an image to input port 1, or manually specify the size.

Inputs:

  • 0: Mesh to convert
  • 1: (Optional) Image to get size of output from

Outputs:

  • 0: Image - Segmentation image

Base classes

class ProcessObject
Abstract base class for all process objects.

Public functions

void setOutputImageResolution(uint x, uint y, uint z = 1)

Private functions

void execute() virtual

Function documentation

void fast::MeshToSegmentation::setOutputImageResolution(uint x, uint y, uint z = 1)

Parameters
x
y
z

Set output image resolution in voxels