How to customize vtkBoxRepresentation in python to have 15 points

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

Now I want to have a reprentation which has 15 point (7 points vtkBoxRepresentation+ 8 points at corners) like below:
image

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

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 to the C++ class are welcome!