[vtkusers] vtkImageData - Boolean Operations

Paul Jhin paul.jhin1 at gmail.com
Sat Jan 17 09:28:23 EST 2009


Hi,

Thanks Lassi,

I have more 2 questions,

It is possible vtkImageLogic provide the level of output in gray ?  the code
below appears only in binary.

        boolean = vtk.vtkImageLogic()
        boolean.SetInput1(img1.GetOutput())
        boolean.SetInput2(img2.GetOutput())
        boolean.SetOperationToAnd()


My second question, you can perform boolean between vtkPolyData?



Regards and excuse for excessive questions,
Paul Jhin



2009/1/17 Lassi Paavolainen <lopaavol at jyu.fi>

> Hi,
>
> On Sat, 17 Jan 2009, Paul Jhin wrote:
>
> > Hi,
> >
> > There is a class that you can perform Boolean operations between
> > vtkImageData ?
>
> You can use vtkImageLogic to do that.
>
> Lassi
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20090117/43bc60e8/attachment.htm>


More information about the vtkusers mailing list