Show_Callback

Functions

HC_BOOLEAN PShow_Net_Callback (int key_count, const HC_KEY *path_keys, char *callbacks)
 Returns the net effective callback settings along a path of segments specified by an array of HC_KEY's. More...
 
HC_BOOLEAN PShow_One_Net_Callback (int count, const HC_KEY *keys, const char *callback_point, char *callback_name)
 Similar to PShow_Callback, but returns the net effective setting of a single callback along a path of segments specified by an array of HC_KEY's. More...
 
HC_BOOLEAN PShow_One_Net_Callback_With_Data (int count, const HC_KEY *keys, const char *callback_point, char *callback, void *data)
 Returns the net effective setting of a single callback along a path of segment specified by an array of HC_KEY's. More...
 
void Show_Callback (char *callbacks)
 Returns the name of a procedural link between HOOPS database traversal and immediate mode rendering. More...
 
void Show_One_Callback (const char *callback_point, char *callback_name)
 Similar to Show_Callback(), but returns the setting of a single callback point in the currently open segment. More...
 
void Show_One_Callback_With_Data (const char *callback_point, char *callback, void *data)
 Retrieves the data pointer that was passed in during a previous call to Set_Callback_With_Data(). More...
 

Detailed Description

Function Documentation

◆ PShow_Net_Callback()

HC_BOOLEAN PShow_Net_Callback ( int  key_count,
const HC_KEY *  path_keys,
char *  callbacks 
)

Returns the net effective callback settings along a path of segments specified by an array of HC_KEY's.

Parameters
key_count- The size of the keys array you are passing in
path_keys- The list of keys starting with the owning segment and following all the way back to the root segment or other desired segment.
callbacks- List of callbacks. Passed by Reference. Returned to the user.

DETAILS

As with all PShow_Net_* routines, pathkeys[0] represents the lowest (a.k.a the "most local" or "leaf"), and pathkeys[keycount-1] represents the highest segment. If the path is incomplete, missing segments are filled in if possible. Missing segments must be part of the same direct ancestry in order to be filled in. If the desired path contains an include link, the shortest unambiguous set of pathkeys would be [leaf, includelink, root], where includelink is the return value from Include_Segment().

By default, HOOPS will determine the Net attribute from the last specified key all the way to the root. If you add -1 at the end of the array, the PShow_Net routines will not proceed beyond the end of the last specified key.

For other details, see Show_Callback()

◆ PShow_One_Net_Callback()

HC_BOOLEAN PShow_One_Net_Callback ( int  count,
const HC_KEY *  keys,
const char *  callback_point,
char *  callback_name 
)

Similar to PShow_Callback, but returns the net effective setting of a single callback along a path of segments specified by an array of HC_KEY's.

Parameters
count- The size of the keys array you are passing in
keys- The list of keys starting with the owning segment and following all the way back to the root segment or other desired segment.
callback_point- Callback point, such as "draw dc polyline".
callback_name- Name of the callback as defined in Define_Callback(). Passed by Reference. Returned to the user.

DETAILS

By default, HOOPS will determine the Net attribute from the last specified key all the way to the root. If you add -1 at the end of the array, the PShow_Net routines will not proceed beyond the end of the last specified key.

For other details, see Show_Callback()

◆ PShow_One_Net_Callback_With_Data()

HC_BOOLEAN PShow_One_Net_Callback_With_Data ( int  count,
const HC_KEY *  keys,
const char *  callback_point,
char *  callback,
void *  data 
)

Returns the net effective setting of a single callback along a path of segment specified by an array of HC_KEY's.

Parameters
count- Number of segment keys in the keys array.
keys- An array of segment keys that define the attribute inheritance path.
callback_point- A valid IM callback point.
callback- Name of the callback. Passed by reference. Returned to user.
data- A pointer to the data that was passed in with this specific callback. Passed by reference. Returned to user.

DETAILS

By default, HOOPS will determine the Net attribute from the last specified key all the way to the root. If you add -1 at the end of the array, the PShow_Net routines will not proceed beyond the end of the last specified key.

For other details, see Show_Callback()

◆ Show_Callback()

void Show_Callback ( char *  callbacks)

Returns the name of a procedural link between HOOPS database traversal and immediate mode rendering.

Parameters
callbacks- List of callbacks. Passed by Reference. Returned to the user.

DETAILS

This routine returns the previously established callbacks.

◆ Show_One_Callback()

void Show_One_Callback ( const char *  callback_point,
char *  callback_name 
)

Similar to Show_Callback(), but returns the setting of a single callback point in the currently open segment.

Parameters
callback_point- Callback point, such as "draw dc polyline".
callback_name- Name of the callback as defined in Define_Callback(). Passed by Reference. Returned to the user.

DETAILS

No additional details. See Show_Callback()

◆ Show_One_Callback_With_Data()

void Show_One_Callback_With_Data ( const char *  callback_point,
char *  callback,
void *  data 
)

Retrieves the data pointer that was passed in during a previous call to Set_Callback_With_Data().

Parameters
callback_point- A valid IM callback point.
callback- Name of the callback. Passed by reference. Returned to user.
data- A pointer to the data that was passed in with this specific callback. Passed by reference. Returned to user.

DETAILS

No additional details. See Show_Callback().