VMTKMESHVIEWER(1)

πŸ“¦ version 1.5.0, in ubuntu stonking

πŸ’– 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.0 is 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, 256 by 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 -disabled to 1, 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