[vtkusers] Using "Boolean Operations on Surfaces" on arbitrary mesh (stl) files

louis10th doyoungchang at gmail.com
Tue Aug 9 00:13:21 EDT 2011


The program compiles with no error :)
But when I execute the exe it crashes.

I did try the following and the file looks reasonable.
I will also try Paraview.

Thanks!

--------------------

	vtkSTLReader *volumeReader = vtkSTLReader::New();
		volumeReader->SetFileName("test.stl");
		
	vtkPolyDataMapper *stlMapper=vtkPolyDataMapper::New();
	stlMapper->SetInputConnection (volumeReader->GetOutputPort());
		
	vtkLODActor *stlActor=vtkLODActor::New();
	stlActor->SetMapper(stlMapper);
		
	renderer->AddActor( stlActor ); 
	
	volumeReader-> Delete(); stlMapper->Delete(); stlActor->Delete();

        renWin->Render();
        renWinInteractor->Start();




--
View this message in context: http://vtk.1045678.n5.nabble.com/Using-Boolean-Operations-on-Surfaces-on-arbitrary-mesh-stl-files-tp4680076p4680676.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list