RTSMarker bug
clean up some debug couts
This commit is contained in:
@ -175,13 +175,14 @@ int vtkContourTopogramProjectionFilter::RequestData(
|
||||
output->SetPoints( PrjPoints );
|
||||
|
||||
vtkIdType numPoints = points->GetNumberOfPoints();
|
||||
std::cout << "NUmPoints " << numPoints << std::endl;
|
||||
|
||||
VTK_CREATE(vtkCellArray, cells);
|
||||
if (cells->AllocateEstimate(numPoints, 1) == true){
|
||||
|
||||
} else {
|
||||
std::cout << "vtkContourTopogramProjectionFilter Can't allocate cells " << std::endl;
|
||||
PrjPoints->Delete();
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
@ -191,13 +192,10 @@ int vtkContourTopogramProjectionFilter::RequestData(
|
||||
}
|
||||
|
||||
output->SetVerts(cells);
|
||||
std::cout << "output->SetVerts " << std::endl;
|
||||
|
||||
PrjPoints->Delete();
|
||||
std::cout << "PrjPoints->Delete(); " << std::endl;
|
||||
|
||||
output->Squeeze();
|
||||
std::cout << "output->Squeeze(); " << std::endl;
|
||||
|
||||
return 1;
|
||||
|
||||
|
Reference in New Issue
Block a user