library of assembled shared sources |
http://lass.cocamware.com |
Data Structures | |
class | Line2DCartesian |
implementation of 2d line with both cartesian and parametric equation. More... | |
class | Line2DCombined |
implementation of 2d line with both cartesian and parametric equation. More... | |
struct | Line2DImpl |
binder of equation policy to lass::prim::Line2D implementation More... | |
struct | Line2DImpl< T, Parametric, NormalizingPolicy > |
struct | Line2DImpl< T, Combined, NormalizingPolicy > |
class | Line2DParametric |
implementation of 2d line with parametric equation. More... | |
class | Plane3DCartesian |
implementation of plane 3d with a cartesian equation More... | |
class | Plane3DCombined |
implementation of plane 3d with both cartesian and parametric equation, and plus extra reciprocal vectors and board. More... | |
struct | Plane3DImpl |
binder of equation policy to lass::prim::Plane3D implementation More... | |
struct | Plane3DImpl< T, Parametric, NormalizingPolicy > |
struct | Plane3DImpl< T, Combined, NormalizingPolicy > |
class | Plane3DImplDetail |
common implementation stuff for Plane3D implementations. More... | |
class | Plane3DParametric |
implementation of lass::prim::Plane3D with a parametric equation More... | |
class | AllocatorHelper |
class | AllocatorHelper< T, false > |
struct | RaySphere |
struct | RaySphere< Normalized > |
struct | RayParameterRescaler< prim::Unnormalized > |
struct | RayParameterRescaler< prim::Normalized > |
class | Transformation2DStorage |
class | Transformation3DStorage |
Typedefs | |
typedef util::AllocatorThrow < util::AllocatorPerThread < util::AllocatorBinned < util::AllocatorFreeList <>, 4096, util::BinnerPower2 > >> | TMemoryAllocator |
Functions | |
template<typename T > | |
bool | interectSlab (const T &iMin, const T &iMax, const T &iSupport, const T &iDirection, T &ioTNear, T &ioTFar) |
template<typename Point , typename Vector , typename T > | |
bool | intersectEdge2D (const Point &iSupport, const Vector &iDirection, const Point &iTail, const Point &iHead, T &oTNear, const T &iMinT) |
template<typename Point , typename Vector , typename T > | |
Result | intersectTriangle3D (const Point &iVertex0, const Vector &iEdge1, const Vector &iEdge2, const Point &iSupport, const Vector &iDirection, T &oU, T &oV, T &oT, const T &iMinT) |
template<typename T , class NP > | |
std::ostream & | operator<< (std::ostream &ioOStream, const Line2DCartesian< T, NP > &iLine) |
template<typename T , class NP > | |
std::ostream & | operator<< (std::ostream &ioOStream, const Line2DCombined< T, NP > &iLine) |
template<typename T , class NP > | |
std::ostream & | operator<< (std::ostream &ioOStream, const Line2DParametric< T, NP > &iLine) |
template<typename T , class NP > | |
std::ostream & | operator<< (std::ostream &ioOStream, const Plane3DCartesian< T, NP > &iPlane) |
template<typename T , class NP > | |
std::ostream & | operator<< (std::ostream &ioOStream, const Plane3DCombined< T, NP > &iPlane) |
template<typename T , class NP > | |
std::ostream & | operator<< (std::ostream &ioOStream, const Plane3DParametric< T, NP > &iPlane) |
TMemoryAllocator & | memoryAllocator () |
void * | allocateMemory (size_t size) |
void | deallocateMemory (void *p, size_t size) |
template<typename T > | |
T * | allocateArray (size_t n) |
template<typename T > | |
void | deallocateArray (T *p, size_t n) |
typedef util::AllocatorThrow< util::AllocatorPerThread< util::AllocatorBinned< util::AllocatorFreeList<>, 4096, util::BinnerPower2 > >> lass::prim::impl::TMemoryAllocator |
Definition at line 64 of file prim_allocator.cpp.
bool lass::prim::impl::interectSlab | ( | const T & | iMin, | |
const T & | iMax, | |||
const T & | iSupport, | |||
const T & | iDirection, | |||
T & | ioTNear, | |||
T & | ioTFar | |||
) | [inline] |
Definition at line 59 of file aabb_slab.h.
References lass::num::inv(), std::swap(), and lass::stde::T.
Referenced by lass::prim::Ray3D< T, NormalizingPolicy, ParameterPolicy >::intersect(), and lass::prim::Ray2D< T, NormalizingPolicy, ParameterPolicy >::intersect().
bool lass::prim::impl::intersectEdge2D | ( | const Point & | iSupport, | |
const Vector & | iDirection, | |||
const Point & | iTail, | |||
const Point & | iHead, | |||
T & | oTNear, | |||
const T & | iMinT | |||
) | [inline] |
Definition at line 58 of file intersect_edge_2d.h.
References LASS_ASSERT, lass::prim::perpDot(), and lass::stde::T.
Referenced by lass::prim::Triangle2D< T >::intersect(), lass::prim::SimplePolygon2D< T, DegeneratePolicy >::intersect(), and lass::prim::Ray2D< T, NormalizingPolicy, ParameterPolicy >::intersect().
Result lass::prim::impl::intersectTriangle3D | ( | const Point & | iVertex0, | |
const Vector & | iEdge1, | |||
const Vector & | iEdge2, | |||
const Point & | iSupport, | |||
const Vector & | iDirection, | |||
T & | oU, | |||
T & | oV, | |||
T & | oT, | |||
const T & | iMinT | |||
) | [inline] |
Definition at line 68 of file intersect_triangle_3d.h.
References lass::prim::cross(), lass::prim::dot(), lass::num::inv(), lass::prim::rNone, lass::prim::rOne, and lass::stde::T.
Referenced by lass::prim::TriangleMesh3D< T, BoundingVolumeHierarchy, SplitHeuristics >::Triangle::intersect(), and lass::prim::Triangle3D< T >::intersect().
std::ostream& lass::prim::impl::operator<< | ( | std::ostream & | ioOStream, | |
const Line2DCartesian< T, NP > & | iLine | |||
) | [inline] |
std::ostream& lass::prim::impl::operator<< | ( | std::ostream & | ioOStream, | |
const Line2DCombined< T, NP > & | iLine | |||
) | [inline] |
std::ostream& lass::prim::impl::operator<< | ( | std::ostream & | ioOStream, | |
const Line2DParametric< T, NP > & | iLine | |||
) | [inline] |
std::ostream& lass::prim::impl::operator<< | ( | std::ostream & | ioOStream, | |
const Plane3DCartesian< T, NP > & | iPlane | |||
) | [inline] |
std::ostream& lass::prim::impl::operator<< | ( | std::ostream & | ioOStream, | |
const Plane3DCombined< T, NP > & | iPlane | |||
) | [inline] |
std::ostream& lass::prim::impl::operator<< | ( | std::ostream & | ioOStream, | |
const Plane3DParametric< T, NP > & | iPlane | |||
) | [inline] |
TMemoryAllocator& lass::prim::impl::memoryAllocator | ( | ) |
Definition at line 66 of file prim_allocator.cpp.
Referenced by allocateMemory(), and deallocateMemory().
LASS_DLL void * lass::prim::impl::allocateMemory | ( | size_t | size | ) |
Definition at line 71 of file prim_allocator.cpp.
References lass::util::AllocatorThrow< Allocator >::allocate(), and memoryAllocator().
Referenced by lass::prim::impl::AllocatorHelper< T, false >::allocate(), and lass::prim::impl::AllocatorHelper< T, hasTrivialConstructorAndDestructor >::allocate().
LASS_DLL void lass::prim::impl::deallocateMemory | ( | void * | p, | |
size_t | size | |||
) |
Definition at line 76 of file prim_allocator.cpp.
References memoryAllocator().
Referenced by lass::prim::impl::AllocatorHelper< T, false >::deallocate(), and lass::prim::impl::AllocatorHelper< T, hasTrivialConstructorAndDestructor >::deallocate().
T* lass::prim::impl::allocateArray | ( | size_t | n | ) | [inline] |
Definition at line 112 of file prim_allocator.h.
void lass::prim::impl::deallocateArray | ( | T * | p, | |
size_t | n | |||
) | [inline] |
Definition at line 118 of file prim_allocator.h.
Referenced by lass::prim::impl::Transformation3DStorage< T, Cascade >::dispose(), and lass::prim::impl::Transformation2DStorage< T, Cascade >::dispose().
Generated on Mon Nov 10 14:22:14 2008 for Library of Assembled Shared Sources by 1.5.7.1 |