[vtkusers] vtk coneSource problem
Xu Zhong Hao
xyzhao at singnet.com.sg
Thu Feb 26 01:18:01 EST 2004
Hi,
I am trying to add a cone onto the medical3 skull image, however, the
cone's setHeight and set radius cannot reduce to the correct size i
want, so i tried the setScale function.
i tried to set the value setScale(0.001, 0.001,0.001), the cone will
appear outside the render window although it is scaled to the correct
size.
i tried to use vtkTransformPolyDataFilter, and feed in a transformation
matrix (0.001,0,0,0,0,0.001,0,0,0,0,0.001,0,0,0,0,1). it will also
appear outside the render window. scale it bigger at 0.003, it will
appear inside the window but it is not the size i want.
Can anyone please help
Zhong hao
More information about the vtkusers
mailing list