# VTK9.0 RC1: vtkScalarBarActorInternal.h not installed

**URL:** https://discourse.vtk.org/t/vtk9-0-rc1-vtkscalarbaractorinternal-h-not-installed/2855
**Category:** Support
**Created:** [March 20, 2020, 8:26am UTC](https://discourse.vtk.org/t/vtk9-0-rc1-vtkscalarbaractorinternal-h-not-installed/2855 "2020-03-20T08:26:50Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![lukas](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/l/e9a140/32.png) [@lukas](https://discourse.vtk.org/u/lukas)
#### Post date: [March 20, 2020, 8:26am UTC](https://discourse.vtk.org/t/vtk9-0-rc1-vtkscalarbaractorinternal-h-not-installed/2855/1 "2020-03-20T08:26:50Z")

</div>

Hi all,

I have a problem with the vtkScalarBarActor in RC1 of VTK9.0.

I am working with VTK libraries installed with ninja install. With VTK8.2 I am able to create a subclass of vtkScalarBarActor and access the pointer to the protected member `vtkScalarBarActorInternal* P` by including vtkScalarBarActorInternal.h in my cpp file.

With VTK9.0 RC1 this is not possible anymore because vtkScalarBarActorInternal.h is set as a PRIVATE\_HEADER in Rendering/Annotation/CMakeLists.txt and therefore not included in the installed VTK.

Is this behavior intended? If yes, what is the correct way of accessing the internal state of vtkScalarBarActor from a subclass?

Regards,  
Lukas

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.vtk.org/u/ben.boeckel)
#### Post date: [March 20, 2020, 1:02pm UTC](https://discourse.vtk.org/t/vtk9-0-rc1-vtkscalarbaractorinternal-h-not-installed/2855/2 "2020-03-20T13:02:42Z")

</div>

It was an oversight. MR is here: [https://gitlab.kitware.com/vtk/vtk/-/merge\_requests/6605](https://gitlab.kitware.com/vtk/vtk/-/merge_requests/6605)
