[vtkusers] vtkActor->SetBounds(double[])
Najzero
adrian.gabriel at 4plus.de
Mon Aug 27 06:23:02 EDT 2012
Hi,
it's not perfectly clear for me what you wish to accomplish.
The object got rotated around its core/center and by that generated those
bounding-boxes.
Your example by the way is 1:1 the same, but starting on different
coordinates.
Bounds are usually a distance, not a good coordinate measurement.
You can either write your own code, that extracts the distance, and fills a
new double[] always starting at 0 in 0/2/4 and the total value in 1/3/5.
You can also move the vtkObject with setPosition and calculate the required
offsets... but somehow that tastes wrong, because it alters the place in
space.
What exactly is the behavoiur you want to achive?
--
View this message in context: http://vtk.1045678.n5.nabble.com/vtkActor-SetBounds-double-tp5715558p5715562.html
Sent from the VTK - Users mailing list archive at Nabble.com.
More information about the vtkusers
mailing list