# Subject hierarchy doesn't show custom scalar volume node

**URL:** <https://discourse.slicer.org/t/subject-hierarchy-doesnt-show-custom-scalar-volume-node/20156>\
**Category:** Development\
**Created:** [October 14, 2021, 6:42pm UTC](https://discourse.slicer.org/t/subject-hierarchy-doesnt-show-custom-scalar-volume-node/20156 "2021-10-14T18:42:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![keri](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/keri/32/11618_2.png) [@keri](https://discourse.slicer.org/u/keri)\
**Post date:** [October 14, 2021, 6:42pm UTC](https://discourse.slicer.org/t/subject-hierarchy-doesnt-show-custom-scalar-volume-node/20156/1 "2021-10-14T18:42:58Z")

</div>

Hi,

I’m making first steps in developing custom nodes.  
I’ve created `vtkMRMLSeis3DStackNode` inherited from `vtkMRMLSeis3DStackNode`. I registered it using `scene->RegisterNodeClass(vtkSmartPointer<vtkMRMLSeis3DStackNode>::New());`.

When I add to scene my node I only can see it in data module - \> “All nodes”.  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/d/c/dc034fa3e32d14b61b03bfa660e4657ab544d4a3.png)

![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/0/0/00736fd022e874c550bb24ae12b0306fdfb8865e.jpeg)

I can’t find it in “Subject hierarchy” neither in “Volumes” module

---

<div class="post-metadata">

**Author:** ![keri](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/keri/32/11618_2.png) [@keri](https://discourse.slicer.org/u/keri)\
**Post date:** [October 15, 2021, 1:17am UTC](https://discourse.slicer.org/t/subject-hierarchy-doesnt-show-custom-scalar-volume-node/20156/2 "2021-10-15T01:17:03Z")

</div>

My negligence let me down again…  
The typo was in header file: I accidently typed `vtkTypeMacro(vtkMRMLSeis3DStackNode,vtkMRMLTransformableNode);` instead of `vtkTypeMacro(vtkMRMLSeis3DStackNode,vtkMRMLScalarVolumeNode);`

Now I can see my volume on the scene.

---

<div class="post-metadata">

**Author:** ![cpinter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/cpinter/32/7995_2.png) [@cpinter](https://discourse.slicer.org/u/cpinter)\
**Post date:** [October 15, 2021, 9:15am UTC](https://discourse.slicer.org/t/subject-hierarchy-doesnt-show-custom-scalar-volume-node/20156/3 "2021-10-15T09:15:42Z")

</div>

Thanks for the update!
