VMTKSURFACECURVATURE(1)

πŸ“¦ version 1.5.0, in ubuntu stonking

🌸 VMTKSURFACECURVATURE 🌸

okay bestie, gather round, because this is vmtksurfacecurvature β€” a User Commands girly from the VMTK fam, and she is all about that curvature life. no cap. πŸ’…


✨ NAME ✨

vmtksurfacecurvature β€” literally just the vmtk script called vmtksurfacecurvature. she does what it says on the tin, and the tin says curvature. πŸŽ€


πŸ’– DESCRIPTION πŸ’–

so here's the vibe: vmtksurfacecurvature does the automatic piping thing that all the vmtk scripts do (yes, the classic Automatic piping / Parsing options combo, it's giving family tradition), and then:

vmtksurfacecurvature : computes the curvature of an input surface, and β€” get this β€” optionally reports results back to a reference surface (by point id). that's the glow-up. πŸ¦‹

heads up bestie: there are two whole groups of arguments down here β€” the Input arguments and the Output arguments β€” and the same names show up in both (-id, -handle), so don't get it twisted. iykyk.

🌈 Input arguments 🌈

  • -id β€” oh wait, the full name is Id, type (str,1), and the default is default=0. it's the script id, the little name tag she wears at the party. πŸ’–
  • -handle β€” Self, type (self,1). this is the handle to self, no default listed, it's just… her. main character energy, honestly. πŸ‘‘
  • -disabled β€” Disabled, type (bool,1), default=0. flip this and you disable execution and piping, i.e. she sits the whole thing out. sometimes you just need a nap. 😭
  • -i β€” Surface, type (vtkPolyData,1). this is the input surface. THE moment. THE subject. ✨
  • -ifile β€” SurfaceInputFileName, type (str,1). the filename for the default Surface reader, in case you'd rather hand her a file than an object. πŸ“
  • -r β€” ReferenceSurface, type (vtkPolyData,1). the reference surface β€” aka where the results go to get reported back by point id. 🫢
  • -rfile β€” ReferenceSurfaceInputFileName, type (str,1). the filename for the default ReferenceSurface reader. yes, she even has a reader for the reference one. so thorough. 🧚
  • -type β€” CurvatureType, type (str,1), and it has to be one of ['mean', 'gaussian', 'maximum', 'minimum']; default=mean. this picks the type of surface curvature to compute. mean is the default bestie but gaussian, maximum and minimum are all right there waiting their turn. πŸ’œ
  • -absolute β€” AbsoluteCurvature, type (bool,1), default=0. turn it on and she'll output the absolute value of curvature β€” no more sad little negatives. ⭐
  • -median β€” MedianFiltering, type (bool,1), default=0. this one outputs curvature after median filtering, which is the whole point: it suppresses numerical noise speckles. literally a skincare routine for your mesh. 🌸
  • -boundaries β€” CurvatureOnBoundaries, type (bool,1), default=0. flip it to compute curvature on boundaries too, not just the cozy interior. πŸŽ€
  • -reciprocal β€” BoundedReciprocal, type (bool,1), default=0. outputs the bounded reciprocal of curvature. she's being polite about the denominator, we love a safe queen. πŸ’…
  • -epsilon β€” Epsilon, type (float,1), default=1.0. this is the bounded reciprocal epsilon at the denominator β€” the literal little buffer keeping that reciprocal from going feral. πŸ”₯
  • -offset β€” Offset, type (float,1), default=0.0. offsets the curvature by the specified value. default is a chill 0.0, so no sneaky shifting unless you ask. 🌈
  • -ofile β€” SurfaceOutputFileName, type (str,1). the filename for the default Surface writer. where the curvature goes to live out its dreams. πŸ’–

πŸ¦‹ Output arguments πŸ¦‹

  • -id β€” Id, type (str,1), default=0. yep, the script id again β€” she contains multitudes (and both an input and an output version of this arg). πŸ™ˆ
  • -handle β€” Self, type (self,1). the handle to self on the way back out. she's still her. iconic. ✨
  • -o β€” Surface, type (vtkPolyData,1). the output surface β€” the one that's all curvy and gorgeous and ready to be piped onward. πŸ’œ

tiny reminder: everything above is vmtk's automatic piping + parsing options situation, so these args are meant to be piped around like a group chat. don't fight the pipeline, bestie. 🫢

and that's the whole page, periodt. πŸ’… this vibe check was brought to you by vmtksurfacecurvature 1.5, dated April 2026 β€” thanks for coming to my ted talk, go compute some curvature, mwah! πŸŽ€πŸ’–βœ¨

πŸ“¦ where this page comes from