[vtkusers] vtkMergeCells - mergetolerence not working

kshivann at engineering.uiowa.edu kshivann at engineering.uiowa.edu
Wed Nov 7 11:52:21 EST 2007


hi all,
    i am using vtkMergeCells to merge different datasets. This is the  
piece of the code that i am using.

		vtkMergeCells* mergecells = vtkMergeCells::New();
		mergecells->SetUnstructuredGrid(Ugrid);
		mergecells->SetPointMergeTolerance(1.0);
		mergecells->SetTotalNumberOfDataSets(1);
		mergecells->SetTotalNumberOfCells(1000);
		mergecells->SetTotalNumberOfPoints(1000);
//		mergecells->SetMergeDuplicatePoints(1);

		mergecells->MergeDataSet(somedataset);
		mergecells->Finish();

but the pointmergetolerance does not seem to work. Any insight is  
greatly appreciated.

kiran






More information about the vtkusers mailing list