| ||||||||||
Function | LtEnum
| |||||||||
Synopsis |
Has the given callback, of meshcalls, been set, or not?
| |||||||||
Location | ligeops | |||||||||
Parameters |
| |||||||||
Return Value |
An indication of whether the specified callback, of meshcalls, has
been explicitly set, or not.
| |||||||||
Description |
This allows and end user to establish whether or not
the specified callback, of meshcalls, has
(previously) been explicitly set,
using LiMeshingCallBacksSetCall,
or not.
If the callback in question has already been set, LiMeshingCallBacksCallState will return LI_STATE_SET. If the callback in question has not already been set, LI_STATE_NOT_SET is returned. Only if an error occurs will LI_STATE_UNKNOWN be returned. The definitions of LI_STATE_SET, LI_STATE_NOT_SET and LI_STATE_UNKNOWN can be found in the ligeops.h header file.
| |||||||||
Example |
/* * Have I already set the EDGE_SWAP callback? */ state = LiMeshingCallBacksCallState(calls, LI_MESH_CALLBACK_EDGE_SWAP); if ( state == LI_STATE_NOT_SET ) { status = LiMeshingCallBacksSetCell(calls, LI_MESH_CALLBACK_EDGE_SWAP, (LtFunc)my_edge_swap_func); ... } | |||||||||
See Also |
LiPrimitiveTriangulate LiPrimitiveHierarchicalTriangulate LiMeshingCallBacksSetCall LiMeshingCallBacksGetCall LiMeshingCallBacksCreate LiMeshingCallBacksCopy LiMeshingCallBacksDebug LiMeshingCallBacksDestroy LiMeshingInsertBridge LiMeshingEdgeSplit LiMeshingEdgeSwap LiMeshingTriProperties
| |||||||||
Copyright © 1990-1998, 1999 LightWork Design Limited. All rights reserved |