#include <isphere_ui.h>#include <vector>#include <cmath>#include <maya/MFnCamera.h>#include <maya/MFnTransform.h>#include <maya/MTypes.h>#include <maya/MVector.h>#include <maya/MMatrix.h>#include <maya/MFloatMatrix.h>#include <maya/MColor.h>#include <isphere_geo.h>#include <imath.h>#include <isphere_shading.h>#include <error_checker.h>| Defines | |
| #define | LEAD_COLOR 18 | 
| #define | ACTIVE_COLOR 15 | 
| #define | ACTIVE_AFFECTED_COLOR 8 | 
| #define | DORMANT_COLOR 4 | 
| #define | HILITE_COLOR 17 | 
| Functions | |
| void | renderBBox (MBoundingBox &bbox, MPoint &sphere) | 
| Render bounding box. | |
| bool | intersectSphere (const MPoint &ray_base, const MVector &ray_direction, const MPoint &sphere_center, const float &radius, MPoint &intersection) | 
| Ray-sphere intersection test. | |
| Variables | |
| double | radius_internal = 1.0 | 
| 
 | ||||||||||||||||||||||||
| Ray-sphere intersection test. 
 
 
 
 | 
| 
 | ||||||||||||
| Render bounding box. 
 
 | 
| 
 | 
| 
 
 | 
 1.4.4
 1.4.4