| void *data, SoCallbackAction *action, const SoNode *node) |
A Python implementation must look like:
def mySoCallbackCallback(myCallbackData, myAction):
'''Callback for ..
myCallbackData can be any type or class
myAction is an iv.SoAction
'''
# your Python code
# return eiter SoCallbackAction.ABORT, -.CONTINUE, or -.PRUNE
return SoCallbackAction.CONTINUE
| void *data, SoCallbackAction *action, const SoPrimitiveVertex *v1, const SoPrimitiveVertex *v2, const SoPrimitiveVertex *v3) |
A Python implementation must look like:
def mySoTriangleCallback(myCallbackData, myAction, myV1, myV2, myV3):
'''Callback for ..
myCallbackData can be any type or class
myAction is an iv.SoAction
myV1 is an iv.SoPrimitiveVertex
myV2 is an iv.SoPrimitiveVertex
myV3 is an iv.SoPrimitiveVertex
'''
# your Python code
# no use to return something
| void *data, SoCallbackAction *action, const SoPrimitiveVertex *v1, const SoPrimitiveVertex *v2) |
A Python implementation must look like:
def mySoLineSegmentCallback(myCallbackData, myAction, myV1, myV2):
'''Callback for ..
myCallbackData can be any type or class
myAction is an iv.SoAction
myV1 is an iv.SoPrimitiveVertex
myV2 is an iv.SoPrimitiveVertex
'''
# your Python code
# no use to return something
| void *data, SoCallbackAction *action, const SoPrimitiveVertex *v1) |
A Python implementation must look like:
def mySoPointCallback(myCallbackData, myAction, myV1):
'''Callback for ..
myCallbackData can be any type or class
myAction is an iv.SoAction
myV1 is an iv.SoPrimitiveVertex
'''
# your Python code
# no use to return something