library of assembled shared sources |
http://lass.cocamware.com |
#include <triangle_mesh_3d.h>
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 TPoint * | vertices [3] |
const TVector * | normals [3] |
const TUv * | uvs [3] |
Triangle * | others [3] |
triangle on other side of vertices k,k+1 | |
unsigned | creaseLevel [3] |
crease level of side k,k+1 |
Definition at line 119 of file triangle_mesh_3d.h.
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.
const size_t lass::prim::TriangleMesh3D< T, BHV, SH >::Triangle::side | ( | const TPoint * | v | ) | const [inline] |
Definition at line 643 of file triangle_mesh_3d.inl.
References lass::prim::TriangleMesh3D< T, BoundingVolumeHierarchy, SplitHeuristics >::Triangle::vertices.
Referenced by lass::prim::TriangleMesh3D< T, BoundingVolumeHierarchy, SplitHeuristics >::autoSew(), lass::prim::TriangleMesh3D< T, BoundingVolumeHierarchy, SplitHeuristics >::findVertexRing(), and lass::prim::TriangleMesh3D< T, BoundingVolumeHierarchy, SplitHeuristics >::subdivide().
const TPoint* lass::prim::TriangleMesh3D< T, BoundingVolumeHierarchy, SplitHeuristics >::Triangle::vertices[3] |
Definition at line 121 of file triangle_mesh_3d.h.
Referenced by lass::prim::TriangleMesh3D< T, BoundingVolumeHierarchy, SplitHeuristics >::autoCrease(), lass::prim::TriangleMesh3D< T, BoundingVolumeHierarchy, SplitHeuristics >::autoSew(), lass::prim::TriangleMesh3D< T, BoundingVolumeHierarchy, SplitHeuristics >::buildMesh(), lass::prim::TriangleMesh3D< T, BoundingVolumeHierarchy, SplitHeuristics >::connectTriangles(), lass::prim::TriangleMesh3D< T, BoundingVolumeHierarchy, SplitHeuristics >::findVertexRing(), lass::prim::TriangleMesh3D< T, BoundingVolumeHierarchy, SplitHeuristics >::findVertexTriangles(), lass::prim::TriangleMesh3D< T, BoundingVolumeHierarchy, SplitHeuristics >::Triangle::intersect(), lass::prim::TriangleMesh3D< T, BoundingVolumeHierarchy, SplitHeuristics >::PositionalEdge::PositionalEdge(), lass::prim::TriangleMesh3D< T, BoundingVolumeHierarchy, SplitHeuristics >::Triangle::side(), lass::prim::TriangleMesh3D< T, BoundingVolumeHierarchy, SplitHeuristics >::smoothNormals(), and lass::prim::TriangleMesh3D< T, BoundingVolumeHierarchy, SplitHeuristics >::subdivide().
const TVector* lass::prim::TriangleMesh3D< T, BoundingVolumeHierarchy, SplitHeuristics >::Triangle::normals[3] |
Definition at line 122 of file triangle_mesh_3d.h.
Referenced by lass::prim::TriangleMesh3D< T, BoundingVolumeHierarchy, SplitHeuristics >::autoCrease(), lass::prim::TriangleMesh3D< T, BoundingVolumeHierarchy, SplitHeuristics >::buildMesh(), lass::prim::TriangleMesh3D< T, BoundingVolumeHierarchy, SplitHeuristics >::Triangle::intersect(), lass::prim::TriangleMesh3D< T, BoundingVolumeHierarchy, SplitHeuristics >::smoothNormals(), and lass::prim::TriangleMesh3D< T, BoundingVolumeHierarchy, SplitHeuristics >::subdivide().
const TUv* lass::prim::TriangleMesh3D< T, BoundingVolumeHierarchy, SplitHeuristics >::Triangle::uvs[3] |
Definition at line 123 of file triangle_mesh_3d.h.
Referenced by lass::prim::TriangleMesh3D< T, BoundingVolumeHierarchy, SplitHeuristics >::buildMesh(), lass::prim::TriangleMesh3D< T, BoundingVolumeHierarchy, SplitHeuristics >::findVertexRing(), lass::prim::TriangleMesh3D< T, BoundingVolumeHierarchy, SplitHeuristics >::Triangle::intersect(), and lass::prim::TriangleMesh3D< T, BoundingVolumeHierarchy, SplitHeuristics >::subdivide().
Triangle* lass::prim::TriangleMesh3D< T, BoundingVolumeHierarchy, SplitHeuristics >::Triangle::others[3] |
triangle on other side of vertices k,k+1
Definition at line 124 of file triangle_mesh_3d.h.
Referenced by lass::prim::TriangleMesh3D< T, BoundingVolumeHierarchy, SplitHeuristics >::autoCrease(), lass::prim::TriangleMesh3D< T, BoundingVolumeHierarchy, SplitHeuristics >::autoSew(), lass::prim::TriangleMesh3D< T, BoundingVolumeHierarchy, SplitHeuristics >::buildMesh(), lass::prim::TriangleMesh3D< T, BoundingVolumeHierarchy, SplitHeuristics >::connectTriangles(), lass::prim::TriangleMesh3D< T, BoundingVolumeHierarchy, SplitHeuristics >::findVertexRing(), and lass::prim::TriangleMesh3D< T, BoundingVolumeHierarchy, SplitHeuristics >::subdivide().
unsigned lass::prim::TriangleMesh3D< T, BoundingVolumeHierarchy, SplitHeuristics >::Triangle::creaseLevel[3] |
crease level of side k,k+1
Definition at line 125 of file triangle_mesh_3d.h.
Referenced by lass::prim::TriangleMesh3D< T, BoundingVolumeHierarchy, SplitHeuristics >::autoCrease(), lass::prim::TriangleMesh3D< T, BoundingVolumeHierarchy, SplitHeuristics >::buildMesh(), lass::prim::TriangleMesh3D< T, BoundingVolumeHierarchy, SplitHeuristics >::findVertexRing(), and lass::prim::TriangleMesh3D< T, BoundingVolumeHierarchy, SplitHeuristics >::subdivide().
Generated on Mon Nov 10 14:22:14 2008 for Library of Assembled Shared Sources by 1.5.7.1 |