Plugin type: mesh/filter
Prev | Chapter 3. Plugin Reference | Next

## 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:

Name | Type | Default | Description
--- | --- | --- | ---
img | string | (required) | 3DImage that contains 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:

Name | Type | Default | Description
--- | --- | --- | ---
angle | float | 5 | Tolerance angle (in degree) that the normal can diviate from the provided direction.
dir | 3dfvector | (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:

Name | Type | Default | Description
--- | --- | --- | ---
anisoscale | 3dfvector | [[1,1,1]] | Ansiotropic scaling parameter.
box-end | 3dfvector | [[256,256,256]] | Box end for fitbox scaling.
box-start | 3dfvector | [[0,0,0]] | Box start for fitbox scaling.
isoscale | float | 1 | Isotropic scaling parameter.
shift | 3dfvector | [[0,0,0]] | Shift mesh after scaling.

strategy

dict

iso-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'
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'
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-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:

Name | Type | Default | Description
--- | --- | --- | ---
dir | 3dfvector | [[0,0,1]] | Sorting direction,

#### Plugin consumers:

mia-meshfilter

Prev | Up | Next
Plugin type: generator/noise | Home | Plugin type: mesh/io