# Human Orientation Marker in vtk.js

**URL:** https://discourse.vtk.org/t/human-orientation-marker-in-vtk-js/12326
**Category:** vtk.js
**Created:** [September 20, 2023, 1:09pm UTC](https://discourse.vtk.org/t/human-orientation-marker-in-vtk-js/12326 "2023-09-20T13:09:55Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Alireza](https://discourse.vtk.org/user_avatar/discourse.vtk.org/alireza/32/6230_2.png) [@Alireza](https://discourse.vtk.org/u/Alireza)
#### Post date: [September 20, 2023, 1:09pm UTC](https://discourse.vtk.org/t/human-orientation-marker-in-vtk-js/12326/1 "2023-09-20T13:09:55Z")

</div>

As I see right now there is [Cube](https://kitware.github.io/vtk-js/examples/ResliceCursorWidget.html) and [Axis](https://kitware.github.io/vtk-js/examples/InteractiveOrientationWidget.html) orientation markers in the vtk.js,

I know 3D Slicer has this nice human marker too

 ![CleanShot 2023-09-20 at 09.08.23](https://discourse.vtk.org/uploads/default/original/2X/b/bf609cac3a23c93c69e3a491bf551ade48ee632c.jpeg)

If it is possible, but has not been a priority, we can could contribute if we can get some guidance.

Thanks

---

<div class="post-metadata">

### Author: ![finetjul](https://discourse.vtk.org/user_avatar/discourse.vtk.org/finetjul/32/154_2.png) [@finetjul](https://discourse.vtk.org/u/finetjul)
#### Post date: [September 20, 2023, 1:36pm UTC](https://discourse.vtk.org/t/human-orientation-marker-in-vtk-js/12326/2 "2023-09-20T13:36:21Z")

</div>

The [Orientation Marker Widget](https://kitware.github.io/vtk-js/examples/OrientationMarkerWidget.html) takes any actor as input.  
I would say you can add such colored human body mesh in the Data folder of VTK.js and update the Orientation Marker Widget example to switch between a cube, an axis and such human body for demoability purpose.

---

<div class="post-metadata">

### Author: ![Alireza](https://discourse.vtk.org/user_avatar/discourse.vtk.org/alireza/32/6230_2.png) [@Alireza](https://discourse.vtk.org/u/Alireza)
#### Post date: [September 20, 2023, 2:16pm UTC](https://discourse.vtk.org/t/human-orientation-marker-in-vtk-js/12326/3 "2023-09-20T14:16:27Z")

</div>

Do you know where can i find that colored human body mesh? Which actor type should it be? CC’ing Andras to see if he has any input @lassoan

---

<div class="post-metadata">

### Author: ![finetjul](https://discourse.vtk.org/user_avatar/discourse.vtk.org/finetjul/32/154_2.png) [@finetjul](https://discourse.vtk.org/u/finetjul)
#### Post date: [September 20, 2023, 2:19pm UTC](https://discourse.vtk.org/t/human-orientation-marker-in-vtk-js/12326/4 "2023-09-20T14:19:29Z")

</div>

I found it [here](https://github.com/Slicer/Slicer/blob/80ad0a04dacf134754459557bf2638c63f3d1d1b/Base/Logic/Resources/OrientationMarkers/Human.vtp)

---

<div class="post-metadata">

### Author: ![Alireza](https://discourse.vtk.org/user_avatar/discourse.vtk.org/alireza/32/6230_2.png) [@Alireza](https://discourse.vtk.org/u/Alireza)
#### Post date: [September 20, 2023, 2:26pm UTC](https://discourse.vtk.org/t/human-orientation-marker-in-vtk-js/12326/5 "2023-09-20T14:26:49Z")

</div>

Great! Then what should do with that vtp file in summary? Do I need to load it using polydata mapper and actor and configure orientation marker widget to accept it as config?

---

<div class="post-metadata">

### Author: ![finetjul](https://discourse.vtk.org/user_avatar/discourse.vtk.org/finetjul/32/154_2.png) [@finetjul](https://discourse.vtk.org/u/finetjul)
#### Post date: [September 20, 2023, 7:31pm UTC](https://discourse.vtk.org/t/human-orientation-marker-in-vtk-js/12326/6 "2023-09-20T19:31:29Z")

</div>

It would be nice indeed to let the developer choose between pre-defined correctly setup actors (cube, axis, body) while still allowing the developer to provide his own actor.
