Hi, Dean,<br> <br> Thanks a lot for your widget!<br> <br> I used your widget in my project. I use a vtkImageView2 and want to use this widget in vtkImageView2 to display point location and scalar value on that position. I used your widget as follow:<br> <br> vtkImageCoordinateWidget *coordWidget = vtkImageCoordinateWidget::New();<br> coordWidget->SetInput(reader->GetOutput());<br> coordWidget->SetProp(ImageViewer->GetImageActor()); // this line has problem<br> <br> But the last line of the above codes has problem, the error information is as follows:<br> <br> error C2664: 'SetPropA' : cannot convert parameter 1 from 'class vtkImageActor *' to 'class vtkProp *'<br> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast Error executing cl.exe.<br> <br> Would you please show me how to use this widget correctly? Thank you very much!<br> <br> regards,<br> <br> James<br>
<br><br><b><i>dean.inglis@camris.ca</i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> Hi James<br><br>have a look at this post earlier this month:<br><br>http://public.kitware.com/pipermail/vtkusers/2006-August/086444.html<br><br>Try searching the archives since this has been asked<br>over and over and over....<br><br>Dean<br><br>_______________________________________________<br>This is the private VTK discussion list. <br>Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ<br>Follow this link to subscribe/unsubscribe:<br>http://www.vtk.org/mailman/listinfo/vtkusers<br></blockquote><br><p> 
                <hr size=1>Get your email and more, right on the <a href="http://us.rd.yahoo.com/evt=42973/*http://www.yahoo.com/preview"> new Yahoo.com</a>