Functions | |
void | Show_Clip_Region (int *loopCount, int *loopSizeArray, HC_POINT *points, char *options) |
void | Show_Clip_Region_Size (int *loopCount, int *clipSizeArray, char *options) |
void | PShow_Net_Clip_Region (int count, const HC_KEY *keys, int *loops, int *lengths, HC_POINT *points, char *spec) |
void | PShow_Net_Clip_Region_Size (int count, const HC_KEY *keys, int *loops, int *total, char *spec) |
void Show_Clip_Region | ( | int * | loopCount, | |
int * | loopSizeArray, | |||
HC_POINT * | points, | |||
char * | options | |||
) |
Show the clip region settings on the currently open segment.
loopCount | - Number of clip regions defined in the points array. This will be the size of the array loopSizeArray. Returned to caller. Passed by reference always. | |
loopSizeArray | - An array of integers defining the number of points in each clip region. The sum of these values will be the size of the points array. Returned to caller. Passed by reference always. | |
points | - The array of points which are used to define the clip region. Returned to caller. Passed by reference always. | |
options | - Options that were used to define that clip region. Returned to caller. Passed by reference always. |
The function signature is designed in this way to allow for the future support of complex clip regions.
void Show_Clip_Region_Size | ( | int * | loopCount, | |
int * | loopSizeArray, | |||
char * | options | |||
) |
Finds the size of a clip region. Use this function to determine the size of the data structure that must hold points in preparation for calling ShowClipRegion.
loopCount | - Number of clip regions defined in the points array. This will be the size of the array loopSizeArray. Returned to caller. Passed by reference always. | |
loopSizeArray | - An array of integers defining the number of points in each clip region. The sum of these values will be the size of the points array. Returned to caller. Passed by reference always. | |
options | - Options that were used to define that clip region. Returned to caller. Passed by reference always. |
void PShow_Net_Clip_Region | ( | int | count, | |
const HC_KEY * | keys, | |||
int * | loops, | |||
int * | lengths, | |||
HC_POINT * | points, | |||
char * | spec | |||
) |
Similar to Show_Clip_Region(), but returns the net effective value of the attribute(s) along a path of segments specified by an array of HC_KEY's.
count | - Number of keys in the keys array | |
keys | - The list of keys starting with the owning segment and following all the way back to the root segment or other desired segment. | |
loops | - Number of clip regions defined in the points array. This will be the size of the array clipSizeArray. Returned to caller. Passed by reference always | |
length | - An array of integers defining the number of points in each clip region. The sum of these values will be the size of the points array. | |
points | - The array of points which are used to define the clip region. Returned to caller. Passed by reference always | |
spec | - Options that were used to define that clip region. Returned to caller. Passed by reference always |
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_Clip_Region()
void PShow_Net_Clip_Region_Size | ( | int | count, | |
const HC_KEY * | keys, | |||
int * | loops, | |||
int * | total, | |||
char * | spec | |||
) |
Similar to Show_Clip_Region_Size(), but returns the net effective value of the attribute(s) along a path of segments specified by an array of HC_KEY's.
count | - Number of keys in the keys array | |
keys | - The list of keys starting with the owning segment and following all the way back to the root segment or other desired segment. | |
loops | - Number of clip regions defined in the points array. This will be the size of the array clipSizeArray. Returned to caller. Passed by reference always | |
total | - An array of integers defining the number of points in each clip region. The sum of these values will be the size of the points array. | |
spec | - Options that were used to define that clip region. Returned to caller. Passed by reference always |
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_Clip_Region_Size()