::ShallowCopy(VISU_PipeLine *thePipeLine)
{
if(VISU_GaussPointsPL *aPipeLine = dynamic_cast<VISU_GaussPointsPL*>(thePipeLine)){
- SetGaussPtsIDMapper(aPipeLine->GetGaussPtsIDMapper());
-
+ // To restore mapper input from pipeline
vtkPolyData* aDatsSet = myPSMapper->GetInput();
myPSMapper->ShallowCopy(aPipeLine->GetPSMapper());
- // To restore mapper input from pipeline
myPSMapper->SetInput(aDatsSet);
SetPrimitiveType(aPipeLine->GetPrimitiveType());
VISU_PipeLine
::ShallowCopy(VISU_PipeLine *thePipeLine)
{
- SetIDMapper(thePipeLine->GetIDMapper());
-
SetImplicitFunction(thePipeLine->GetImplicitFunction());
+ // To restore mapper input from pipeline
vtkDataSet* aDatsSet = myMapper->GetInput();
GetMapper()->ShallowCopy(thePipeLine->GetMapper());
-
- // To restore mapper input from pipeline
myMapper->SetInput(aDatsSet);
Build();