[vtkusers] Add new vertexes inside 3D structure
jaki19
nour_sn at hotmail.fr
Thu Nov 3 02:06:11 EDT 2016
Hallo,
I'm trying to add more vertexes in my 3D structure stored in vtkpolydata
using vtkTessellatorFilter but i don't know why I have 0 triangles in the
output!!!
vtkSTLReader reader = new vtkSTLReader();
reader.SetFileName(path3d);
reader.Update();
vtkPolyData input = new vtkPolyData();
input = reader.GetOutput();
System.out.print(input.GetNumberOfPoints() + " voxels.\n"); ----> 4500
voxels.
System.out.print(input.GetNumberOfPolys() + " triangles.\n");-----> 6580
triangles.
vtkTessellatorFilter tesela= new vtkTessellatorFilter();
tesela.SetInputData(input);
tesla.Update();
System.out.print(subdivised.GetNumberOfPoints() + " voxels.\n");----> 4500
voxels.
System.out.print(subdivised.GetNumberOfPolys() + " triangles.\n");-----> 0
triangles.
--
View this message in context: http://vtk.1045678.n5.nabble.com/Add-new-vertexes-inside-3D-structure-tp5741022.html
Sent from the VTK - Users mailing list archive at Nabble.com.
More information about the vtkusers
mailing list