def getCollisionParent(obj):
    if isinstance(obj, vis.FrameItem):
        return obj.parent()
    if isGraspSeed(obj):
        return obj.parent()
    else:
        return obj


# The most recently cached PickedPoint - available as input to any other algorithm
.. todo::
dataset/ETHPy150Open RobotLocomotion/director/src/python/director/robotviewbehaviors.py/getCollisionParent--crossover with--dataset/ETHPy150Open lisa-lab/pylearn2/pylearn2/sandbox/cuda_convnet/response_norm.py/CrossMapNormUndo.c_code