[vtkusers] How to put 3D geometry object in vtkImagePlaneWidget?
Jochen K.
jochen.kling at email.de
Tue Jun 26 03:30:11 EDT 2012
Hi kooitt,
I assume your cone is simply too tiny and therefore invisible.
I would size the cone according to the bounds of the volume. For instance:
double bounds[6];
reader->GetOutput()->GetBounds(bounds);
cone->SetHeight((bounds[1] - bounds[0])/ 3);
cone->SetRadius(cone->GetHeight()/3.14);
with best regards
Jochen
--
View this message in context: http://vtk.1045678.n5.nabble.com/How-to-put-3D-geometry-object-in-vtkImagePlaneWidget-tp5714211p5714216.html
Sent from the VTK - Users mailing list archive at Nabble.com.
More information about the vtkusers
mailing list