[vtkusers] How to make the paintbrush paint only on one slice, not on the neighbor slices

Xiaopeng Yang yxp233 at postech.ac.kr
Wed Mar 23 05:12:53 EDT 2011


Hi Karthik,

Thank you very very much for your help so far! I apologize for raising so many questions these days. About the multiple contour widgets in one slice, still I am trying to figure it out. If you could provide some ideas, I would appreciate a lot!

Best,
Yang

-----邮件原件-----
发件人: Karthik Krishnan [mailto:karthik.krishnan at kitware.com] 
发送时间: 2011년 3월 23일 수요일 오후 5:47
收件人: Xiaopeng Yang
抄送: vtk; VtkEdge at vtkedge.org
主题: Re: [vtkusers] How to make the paintbrush paint only on one slice, not on the neighbor slices

I apologize for the delay in getting back to your earlier mails. I
hope you've figured those out :).

To make the paintbrush go into slice by slice edit mode, you simply
set the width of the paintbrush shape along that axis to one unit
spacing along that axis....

paintbrushOperation->GetPaintbrushShape()->SetWidth(10,10,spacingZ)

On 3/23/11, Xiaopeng Yang <yxp233 at postech.ac.kr> wrote:
> Dear users,
>
>
>
> I found that when I painted on one slice of a series of images, the neighbor
> slices were also painted. My question is how to make the paintbrush paint
> only on that slice, not on the neighbor slices.
>
>
>
> Thanks very much in advance!
>
>
>
> Yang
>
>










More information about the vtkusers mailing list