std::vector<Point> to PolyData

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

std::vector<Point> to PolyData

Abdelkhalek

Dear VTK users, 


I take a look  to http://www.vtk.org/doc/nightly/html/classvtkPolyData.html in order to understand where the vertices or points are stored.

Could you tell me please, how can I create a new one and add my std::vector<Point>  to it. 

 


Best regards,

 


Abdelkhalek Bakkari



_______________________________________________
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

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: std::vector<Point> to PolyData

Dan Lipsa-2
Abdelkhalek Bakkari,

http://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/ColoredPoints

shows you how to create a polydata that contains points.

Dan


On Wed, Mar 22, 2017 at 2:03 PM, Abdelkhalek Bakkari <[hidden email]> wrote:

Dear VTK users, 


I take a look  to http://www.vtk.org/doc/nightly/html/classvtkPolyData.html in order to understand where the vertices or points are stored.

Could you tell me please, how can I create a new one and add my std::vector<Point>  to it. 

 


Best regards,

 


Abdelkhalek Bakkari



_______________________________________________
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

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers



_______________________________________________
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

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers
Loading...