#include <manipulator.h>
Public Types |
|
enum | { intersect, mostOrthogonal, getNormal, getPoint, getPlaneConstant } |
Public Member Functions |
|
ManipExport | Plane (Point3 &normal, Point3 &point) |
ManipExport | Plane (Point3 &p1, Point3 &p2, Point3 &p3) |
ManipExport | Plane () |
ManipExport bool | Intersect (Ray &ray, Point3 &intersectionPoint) |
ManipExport Point3 & | GetNormal () |
ManipExport Point3 & | GetPoint () |
ManipExport float | GetPlaneConstant () |
ManipExport Plane & | MostOrthogonal (Ray &viewDir, Plane &plane) |
BEGIN_FUNCTION_MAP | FN_2 (intersect, TYPE_BOOL, Intersect, TYPE_RAY_BV, TYPE_POINT3_BR) |
FN_2 (mostOrthogonal, TYPE_INTERFACE, FPMostOrthogonal, TYPE_RAY_BV, TYPE_INTERFACE) | |
RO_PROP_FN (getNormal, GetNormal, TYPE_POINT3_BV) | |
RO_PROP_FN (getPoint, GetPoint, TYPE_POINT3_BV) | |
RO_PROP_FN (getPlaneConstant, GetPlaneConstant, TYPE_FLOAT) | |
END_FUNCTION_MAP
ManipExport Plane * |
FPMostOrthogonal (Ray &viewRay, FPInterface *plane) |
ManipExport FPInterfaceDesc * | GetDesc () |
ManipExport LifetimeType | LifetimeControl () |
ManipExport BaseInterface * | AcquireInterface () |
ManipExport void | ReleaseInterface () |
Static Public Attributes |
|
static ManipExport Plane | msXYPlane |
static ManipExport Plane | msXZPlane |
static ManipExport Plane | msYZPlane |
anonymous enum |
{ intersect, mostOrthogonal, getNormal, getPoint, getPlaneConstant, };
ManipExport Plane | ( | ) | [inline] |
: mNormal(0,0,1), mPoint(0,0,0), mD(0.0f) {}
ManipExport Point3& GetNormal | ( | ) | [inline] |
{ return mNormal; }
ManipExport Point3& GetPoint | ( | ) | [inline] |
{ return mPoint; }
ManipExport float GetPlaneConstant | ( | ) | [inline] |
BEGIN_FUNCTION_MAP FN_2 | ( | intersect | , |
TYPE_BOOL | , | ||
Intersect | , | ||
TYPE_RAY_BV | , | ||
TYPE_POINT3_BR | |||
) |
FN_2 | ( | mostOrthogonal | , |
TYPE_INTERFACE | , | ||
FPMostOrthogonal | , | ||
TYPE_RAY_BV | , | ||
TYPE_INTERFACE | |||
) |
RO_PROP_FN | ( | getNormal | , |
GetNormal | , | ||
TYPE_POINT3_BV | |||
) |
RO_PROP_FN | ( | getPoint | , |
GetPoint | , | ||
TYPE_POINT3_BV | |||
) |
RO_PROP_FN | ( | getPlaneConstant | , |
GetPlaneConstant | , | ||
TYPE_FLOAT | |||
) |
END_FUNCTION_MAP ManipExport Plane* FPMostOrthogonal | ( | Ray & | viewRay, |
FPInterface * | plane | ||
) |
ManipExport FPInterfaceDesc* GetDesc | ( | ) | [virtual] |
Implements FPInterface.
ManipExport LifetimeType LifetimeControl | ( | ) | [inline, virtual] |
Reimplemented from FPMixinInterface.
{ return wantsRelease; }
ManipExport BaseInterface* AcquireInterface | ( | ) | [inline, virtual] |
Reimplemented from BaseInterface.
{ return this; }
ManipExport void ReleaseInterface | ( | ) | [virtual] |
Reimplemented from BaseInterface.