VMTKDISTANCETOSPHERES(1)
π NAME π
okay so bestie, welcome to vmtkdistancetospheres β it's a vmtk script, living in section 1 of your User Commands, and it's literally about to do the most for your surfaces β¨
π¦ DESCRIPTION π¦
so like, automatic piping?? yes. vmtkdistancetospheres handles the Parsing options for vmtkdistancetospheres all by itself, no cap π
vmtkdistancetospheres : this computes the euclidean from a set of user-selected spheres to a surface πΈ
it's giving "I measure vibes, but make them euclidean." iykyk.
π Input arguments
-idId (str,1); default=0β script id, the little name tag for your script π-handleSelf (self,1) β handle to self, it's holding its own hand, main character energy fr fr π-disabledDisabled (bool,1); default=0β disable execution and piping, the "not me today" switch π-iSurface (vtkPolyData,1) β the input surface, aka the thing we're measuring up against π-ifileSurfaceInputFileName (str,1) β filename for the default Surface reader-distancetospheresarrayDistanceToSpheresArrayName (str,1); default=DistanceToSpheresβ array storing the distances, where all the numbers go to live β¨-offsetDistanceOffset (float,1); default=0.0β offset added to the distances, a lil nudge π«-scaleDistanceScale (float,1.0); default=1.0β scale applied to the distances, glow-up multiplier π₯-mindistanceMinDistance (float,1); default=0.0β minimum value for the distances, the floor babe π§-maxdistanceMaxDistance (float,1); default=-1.0β maximum value for the distances, the ceiling, and yeah-1.0is the default, don't @ me π-opacityOpacity (float,1) >=0.0and <=1.0; default=1.0β object opacities in the scene, how see-through the slay is πΈ-renderervmtkRenderer (vmtkRenderer,1) β external renderer, bringing its own photographer πΈ-ofileSurfaceOutputFileName (str,1) β filename for the default Surface writer
π Output arguments
-idId (str,1); default=0β script id, again, because she contains multitudes β-handleSelf (self,1) β handle to self, still holding on π«Ά-oSurface (vtkPolyData,1) β the surface that comes out the other side, the after pic π
heads up bestie:-opacityis strictly>= 0.0and<= 1.0, no going rogue, the vibe check is mandatory π
and that's the whole page, periodt. this was vmtkdistancetospheres 1.5, dated April 2026 β stan the version, she ate πβ¨π¦
π¦ where this page comes from
- ubuntu stonking: vmtk 1.5.0+dfsg1-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms