[vtkusers] vtkActor->SetBounds(double[])

ich_daniel at habmalnefrage.de ich_daniel at habmalnefrage.de
Mon Aug 27 05:40:36 EDT 2012


Example:
 the bounds of my actor:
 bounds [0] to bounds [1]: 0 to 50 (X-direction)
 bounds [2] to bounds [3]: 0 to 30 (Y-direction)
 bounds [4] to bounds [5]: 0 to 40 (Z direction).
 bounds = {0, 50, 0, 30, 0, 40}

I Rotate my vtkActor (actor->RotateY(..)). 
Of course, the bounds are changed now.
Then we have:
bounds [0] to bounds [1]: 5 to 45 (X-direction)
bounds [2] to bounds [3]: 0 to 30 (Y-direction)
bounds [4] to bounds [5]: -5 to 45 (Z-direction).
These bounds I would like to redefine.
result should then be:
newBounds = {0, 40, 0, 30, 0, 50}

Can I dont set the bounds, anywhere?    
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120827/d8bb1e9a/attachment.htm>


More information about the vtkusers mailing list