Hi
How Can I make a Pyramid and get It’s vtkImageData ?
(I want vtkImageData of my Pyramid)
Thanks a lot :))
Hi
How Can I make a Pyramid and get It’s vtkImageData ?
(I want vtkImageData of my Pyramid)
Thanks a lot :))
Hi Shahpouri
Take a look at https://kitware.github.io/vtk-examples/site/Cxx/GeometricObjects/Pyramid/ for drawing a pyramid.
To get vtkImageData, you can use vtkWindowToImageFilter, https://vtk.org/doc/nightly/html/classvtkWindowToImageFilter.html#details
Kind regards
Jens Munk
Hi Jens
Thanks you , but vtkWindowToImageFilter give me 2D image
but I want 3D ImageData of pyramid.
can you Help me about in this way?
Thank you so much