[vtkusers] VtkDelaunay2d Problem, please Help

Secolas UA secolasua at gmail.com
Sun May 20 21:56:14 EDT 2007


Hello,

I have a polydata model and I want to retriangulate it by vtkDelauny2d. I've
tried like this:

void Delaunay(void)
{
    vtkDelaunay2D *newMesh = vtkDelaunay2D::New();
    newMesh->SetSource(polyData);
    newMesh->Update();
    polyData = newMesh->GetOutput();
    polyData->Modified();
    iren->Render();
}

But the following message appears:

ERROR: In d:\Ricardo\vtk-5.0.3\Filtering\vtkDemandDrivenPipeline.cxx, line
710
vtkStreamingDemandDrivenPipeline (02C269C8): Input port 0 of algorithm
vtkDelaunay2D(02BD2C88) has 0 connections but is not optional.

Anyone could help me?

Thanks in Advance.

Ricardo Seco
University of Aveiro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070521/ea48d59c/attachment.htm>


More information about the vtkusers mailing list