[vtkusers] Visualize a volume slice on a 3D plane (the acquisition plane of the images)
Eva Monclús
emonclus at cs.upc.edu
Tue Jul 3 07:04:01 EDT 2018
On 28/06/2018 16:18, Shashwath T.R. wrote:
> For this, you should probably use something to slice the 3D volume to
> get a 2D slice. You can use vtkExtractVOI with the correct extents to
> pull out the slice and use that as your input. Probably a pipeline
> like this:
>
> Input -> vtkExtractVOI -> vtkImageMapToColors -> vtkTexture.
>
Your solution works fine. Thank you very much for your support.
The problem with the other suggested solutions was that the output of
the (vtkImageMapToColors or ctkImageActor) was an opengl 3D texture,
which was not supported by the renderer of vtkTexture.
But, I got the solution using your pipeline proposal: Input ->
vtkExtractVOI -> vtkImageMapToColors -> vtkTexture.
Thanks so much for your help!
Best regards,
Eva
More information about the vtkusers
mailing list