Functions | |
void | Set_Polygonal_Clip_Region (int count, const HC_POINT *points, const char *options) |
void | QSet_Polygonal_Clip_Region (const char *segment, int count, const HC_POINT *points, const char *options) |
void | UnSet_Clip_Region (void) |
void | QUnSet_Clip_Region (const char *segment) |
void Set_Polygonal_Clip_Region | ( | int | count, | |
const HC_POINT * | points, | |||
const char * | options | |||
) |
Defines a polygonal region in the segment tree, where all geometry in/beneath that segment will be drawn clipped to that region or masked out.
count | - Number of (x,y,z) triplets in points. | |
points | - The set of (x,y,z) triplets that define the polygonal clip region. | |
options | - A comma separated list of the desired settings. |
The list of valid choices for options string:
window | world
Specify the coordinate space. You can select either 'window' or 'world'. 'window' means that the coordinates specified in points array are in window space while 'world' indicate the values specifed in the points array are in world space.
type [= clip|mask]
If "type=clip", then everything in/below the currently opened segment which lies outside the defined polygon will not be drawn. If the "type=mask", then everything in/below the currently opened segment which lies inside the defined polygon will not be drawn.
If nothing is specified in the options string, then the region will be a clip region and the points will be assumed to be in window space.
void QSet_Polygonal_Clip_Region | ( | const char * | segment, | |
int | count, | |||
const HC_POINT * | points, | |||
const char * | options | |||
) |
Similar to Set_Polygonal_Clip_Region(), but operates on a given segment rather than the currently open one.
segment | - The root of the segment tree to which the clip should be applied. | |
count | - Number of (x,y,z) triplets in points. | |
points | - The set of (x,y,z) triplets that define the polygonal clip region. | |
options | - Coordinate space for points, either 'world' or 'window' space |
void UnSet_Clip_Region | ( | void | ) |
Removes all clip regions set by a previous call to Set_Polygonal_Clip_Region().
void QUnSet_Clip_Region | ( | const char * | segment | ) |
Similar to UnSet_Clip_Region(), but operates on a given segment rather than the currently open one.
segment | - The root of the segment tree to which the clip should be applied. |