MCPcopy Create free account
hub / github.com/Kitware/VTK / Pop

Method Pop

Common/Transforms/vtkAbstractTransform.cxx:1038–1057  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

1036
1037//------------------------------------------------------------------------------
1038void vtkTransformConcatenationStack::Pop(vtkTransformConcatenation** concat)
1039{
1040 // if we're at the bottom of the stack, don't pop
1041 if (this->Stack == this->StackBottom)
1042 {
1043 return;
1044 }
1045
1046 // get the previous PreMultiplyFlag
1047 vtkTypeBool preMultiplyFlag = (*concat)->GetPreMultiplyFlag();
1048
1049 // delete the previous item
1050 (*concat)->Delete();
1051
1052 // pop new item off the stack
1053 *concat = *--this->Stack;
1054
1055 // re-set the PreMultiplyFlag
1056 (*concat)->SetPreMultiplyFlag(preMultiplyFlag);
1057}
1058
1059//------------------------------------------------------------------------------
1060void vtkTransformConcatenationStack::Push(vtkTransformConcatenation** concat)

Callers 3

PopFunction · 0.45
PopFunction · 0.45
PopFunction · 0.45

Calls 1

DeleteMethod · 0.65

Tested by 1

PopFunction · 0.36