# How to customize vtkBoxRepresentation in python to have 15 points

**URL:** <https://discourse.vtk.org/t/how-to-customize-vtkboxrepresentation-in-python-to-have-15-points/14288>\
**Category:** Development\
**Created:** [July 24, 2024, 8:38am UTC](https://discourse.vtk.org/t/how-to-customize-vtkboxrepresentation-in-python-to-have-15-points/14288 "2024-07-24T08:38:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![phong](https://discourse.vtk.org/user_avatar/discourse.vtk.org/phong/32/6887_2.png) [@phong](https://discourse.vtk.org/u/phong)\
**Post date:** [July 24, 2024, 8:38am UTC](https://discourse.vtk.org/t/how-to-customize-vtkboxrepresentation-in-python-to-have-15-points/14288/1 "2024-07-24T08:38:56Z")

</div>

Hi All,

I see that class vtkBoxRepresentation has only 7 green points (6 center points in faces + 1 point in the middle of the box) like this :  
 ![image](https://discourse.vtk.org/uploads/default/original/2X/4/43f417c1f7e7a4e0c7e8b9dd6113739d38c9d543.png)

Now I want to have a reprentation which has 15 point (7 points vtkBoxRepresentation+ 8 points at corners) like below:  
 ![image](https://discourse.vtk.org/uploads/default/original/2X/3/366a59a14e3de3d5af478ba8e1b5721c908a449c.png)

Can you guide me how to implement 15 points in python ?

---

<div class="post-metadata">

**Author:** ![jaswantp](https://discourse.vtk.org/user_avatar/discourse.vtk.org/jaswantp/32/10046_2.png) [@jaswantp](https://discourse.vtk.org/u/jaswantp)\
**Post date:** [July 24, 2024, 3:37pm UTC](https://discourse.vtk.org/t/how-to-customize-vtkboxrepresentation-in-python-to-have-15-points/14288/2 "2024-07-24T15:37:12Z")

</div>

Hello @phong

`vtkBoxRepresentation` does not implement handles at the corner points. I don’t think you can implement a custom representation in python because you will need access to protected and private members of the `vtkBoxRepresentation` class. [Contributions](https://docs.vtk.org/en/latest/developers_guide/index.html#developer-s-guide) to the C++ class are welcome!
