[vtkusers] RE : ImagePlaneWidget
JohnMark
zhaojunxp at hotmail.com
Mon Aug 18 05:58:45 EDT 2008
Hi, Gökhan,
yes, of course you can. for example :
vtkJPEGReader * reader = vtkJPEGReader::New();
reader->SetFileName("C:/VTKDATA/img.jpg");
reader->Update();
vtkImagePlaneWidget * planeWidget = vtkImagePlaneWidget::New();
... ...
planeWidget->SetInput( (vtkDataSet *)reader->GetOutput() );
... ...
planeWidget->On();
hope this could help you!
Mark
_________________________________________________________________
快来看看这些猫咪有多逗,爆笑!
http://cnweb.search.live.com/video/results.aspx?q=%E5%8F%AF%E7%88%B1%E7%8C%AB%E5%92%AA&Form=MEVHAA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080818/d19407db/attachment.htm>
More information about the vtkusers
mailing list