You would need to take a look at VTKEdgePaintbrushExample4. Note that I would strongly advice you against going down this route. Every stroke in a sketch and every sketch in a drawing is going to be represented via an instance of vtkImageData. This is fairly memory intensive and quite unnecessary unless you must have subvoxel precision representation of segmentations. For most purposes, you just need voxel precision representation of segmentations. The Label map representation will do. Please take a look at PaintbrushTest1 / 2 /3 ...
Note that the overlay does not have to an opaque color. you can change the opacity of a sketch both programmatically (see vtkKWEPaintbrushProperty) and interactively (press the "<" and ">" keys) to increase / decrease the opacity. -- karthik On Tue, Sep 15, 2009 at 9:19 AM, Kim, Jinkoo <[email protected]> wrote: > Hi vtkEdge exports, > > > > I am using vtkEdge paintbrush in the Binary DataType and like to have the > segmentations displayed as just the boundary contours (like in the GrayScale > mode). Is there a simple way to do it? Or, what files should I look into? > > > > Thanks~ > > JK > > ============================================================================== > CONFIDENTIALITY NOTICE: This email contains information from the sender that > may be CONFIDENTIAL, LEGALLY PRIVILEGED, PROPRIETARY or otherwise protected > from disclosure. This email is intended for use only by the person or entity > to whom it is addressed. If you are not the intended recipient, any use, > disclosure, copying, distribution, printing, or any action taken in reliance > on the contents of this email, is strictly prohibited. If you received this > email in error, please contact the sending party by reply email, delete the > email from your computer system and shred any paper copies. > > Note to Patients: There are a number of risks you should consider before > using e-mail to communicate with us. See our Privacy Policy and Henry Ford My > Health at www.henryford.com for more detailed information. If you do not > believe that our policy gives you the privacy and security protection you > need, do not send e-mail or Internet communications to us. > > ============================================================================== > > > _______________________________________________ > VtkEdge mailing list > [email protected] > http://public.kitware.com/cgi-bin/mailman/listinfo/vtkedge > > =
_______________________________________________ VtkEdge mailing list [email protected] http://public.kitware.com/cgi-bin/mailman/listinfo/vtkedge
