Public Member Functions | Public Attributes | List of all members
Leap::SceneRay Struct Reference

ray used for ray hit tests More...

#include <LeapScene.h>

Public Member Functions

Vector CalcPointOn (float fDistFromOrigin) const
 returns a point that is the specified distance down the ray. More...
 
 SceneRay ()
 
 SceneRay (const Vector &vOrigin, const Vector &vDirection)
 
void Transform (const Matrix &mtxTransform)
 change the orientation and position of this ray by the given transform More...
 
SceneRay Transformed (const Matrix &mtxTransform) const
 

Public Attributes

Vector m_vDirection
 
Vector m_vOrigin
 

Detailed Description

ray used for ray hit tests

Definition at line 53 of file LeapScene.h.

Constructor & Destructor Documentation

Leap::SceneRay::SceneRay ( )
inline

Definition at line 55 of file LeapScene.h.

Leap::SceneRay::SceneRay ( const Vector vOrigin,
const Vector vDirection 
)
inline

Definition at line 57 of file LeapScene.h.

Member Function Documentation

Vector Leap::SceneRay::CalcPointOn ( float  fDistFromOrigin) const
inline

returns a point that is the specified distance down the ray.

Definition at line 60 of file LeapScene.h.

void Leap::SceneRay::Transform ( const Matrix mtxTransform)
inline

change the orientation and position of this ray by the given transform

Definition at line 63 of file LeapScene.h.

SceneRay Leap::SceneRay::Transformed ( const Matrix mtxTransform) const
inline

Definition at line 69 of file LeapScene.h.

Member Data Documentation

Vector Leap::SceneRay::m_vDirection

Definition at line 76 of file LeapScene.h.

Vector Leap::SceneRay::m_vOrigin

Definition at line 75 of file LeapScene.h.


The documentation for this struct was generated from the following file:


leap_motion
Author(s): Florian Lier , Mirza Shah , Isaac IY Saito
autogenerated on Tue Jun 2 2020 03:58:01