# Java wrapper: vtkBoudingBox is not visible

**URL:** https://discourse.vtk.org/t/java-wrapper-vtkboudingbox-is-not-visible/16395
**Category:** Support
**Created:** [April 23, 2026, 1:28pm UTC](https://discourse.vtk.org/t/java-wrapper-vtkboudingbox-is-not-visible/16395 "2026-04-23T13:28:24Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![jMaxR](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/j/eb9ed0/32.png) [@jMaxR](https://discourse.vtk.org/u/jMaxR)
#### Post date: [April 23, 2026, 1:28pm UTC](https://discourse.vtk.org/t/java-wrapper-vtkboudingbox-is-not-visible/16395/1 "2026-04-23T13:28:24Z")

</div>

Hi,

I’m using VTK via the Java wrapper to display various objects. When I add an object, I have to call ResetCamera() to ensure that my new object is visible. I’d like to handle this using bounding boxes so that I only reset the camera when necessary. But the vtkBoundingBox class is not visible in the Java 9.5 wrapper (it is included in the vtk.jar, but “not visible”). I assume I’m missing something. I can’t figure out what. Do I have to do all the bounding boxes arithmetic myself? That makes no sense to me, and I haven’t made any progress by reading the documentation. Any help would be greatly appreciated.

Best regards

jMax

---

<div class="post-metadata">

### Author: ![dgobbi](https://discourse.vtk.org/user_avatar/discourse.vtk.org/dgobbi/32/18_2.png) [@dgobbi](https://discourse.vtk.org/u/dgobbi)
#### Post date: [April 23, 2026, 2:36pm UTC](https://discourse.vtk.org/t/java-wrapper-vtkboudingbox-is-not-visible/16395/2 "2026-04-23T14:36:26Z")

</div>

The vtkRenderer has a method `ComputeVisiblePropBounds()` that will compute the bounds without resetting the camera.

There are no plans to make vtkBoundingBox available through Java, as far as I know.
