[vtkusers] Problem with vtkPolyDataNormals.
Bruno da Silva de Oliveira
bruno at esss.com.br
Fri Dec 16 10:56:54 EST 2005
Hi,
Have you read the vtkPolyDataNormals documentation? (hint: SplittingOff)
HTH,
Dimitrios Perperidis wrote:
> Hi,
>
> I am using the vtkPolyDataNormals to generate a set of normals for a
> given polydata object:
> reader = vtkPolyDataReader::New();
> normals = vtkPolyDataNormals::New();
>
> // Read model image
> cout << "Reading model:"<<model_name<<endl;
> reader->SetFileName(model_name);
>
> normals->SetInput(reader->GetOutput());
> normals->Modified();
> normals->Update();
> model = normals->GetOutput();
>
> My polydata object consist of 29328 points. When I use
> vtkPolyDataNormals, the returned polydata object (after
> normals->GetOutput()) consists of 29488 points. It is vital for my
> application to calculate the normals of a vtkPolyData object without
> changing the number of points in the surface.
>
> Any points/ suggestions?
>
> Regards
> Dimitrios
> _______________________________________________
> This is the private VTK discussion list. Please keep messages
> on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
--
Bruno da Silva de Oliveira
bruno at esss.com.br
ESSS - Engineering Simulation and Scientific Software
http://www.esss.com.br
More information about the vtkusers
mailing list