[vtkusers] 2d image
Darshan Pai
darshanpai at gmail.com
Thu Jun 24 16:09:14 EDT 2010
Sounds like all you need is a vtkImagePlaneWidget . There is an example
which does that in the Example directory .
Regards
Darshan
On Thu, Jun 24, 2010 at 2:15 AM, Nizam de Abreu Pfeilsticker <
nizam.abreu at gmail.com> wrote:
> I will explain what is exactly my problem. I have a serie of DICOMs that I
> render in a skull, for example. I also have an actor, which is a plane, that
> is used to choose the image to be resliced. I can spin and move this plane
> through the skull.
> Since I am using VB.NET, I cannot delete the actors or use smart
> pointers and usually I have memory problems if I don't shrink the image.
> Since I already have the plane (and the matrix4x4), can I have a function
> that returns me an 2D image (not the 3D one). It is important to be 2D
> because of memory issues. It would be perfect if I could have image as
> bitmap streamed to memory (like byte[])
> It would be even better if I could retrieve this image from the DICOMs
> directly and not from the polydata I obtained using MarchingCubes (better
> resolution, since the image is not shrinked)
> Did I make me clear?
>
> 2010/6/22 David Doria <daviddoria+vtk at gmail.com<daviddoria%2Bvtk at gmail.com>
> >
>
> On Tue, Jun 22, 2010 at 9:41 PM, Nizam de Abreu Pfeilsticker
>> <nizam.abreu at gmail.com> wrote:
>> > Actually, i am really beginner. Would u please send me an exemple?
>> >
>> > Enviado via iPhone
>> > Em 22/06/2010, às 17:31, Darshan Pai <darshanpai at gmail.com> escreveu:
>> >
>> > You can try vtkClipPolyData for doing that .
>> >
>> > On Tue, Jun 22, 2010 at 2:20 PM, Nizam <nizam.abreu at gmail.com> wrote:
>> >>
>> >> I have a vtkActor which is a plane and another 3D actor. How can I get
>> the
>> >> 2d
>> >> image that is the intersection of the plane and the 3D object? Is there
>> an
>> >> easy way?
>> >> Best regards,
>> >> Nizam
>> >> --
>> >> View this message in context:
>> >> http://old.nabble.com/2d-image-tp28963365p28963365.html
>> >> Sent from the VTK - Users mailing list archive at Nabble.com.
>> >>
>> >> _______________________________________________
>> >> Powered by www.kitware.com
>> >>
>> >> Visit other Kitware open-source projects at
>> >> http://www.kitware.com/opensource/opensource.html
>> >>
>> >> Please keep messages on-topic and check the VTK FAQ at:
>> >> http://www.vtk.org/Wiki/VTK_FAQ
>> >>
>> >> Follow this link to subscribe/unsubscribe:
>>
>> Have you seen the wiki examples: http://www.vtk.org/Wiki/VTK/Examples ?
>>
>> There are a handful of examples that use vtkClipPolyData there. Give
>> them a look and let us know if you have any questions.
>>
>> Thanks,
>>
>> David
>>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100624/aac5ef60/attachment.htm>
More information about the vtkusers
mailing list