<!DOCTYPE FilterScript>

<!-- 

 Meshlabserver Script

 ~PART Two~
 
 This script is specific to the smoothing of the patella bone (PTB) in Meshlab. The following summarizes the process:

 [L]aplacian Smoothing: Smooth = 20, Decimate = 0
 [V]CG Surface Reconstruction: Voxel Side (world unit) = 0.5
 [T]aubin Smoothing: Lambda = 0.5, mu = -0.53 (defaults)
 [I]soParameterization: Sampling Rate = 7
 [T]aubin Smoothing: Lambda = 0.5, mu = -0.53 (defaults)

 This script would need to be done after having performed the Laplacian Smoothing in Slicer3D before exporting.
 
 by Connor Lough  loughc@ccf.org

-->

<FilterScript>
 <filter name="Taubin Smooth">
  <Param type="RichFloat" value="0.5" name="lambda"/>
  <Param type="RichFloat" value="-0.53" name="mu"/>
  <Param type="RichInt" value="10" name="stepSmoothNum"/>
  <Param type="RichBool" value="false" name="Selected"/>
 </filter>
 <filter name="Iso Parametrization">
  <Param type="RichInt" value="140" name="targetAbstractMinFaceNum"/>
  <Param type="RichInt" value="160" name="targetAbstractMaxFaceNum"/>
  <Param enum_val0="Best Heuristic" enum_val1="Area + Angle" enum_cardinality="4" enum_val2="Regularity" enum_val3="L2" type="RichEnum" value="1" name="stopCriteria"/>
  <Param type="RichInt" value="1" name="convergenceSpeed"/>
  <Param type="RichBool" value="true" name="DoubleStep"/>
 </filter>
 <filter name="Iso Parametrization Remeshing">
  <Param type="RichInt" value="7" name="SamplingRate"/>
 </filter>
 <filter name="Taubin Smooth">
  <Param type="RichFloat" value="0.5" name="lambda"/>
  <Param type="RichFloat" value="-0.53" name="mu"/>
  <Param type="RichInt" value="10" name="stepSmoothNum"/>
  <Param type="RichBool" value="false" name="Selected"/>
 </filter>
</FilterScript>
