Plugin type: mesh/filter

These plug-ins provide mesh filters. Unless otherwise noted, they take a triangular mesh as input, process it and hand it to the next filter in the pipeline.

Plugins:

addscale deltribynormal scale selectbig vtxsort

addscale

This filter sorts sets the scale parameter for each vertex from a 3D image. Image and mesh are expected to be in the same physical coordinate space.. Supported parameters are:

NameTypeDefaultDescription
imgstring(required)3DImage that containes the scale values as a volume image.

deltribynormal

This filter deletes all triangles that have a normal that differs by the given angle from the provided direction.. Supported parameters are:

NameTypeDefaultDescription
anglefloat5Tolerance angle (in degree) that the normal can diviate from the provided direction.
dir3dfvector(required)Direction the triangle normals are expected to point to. The orientation of the vector is taken into account.

scale

This plug-in provides a filter to scale triangulat meshes by a given strategy. Supported parameters are:

NameTypeDefaultDescription
anisoscale3dfvector[[1,1,1]]Ansiotropic scaling parameter.
box-end3dfvector[[256,256,256]]Box end for fitbox scaling.
box-start3dfvector[[0,0,0]]Box start for fitbox scaling.
isoscalefloat1Isotropic scaling parameter.
shift3dfvector[[0,0,0]]Shift mesh after scaling.
strategydictiso-linear
Isotropic scaling parameter.
iso-linear:Scale and shirt the mesh by scaling it isotropically as given by parameter 'isoscale' and apply a shift as given by parameter 'shift'
iso-fitbox:Fit the mesh into the given box by shifting it and apply isotropic scaling. The box is given by the parameters 'box-start' for upper, left, frontal corner, and 'box-end' for the lower, right back corner
aniso-linear:Scale and shirt the mesh by scaling it anisotropically as given by parameter 'anisoscale' and apply a shift as given by parameter 'shift'
aniso-fitbox:Fit the mesh into the given box by shifting it and apply anisotropic scaling. The box is given by the parameters 'box-start' for upper, left, frontal corner, and 'box-end' for the lower, right back corner

selectbig

This filter selects the component with the highest number of triangles from a mesh that is actually composed of disconnected components. Components are considered to be disconnected if they don't share a common edge (they might share a common vertex though. (This plug-in doesn't take parameters)

vtxsort

This filter sorts the vertices of a mesh according to the given direction. Specifically, the dot product between the given direction and the vertices will be ordered ascending. Supported parameters are:

NameTypeDefaultDescription
dir3dfvector[[0,0,1]]Sorting direction,

Plugin consumers:

mia-meshfilter