[vtkusers] A problem - who can help me ?

Amy Squillacote amy.squillacote at kitware.com
Fri Aug 17 08:11:28 EDT 2007


Hi JohnMark,

Please provide sample code demonstrating your problem. It is very
difficult (if not impossible) to know what may be going wrong with your
program without seeing the relevant part of the code.

- Amy

JohnMark wrote:
> hi,
> when I compiled an example of vtkImageShiftScale with VTK and C++ , I
> found a small problem . the example is ImageInteractor .and my problem
> is : at first time , I can draw a rectangle on a CT picture with mouse
> , and when I press the mouse left button again ,a rectangle could be
> drawn again but the CT picture disappear . and I have make the picture
> to be visibility when I press the left mouse button :
> pictureActor->VisibilityOn();
> and when I release the left mouse button I set it to be invisibility :
> pictureActor->VisibilityOff();
> but unfortunately , I could not see the CT picture after I draw a
> rectangle . So what is wrong with my program ? and how should I do to
> work out it ? thank you !
>
> ------------------------------------------------------------------------
> 不登录就能管理多个邮件帐户,试试 Windows Live Mail。 立即尝试!
> <http://get.live.com/betas/maildesktop_betas>
> ------------------------------------------------------------------------
>
> _______________________________________________
> This is the private VTK discussion list. 
> Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>   

-- 
Amy Squillacote
Kitware, Inc.
28 Corporate Drive
Clifton Park, NY 12065
Phone: (518) 371-3971 x106




More information about the vtkusers mailing list