VISU_DeformedShapePL::VISU_DeformedShapePL(){
myWarpVector = vtkWarpVector::New();
+ myCellDataToPointData = vtkCellDataToPointData::New();
}
VISU_DeformedShapePL::~VISU_DeformedShapePL(){
+ myWarpVector->UnRegisterAllOutputs();
myWarpVector->Delete();
+
+ myCellDataToPointData->UnRegisterAllOutputs();
+ myCellDataToPointData->Delete();
}
void VISU_DeformedShapePL::ShallowCopy(VISU_PipeLine *thePipeLine){
}
VISU_ScalarMapPL::THook* VISU_DeformedShapePL::DoHook(){
- VISU::CellDataToPoint(myWarpVector,myInput,myFieldTransform);
+ VISU::CellDataToPoint(myWarpVector,myCellDataToPointData,myInput,myFieldTransform);
return myWarpVector->GetOutput();
}