[vtkusers] BoxWidget Bounds
Tamim
tamim.boubou at gmail.com
Wed Apr 11 02:16:02 EDT 2018
Hello,
I have a vtkBoxWidget2 and I need to know its dimensions (length, width,
height )
I tried using getBounds()....the results are correct if the box is in its
default orientation
Once the box is rotated the results are incorrect
It turns out that getBounds returns the X, Y, Z coordinates of 2 points....
the lower right corner and the upper left corner of a box that bounds the
object
Once the object is rotated the points don't represent the actual object
anymore...like in the picture
<http://vtk.1045678.n5.nabble.com/file/t342290/realBounds.png>
My question is how can I get the real dimensions of the box ??
--
Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html
More information about the vtkusers
mailing list