library of assembled shared sources

http://lass.cocamware.com

lass::prim::TriangleMesh3D< T, BoundingVolumeHierarchy, SplitHeuristics >::Triangle Struct Reference

#include <triangle_mesh_3d.h>

Collaboration diagram for lass::prim::TriangleMesh3D< T, BoundingVolumeHierarchy, SplitHeuristics >::Triangle:

Collaboration graph
[legend]

Public Member Functions

const Result intersect (const TRay &ray, TReference t, TParam tMin=0, IntersectionContext *context=0) const
const size_t side (const TPoint *v) const

Data Fields

const TPointvertices [3]
const TVectornormals [3]
const TUvuvs [3]
Triangleothers [3]
 triangle on other side of vertices k,k+1
unsigned creaseLevel [3]
 crease level of side k,k+1

Detailed Description

template<typename T, template< typename T, typename OT, typename SH > class BoundingVolumeHierarchy, typename SplitHeuristics>
struct lass::prim::TriangleMesh3D< T, BoundingVolumeHierarchy, SplitHeuristics >::Triangle

Definition at line 119 of file triangle_mesh_3d.h.


Member Function Documentation

template<typename T , template< typename, typename, typename > class BHV, typename SH >
const Result lass::prim::TriangleMesh3D< T, BHV, SH >::Triangle::intersect ( const TRay ray,
TReference  t,
TParam  tMin = 0,
IntersectionContext context = 0 
) const [inline]

Definition at line 576 of file triangle_mesh_3d.inl.

References lass::prim::cross(), lass::prim::Ray3D< T, NormalizingPolicy, ParameterPolicy >::direction(), lass::prim::TriangleMesh3D< T, BoundingVolumeHierarchy, SplitHeuristics >::IntersectionContext::dNormal_dU, lass::prim::TriangleMesh3D< T, BoundingVolumeHierarchy, SplitHeuristics >::IntersectionContext::dNormal_dV, lass::prim::TriangleMesh3D< T, BoundingVolumeHierarchy, SplitHeuristics >::IntersectionContext::dPoint_dU, lass::prim::TriangleMesh3D< T, BoundingVolumeHierarchy, SplitHeuristics >::IntersectionContext::dPoint_dV, lass::prim::TriangleMesh3D< T, BoundingVolumeHierarchy, SplitHeuristics >::IntersectionContext::geometricNormal, lass::prim::impl::intersectTriangle3D(), LASS_ASSERT, lass::prim::TriangleMesh3D< T, BoundingVolumeHierarchy, SplitHeuristics >::IntersectionContext::normal, lass::prim::TriangleMesh3D< T, BoundingVolumeHierarchy, SplitHeuristics >::Triangle::normals, lass::prim::rOne, lass::prim::Ray3D< T, NormalizingPolicy, ParameterPolicy >::support(), lass::prim::TriangleMesh3D< T, BoundingVolumeHierarchy, SplitHeuristics >::IntersectionContext::uv, lass::prim::TriangleMesh3D< T, BoundingVolumeHierarchy, SplitHeuristics >::Triangle::uvs, lass::prim::TriangleMesh3D< T, BoundingVolumeHierarchy, SplitHeuristics >::Triangle::vertices, lass::prim::Point2D< T >::x, lass::prim::Vector3D< T >::x, lass::prim::Vector2D< T >::x, lass::prim::Point2D< T >::y, lass::prim::Vector3D< T >::y, and lass::prim::Vector2D< T >::y.

template<typename T , template< typename, typename, typename > class BHV, typename SH >
const size_t lass::prim::TriangleMesh3D< T, BHV, SH >::Triangle::side ( const TPoint v  )  const [inline]


Field Documentation

template<typename T , template< typename T, typename OT, typename SH > class BoundingVolumeHierarchy, typename SplitHeuristics >
const TPoint* lass::prim::TriangleMesh3D< T, BoundingVolumeHierarchy, SplitHeuristics >::Triangle::vertices[3]

template<typename T , template< typename T, typename OT, typename SH > class BoundingVolumeHierarchy, typename SplitHeuristics >
const TVector* lass::prim::TriangleMesh3D< T, BoundingVolumeHierarchy, SplitHeuristics >::Triangle::normals[3]

template<typename T , template< typename T, typename OT, typename SH > class BoundingVolumeHierarchy, typename SplitHeuristics >
const TUv* lass::prim::TriangleMesh3D< T, BoundingVolumeHierarchy, SplitHeuristics >::Triangle::uvs[3]

template<typename T , template< typename T, typename OT, typename SH > class BoundingVolumeHierarchy, typename SplitHeuristics >
Triangle* lass::prim::TriangleMesh3D< T, BoundingVolumeHierarchy, SplitHeuristics >::Triangle::others[3]

template<typename T , template< typename T, typename OT, typename SH > class BoundingVolumeHierarchy, typename SplitHeuristics >
unsigned lass::prim::TriangleMesh3D< T, BoundingVolumeHierarchy, SplitHeuristics >::Triangle::creaseLevel[3]


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

Generated on Mon Nov 10 14:22:14 2008 for Library of Assembled Shared Sources by doxygen 1.5.7.1
SourceForge.net Logo