vtkUnstructuredGrid *anInput = this->GetInput(), *anOutput = this->GetOutput();
vtkIdType aNbCells = anInput->GetNumberOfCells();
anOutput->Allocate(aNbCells);
- if(MYDEBUG) MESSAGE("Execute - anInput->GetNumberOfCells() = "<<anInput->GetNumberOfCells());
+ MSG(MYDEBUG,"Execute - anInput->GetNumberOfCells() = "<<anInput->GetNumberOfCells());
vtkIdList *aCellIds = vtkIdList::New();
- if(MYDEBUG)
- MESSAGE("Execute - myRemovedCellIds.empty() = "<<myRemovedCellIds.empty()<<
- "; myRemovedCellTypes.empty() = "<<myRemovedCellTypes.empty());
+ MSG(MYDEBUG,"Execute - myRemovedCellIds.empty() = "<<myRemovedCellIds.empty()<<
+ "; myRemovedCellTypes.empty() = "<<myRemovedCellTypes.empty());
if(myRemovedCellIds.empty() && myRemovedCellTypes.empty())
anOutput->CopyStructure(anInput);
else if(!myRemovedCellIds.empty() && myRemovedCellTypes.empty()){
InsertCell(anInput,anOutput,aCellId,aCellIds);
aCellIds->Delete();
anOutput->SetPoints(anInput->GetPoints());
- if(MYDEBUG) MESSAGE("Execute - anOutput->GetNumberOfCells() = "<<anOutput->GetNumberOfCells());
+ MSG(MYDEBUG,"Execute - anOutput->GetNumberOfCells() = "<<anOutput->GetNumberOfCells());
}