[vtkusers] question about vtktrianglefilter

Rene_Wohlgethan rwohlgethan at icqmail.com
Thu Mar 10 04:17:28 EST 2011


Hi =)



I´ve got a question about vtkTriangleFilter


I want to insert a vtkAppenPolyData into a vtkTriangleFilter like this.


                        Packungscontainer1[u] = vtkAppendPolyData::New();
			Packungscontainer1[u]->AddInput(Packungscontainer[i]->GetOutput());
			Packungscontainer1[u]->Update();

			vtkTriangleFilter *PackungsModell = vtkTriangleFilter::New();
			TrunkModell->SetInput(Packungscontainer1[u]->GetOutput());
			TrunkModell->GetOutput()->ReleaseDataFlagOn();
			PackungsModell->Update();

But when i run my program, an error occurs: 

ERROR: In ..\..\vtk-5.6.0\Filtering\vtkDemandDrivenPipeline.cxx, line 728
vtkStreamingDemandDrivenPipeline (02D56630): Input port 0 of algorithm
vtkTriangleFilter(02ABAF28) has 0 connections but is not optional.



can someone explain why this error occurs, btw. what i did wrong?

Best Regards, René



--
View this message in context: http://vtk.1045678.n5.nabble.com/question-about-vtktrianglefilter-tp3422996p3422996.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list