Show_Color_Map_Length

Functions

HC_BOOLEAN PShow_Net_Color_Map_Length (int count, HC_KEY const *keys, int *value)
 Similar to Show_Color_Map_Length but returns the size of the net effective color map along a discrete segment path. More...
 
HC_BOOLEAN Show_Color_Map_Length (int *value)
 Returns the size of the color map that has been set on the currently open segment. More...
 

Detailed Description

Function Documentation

◆ PShow_Net_Color_Map_Length()

HC_BOOLEAN PShow_Net_Color_Map_Length ( int  count,
HC_KEY const *  keys,
int *  value 
)

Similar to Show_Color_Map_Length but returns the size of the net effective color map along a discrete segment path.

Parameters
countThe size of pathkeys.
keysAn array of HC_KEY's delineating a path of segments.
valueThe size of the color map associated with this segment. Passed by reference. Returned to 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_Color_Map_Length().

◆ Show_Color_Map_Length()

HC_BOOLEAN Show_Color_Map_Length ( int *  value)

Returns the size of the color map that has been set on the currently open segment.

Parameters
valueThe size of the color map associated with this segment. Passed by reference. Returned to user.

DETAILS

No additional details. See Set_Color_Map()