[vtkusers] problem with vtkConeSource & SetDirection(float, float, float)

Henry Zhang henry.zhang at ualberta.ca
Wed Jan 22 15:18:51 EST 2003


Hello, there,

I want to set the direction of vtkConeSource using the function
SetDirection(float,float,float) which appears in the documentation.

However, whenever, I call it (in Java), I always get the error
"can not resolve the method SetDirection(....)".

Could anyone tell me how to solve this problem?

My code is listed as follow

vtkConeSource coneSource=new vtkConeSource();
coneSource.SetDirection(1.0f,0.0f,0.0f);
......


Thanks!
Henry

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20030122/3903c6b8/attachment.htm>


More information about the vtkusers mailing list