VMTKMESHVIEWER(1)
π NAME π
vmtkmeshviewer β it's a vmtk script, bestie, and its whole government name is also vmtkmeshviewer π«Ά
β¨ DESCRIPTION β¨
Okay so real talk: vmtkmeshviewer does the automatic piping thing, and it also does the parsing options thing β both of those are literally the script's name glued onto them, iconic π
. But what it's actually here for?
vmtkmeshviewer : display a mesh π periodt.
Here's everything it can take and everything it can hand back πΈ
π Input arguments
-idβ Id (str,1); default=0: the script id, iykyk π-handleβ Self (self,1): a handle to self, lowkey just itself πͺ-disabledβ Disabled (bool,1); default=0: turn this on and it disables execution and piping, so nothing runs π«₯-iβ Mesh (vtkUnstructuredGrid,1): this is the input mesh, the main character of the whole operation β¨-ifileβ MeshInputFileName (str,1): filename for the default Mesh reader, for when you'd rather pass a file than a live object π-rendererβ vmtkRenderer (vmtkRenderer,1): an external renderer you can bring along, sharing is caring π₯οΈ-displayβ Display (bool,1); default=1: toggle rendering on and off π«-opacityβ Opacity (float,1) >= 0.0 and <= 1.0; default=1.0: how see-through the object is in the scene β1.0is fully solid, and no, you cannot go outside that range, the vibes are bounded bestie π«§-arrayβ ArrayName (str,1): the name of the array where the scalars you wanna display are stored π¨-scalarrangeβ ScalarRange (float,2); default=[0.0, 0.0]: the range of the scalar map, and yes it takes two floats π-colormapβ ColorMap (str,1) in['rainbow', 'blackbody', 'cooltowarm', 'grayscale']; default=cooltowarm: pick your color map, choose your fighter π-numberofcolorsβ NumberOfColors (int,1); default=256: how many colors live in the color map,256by default because of course π-legendβ Legend (bool,1); default=0: toggles the scalar bar, so you can actually read what the colors mean π-colorβ Color (float,3); default=[-1.0, -1.0, -1.0]: RGB color of the object in the scene, three floats for three channels π-flatβ FlatInterpolation (bool,1); default=0: toggles flat vs. shaded surface display β flat is that crunchy faceted look, shaded is smooth β¨-ofileβ MeshOutputFileName (str,1): filename for the default Mesh writer, for when you want the mesh saved somewhere after all this π
π Output arguments
-idβ Id (str,1); default=0: the script id again, it really said "and I'll say it twice" π-handleβ Self (self,1): a handle to self, returned to you πͺ-oβ Mesh (vtkUnstructuredGrid,1): the output mesh β your mesh, but out the other side π₯
Heads up bestie: if you set-disabledto1, execution and piping get disabled. That's the whole point of it. Don't be surprised when nothing happens π
That's the whole page, no crumbs left. Version vmtkmeshviewer 1.5, stamped April 2026 β mwah, slay, go display a mesh π¦β¨
π¦ 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