Functions | |
void | Show_Camera_By_Volume (char *projection, float *xmin, float *xmax, float *ymin, float *ymax) |
void | PShow_Net_Camera_By_Volume (int count, HC_KEY const *keys, char *proj, float *xmin, float *xmax, float *ymin, float *ymax) |
void Show_Camera_By_Volume | ( | char * | projection, | |
float * | xmin, | |||
float * | xmax, | |||
float * | ymin, | |||
float * | ymax | |||
) |
Returns the simple rectangular box in user data space as set in a previous call to Set_Camera_By_Volume().
projection | - Special constant---either "Perspective", "Orthographic", "Stretched", or an "oblique" form ( see Set_Camera_By_Volume() ). Passed by reference. Returned to user. | |
xmin | - Minimum limit of what will be visible along the X-axis. Passed by reference. Returned to user. | |
xmax | - Maximum limit of what will be visible along the X-axis. Passed by reference. Returned to user. | |
ymin | - Minimum limit of what will be visible along the Y-axis. Passed by reference. Returned to user. | |
ymax | - Maximum limit of what will be visible along the Y-axis. Passed by reference. Returned to user. |
void PShow_Net_Camera_By_Volume | ( | int | count, | |
HC_KEY const * | keys, | |||
char * | proj, | |||
float * | xmin, | |||
float * | xmax, | |||
float * | ymin, | |||
float * | ymax | |||
) |
Similar to Show_Camera_By_Volume(), but returns the net effective camera along a discrete segment path.
count | - The size of pathkeys | |
keys | - An array of HC_KEY's delineating a path of segments. | |
projection | - Special constant---either "Perspective", "Orthographic", "Stretched", or an "oblique" form ( see Set_Camera_By_Volume() ). Passed by reference. Returned to user. | |
xmin | - Minimum limit of what will be visible along the X-axis. Passed by reference. Returned to user. | |
xmax | - Maximum limit of what will be visible along the X-axis. Passed by reference. Returned to user. | |
ymin | - Minimum limit of what will be visible along the Y-axis. Passed by reference. Returned to user. | |
ymax | - Maximum limit of what will be visible along the Y-axis. Passed by reference. Returned to user. |
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.