Classes | Macros | Functions
IceRay.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Ray
 

Macros

#define __ICERAY_H__
 

Functions

inline_ void ComputeLocalDirection (Point &local_dir, const Point &world_dir, const Matrix4x4 &world)
 
inline_ void ComputeLocalPoint (Point &local_pt, const Point &world_pt, const Matrix4x4 &world)
 
inline_ void ComputeLocalRay (Ray &local_ray, const Ray &world_ray, const Matrix4x4 &world)
 
inline_ void ComputeReflexionVector (Point &reflected, const Point &incoming_dir, const Point &outward_normal)
 
inline_ void ComputeReflexionVector (Point &reflected, const Point &source, const Point &impact, const Point &normal)
 
inline_ void DecomposeVector (Point &normal_compo, Point &tangent_compo, const Point &outward_dir, const Point &outward_normal)
 

Detailed Description

Contains code for rays.

Author
Pierre Terdiman
Date
April, 4, 2000

Definition in file IceRay.h.

Macro Definition Documentation

◆ __ICERAY_H__

#define __ICERAY_H__

Definition at line 14 of file OPC_IceHook.h.

Function Documentation

◆ ComputeLocalDirection()

inline_ void ComputeLocalDirection ( Point local_dir,
const Point world_dir,
const Matrix4x4 world 
)

Transforms a direction vector from world space to local space

Parameters
local_dir[out] direction vector in local space
world_dir[in] direction vector in world space
world[in] world transform

Definition at line 59 of file IceRay.h.

◆ ComputeLocalPoint()

inline_ void ComputeLocalPoint ( Point local_pt,
const Point world_pt,
const Matrix4x4 world 
)

Transforms a position vector from world space to local space

Parameters
local_pt[out] position vector in local space
world_pt[in] position vector in world space
world[in] world transform

Definition at line 75 of file IceRay.h.

◆ ComputeLocalRay()

inline_ void ComputeLocalRay ( Ray local_ray,
const Ray world_ray,
const Matrix4x4 world 
)

Transforms a ray from world space to local space

Parameters
local_ray[out] ray in local space
world_ray[in] ray in world space
world[in] world transform

Definition at line 91 of file IceRay.h.

◆ ComputeReflexionVector() [1/2]

inline_ void ComputeReflexionVector ( Point reflected,
const Point incoming_dir,
const Point outward_normal 
)

Definition at line 34 of file IceRay.h.

◆ ComputeReflexionVector() [2/2]

inline_ void ComputeReflexionVector ( Point reflected,
const Point source,
const Point impact,
const Point normal 
)

Definition at line 39 of file IceRay.h.

◆ DecomposeVector()

inline_ void DecomposeVector ( Point normal_compo,
Point tangent_compo,
const Point outward_dir,
const Point outward_normal 
)

Definition at line 45 of file IceRay.h.



openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Thu Sep 8 2022 02:24:06