library of assembled shared sources |
http://lass.cocamware.com |
#include <default_object_traits.h>
Public Types | |
enum | { dimension = TAabb::dimension } |
typedef AabbType | TAabb |
an nD AABB | |
typedef RayType | TRay |
an nD Ray | |
typedef TAabb::TPoint | TPoint |
an nD point | |
typedef TAabb::TVector | TVector |
an nD vector | |
typedef TAabb::TValue | TValue |
numerical type used in TPoint and TVector | |
typedef TAabb::TParam | TParam |
best type for function parameters of TValue | |
typedef TAabb::TReference | TReference |
reference to TValue | |
typedef TAabb::TConstReference | TConstReference |
const reference to TValue | |
Static Public Member Functions | |
static const TAabb | aabbEmpty () |
return empty AABB | |
static const bool | aabbContains (const TAabb &aabb, const TPoint &point) |
return true if AABB contains a point, return false otherwise | |
static const bool | aabbContains (const TAabb &aabb, const TAabb &other) |
static const bool | aabbIntersect (const TAabb &aabb, const TRay &ray, TReference t, const TParam tMin) |
return true if AABB is intersected by ray | |
static const TAabb | aabbJoin (const TAabb &a, const TAabb &b) |
join two AABBs and return the result | |
static const TPoint | aabbMin (const TAabb &aabb) |
return the minimum corner of the AABB | |
static const TPoint | aabbMax (const TAabb &aabb) |
return the maximum corner of the AABB | |
static const TPoint | raySupport (const TRay &ray) |
return the support point of the ray | |
static const TVector | rayDirection (const TRay &ray) |
return the direction vector of the ray | |
static const TValue | coord (const TPoint &point, size_t axis) |
return the axis coordinate value of point. | |
static void | coord (TPoint &point, size_t axis, TParam value) |
set the axis coordinate value of point. | |
static const TValue | coord (const TVector &vector, size_t axis) |
return the axis component value of vector. | |
static void | coord (TVector &vector, size_t axis, TParam value) |
set the axis component value of vector. | |
static const TVector | vectorReciprocal (const TVector &vector) |
return the reciprocal vector of vector |
Definition at line 66 of file default_object_traits.h.
typedef AabbType lass::spat::DefaultAabbRayTraits< AabbType, RayType >::TAabb |
an nD AABB
Reimplemented in lass::prim::TriangleMesh3D< T, BoundingVolumeHierarchy, SplitHeuristics >::TriangleTraits, and lass::spat::DefaultObjectTraits< ObjectType, AabbType, RayType, ObjectIterator >.
Definition at line 68 of file default_object_traits.h.
typedef RayType lass::spat::DefaultAabbRayTraits< AabbType, RayType >::TRay |
an nD Ray
Reimplemented in lass::prim::TriangleMesh3D< T, BoundingVolumeHierarchy, SplitHeuristics >::TriangleTraits, and lass::spat::DefaultObjectTraits< ObjectType, AabbType, RayType, ObjectIterator >.
Definition at line 69 of file default_object_traits.h.
typedef TAabb::TPoint lass::spat::DefaultAabbRayTraits< AabbType, RayType >::TPoint |
an nD point
Reimplemented in lass::prim::TriangleMesh3D< T, BoundingVolumeHierarchy, SplitHeuristics >::TriangleTraits, and lass::spat::DefaultObjectTraits< ObjectType, AabbType, RayType, ObjectIterator >.
Definition at line 71 of file default_object_traits.h.
typedef TAabb::TVector lass::spat::DefaultAabbRayTraits< AabbType, RayType >::TVector |
an nD vector
Reimplemented in lass::prim::TriangleMesh3D< T, BoundingVolumeHierarchy, SplitHeuristics >::TriangleTraits, and lass::spat::DefaultObjectTraits< ObjectType, AabbType, RayType, ObjectIterator >.
Definition at line 72 of file default_object_traits.h.
typedef TAabb::TValue lass::spat::DefaultAabbRayTraits< AabbType, RayType >::TValue |
numerical type used in TPoint and TVector
Reimplemented in lass::prim::TriangleMesh3D< T, BoundingVolumeHierarchy, SplitHeuristics >::TriangleTraits, and lass::spat::DefaultObjectTraits< ObjectType, AabbType, RayType, ObjectIterator >.
Definition at line 73 of file default_object_traits.h.
typedef TAabb::TParam lass::spat::DefaultAabbRayTraits< AabbType, RayType >::TParam |
best type for function parameters of TValue
Reimplemented in lass::prim::TriangleMesh3D< T, BoundingVolumeHierarchy, SplitHeuristics >::TriangleTraits, and lass::spat::DefaultObjectTraits< ObjectType, AabbType, RayType, ObjectIterator >.
Definition at line 74 of file default_object_traits.h.
typedef TAabb::TReference lass::spat::DefaultAabbRayTraits< AabbType, RayType >::TReference |
reference to TValue
Reimplemented in lass::prim::TriangleMesh3D< T, BoundingVolumeHierarchy, SplitHeuristics >::TriangleTraits, and lass::spat::DefaultObjectTraits< ObjectType, AabbType, RayType, ObjectIterator >.
Definition at line 75 of file default_object_traits.h.
typedef TAabb::TConstReference lass::spat::DefaultAabbRayTraits< AabbType, RayType >::TConstReference |
const reference to TValue
Reimplemented in lass::prim::TriangleMesh3D< T, BoundingVolumeHierarchy, SplitHeuristics >::TriangleTraits, and lass::spat::DefaultObjectTraits< ObjectType, AabbType, RayType, ObjectIterator >.
Definition at line 76 of file default_object_traits.h.
anonymous enum |
static const TAabb lass::spat::DefaultAabbRayTraits< AabbType, RayType >::aabbEmpty | ( | ) | [inline, static] |
static const bool lass::spat::DefaultAabbRayTraits< AabbType, RayType >::aabbContains | ( | const TAabb & | aabb, | |
const TPoint & | point | |||
) | [inline, static] |
return true if AABB contains a point, return false otherwise
Definition at line 91 of file default_object_traits.h.
static const bool lass::spat::DefaultAabbRayTraits< AabbType, RayType >::aabbContains | ( | const TAabb & | aabb, | |
const TAabb & | other | |||
) | [inline, static] |
Definition at line 96 of file default_object_traits.h.
static const bool lass::spat::DefaultAabbRayTraits< AabbType, RayType >::aabbIntersect | ( | const TAabb & | aabb, | |
const TRay & | ray, | |||
TReference | t, | |||
const TParam | tMin | |||
) | [inline, static] |
static const TAabb lass::spat::DefaultAabbRayTraits< AabbType, RayType >::aabbJoin | ( | const TAabb & | a, | |
const TAabb & | b | |||
) | [inline, static] |
static const TPoint lass::spat::DefaultAabbRayTraits< AabbType, RayType >::aabbMin | ( | const TAabb & | aabb | ) | [inline, static] |
static const TPoint lass::spat::DefaultAabbRayTraits< AabbType, RayType >::aabbMax | ( | const TAabb & | aabb | ) | [inline, static] |
static const TPoint lass::spat::DefaultAabbRayTraits< AabbType, RayType >::raySupport | ( | const TRay & | ray | ) | [inline, static] |
static const TVector lass::spat::DefaultAabbRayTraits< AabbType, RayType >::rayDirection | ( | const TRay & | ray | ) | [inline, static] |
static const TValue lass::spat::DefaultAabbRayTraits< AabbType, RayType >::coord | ( | const TPoint & | point, | |
size_t | axis | |||
) | [inline, static] |
static void lass::spat::DefaultAabbRayTraits< AabbType, RayType >::coord | ( | TPoint & | point, | |
size_t | axis, | |||
TParam | value | |||
) | [inline, static] |
static const TValue lass::spat::DefaultAabbRayTraits< AabbType, RayType >::coord | ( | const TVector & | vector, | |
size_t | axis | |||
) | [inline, static] |
static void lass::spat::DefaultAabbRayTraits< AabbType, RayType >::coord | ( | TVector & | vector, | |
size_t | axis, | |||
TParam | value | |||
) | [inline, static] |
static const TVector lass::spat::DefaultAabbRayTraits< AabbType, RayType >::vectorReciprocal | ( | const TVector & | vector | ) | [inline, static] |
Generated on Mon Nov 10 14:22:15 2008 for Library of Assembled Shared Sources by 1.5.7.1 |