[vtkusers] Get Center of Cells from a VTKPlane

Bachus92 gabriellakl at hotmail.de
Thu Feb 1 05:41:20 EST 2018

Hi all, 

I can't find the right class/function to do the following thing, 
maybe/hopefully someone can help me. 

I create a vtkPlaneSource and set the X - & Y - Resolution. This means, that 
the vtkPlaneSource 
"is divided" into cells. I want to find the center of each Cell and write 
this into a std::vector (not VTK array). 

I am programming in C++. This is the start: 

vtkSmartPointer<vtkPlaneSource> planeSource = 

Thank you very much for your help :) 

Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html

More information about the vtkusers mailing list