[vtkusers] visualize vtkPolyData with CORONAL, SAGITALL and AXIAL planes

Abdelkhalek Bakkari bakkari.abdelkhalek at hotmail.fr
Thu Jan 11 11:27:24 EST 2018


Thank you for your answer. But, my input is a mesh and not an image :



/Create an VTK reader for reading the file
vtkSmartPointer<vtkGenericDataObjectReader> readerVtk =  vtkSmartPointer<vtkGenericDataObjectReader>::New();
readerVtk->SetFileName(fileName.toStdString().c_str());
readerVtk->Update();


//// Convert the mesh to polydata

vtkPolyData* output = readerVtk->GetPolyDataOutput();
Kind regards,


________________________________
From: Bill Lorensen <bill.lorensen at gmail.com>
Sent: 11 January 2018 17:19
To: Abdelkhalek Bakkari
Cc: VTK Mailing List
Subject: Re: [vtkusers] visualize vtkPolyData with CORONAL, SAGITALL and AXIAL planes

https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Florensen.github.io%2FVTKExamples%2Fsite%2FCxx%2FMedical%2FMedicalDemo3%2F&data=02%7C01%7C%7Cd3cce4b6cccc4c3c86d708d5590f1a5d%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636512843754185800&sdata=RV6ISJfkVpiTXOmyfbFLQ3ilYxzrXvOokbxCRjxgKR4%3D&reserved=0


On Thu, Jan 11, 2018 at 3:11 AM, Abdelkhalek Bakkari
<bakkari.abdelkhalek at hotmail.fr> wrote:
> Dear ALL,
>
>
> I would like to visualize vtkPolyData with CORONAL, SAGITALL and AXIAL
> planes.
>
> Is there any VTK pipeline to get it done, please ?
>
>
> Regards,
>
>
> _______________________________________________
> Powered by https://eur02.safelinks.protection.outlook.com/?url=www.kitware.com&data=02%7C01%7C%7Cd3cce4b6cccc4c3c86d708d5590f1a5d%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636512843754185800&sdata=cvKzkInY%2Fl1hSNzZf%2BDcO8JiMz33C4mllarpQaIlAyw%3D&reserved=0
>
> Visit other Kitware open-source projects at
> https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.kitware.com%2Fopensource%2Fopensource.html&data=02%7C01%7C%7Cd3cce4b6cccc4c3c86d708d5590f1a5d%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636512843754185800&sdata=KHRMGvkFgnVjHouOu%2FAQ%2F%2F4%2FkFWxxKmj83I4xHuAqNw%3D&reserved=0
>
> Please keep messages on-topic and check the VTK FAQ at:
> https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.vtk.org%2FWiki%2FVTK_FAQ&data=02%7C01%7C%7Cd3cce4b6cccc4c3c86d708d5590f1a5d%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636512843754185800&sdata=3s60WathOJPh3dNC2B9cvYbSHBSiaQJIES%2BPMTdAeWQ%3D&reserved=0
>
> Search the list archives at: https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmarkmail.org%2Fsearch%2F%3Fq%3Dvtkusers&data=02%7C01%7C%7Cd3cce4b6cccc4c3c86d708d5590f1a5d%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636512843754185800&sdata=O%2F5DLCGeJv%2BqL2vT0z20%2Fi6%2B4nSN2UykYTFw5Q8j%2Fjs%3D&reserved=0
>
> Follow this link to subscribe/unsubscribe:
> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fvtk.org%2Fmailman%2Flistinfo%2Fvtkusers&data=02%7C01%7C%7Cd3cce4b6cccc4c3c86d708d5590f1a5d%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636512843754185800&sdata=n46WnjjvCNSTYk60cNBcXtfw5M%2FEX3NjAL4DhQqZmyQ%3D&reserved=0
>



--
Unpaid intern in BillsBasement at noware dot com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://vtk.org/pipermail/vtkusers/attachments/20180111/8120ae35/attachment.html>


More information about the vtkusers mailing list