version 3.3

VRS::RayIntersector Class Reference

#include <vrs/rayintersector.h>

Inheritance diagram for VRS::RayIntersector:

VRS::Handler VRS::RenderObj VRS::SharedObj VRS::Visitable EnvironmentRenderer::GreenSpaceCompositeRayIntersector EnvironmentRenderer::GreenSpaceRayIntersector EnvironmentRenderer::PolygonSetWaterSurfaceRayIntersector EnvironmentRenderer::WaterSurfaceRayIntersector VRS::BatchTreeRayIntersectorGL VRS::MappedVertexAttributeShapeRayIntersectorGL VRS::PolygonSetRayIntersector VRS::PrimitiveQuadTreeAreaRayIntersectorGL VRS::PrimitiveQuadTreeDistanceRayIntersectorGL VRS::TEXT::DisplacedTextureTextRayIntersector VRS::TEXT::FontLodTextRayIntersector VRS::TEXT::SimplePanelRayIntersector VRS::TEXT::TextureTextRayIntersector VRS::TexturedBatchTreeRayIntersectorGL

List of all members.

Public Member Functions

virtual ID service () const
virtual bool intersect (Engine *ctx, const Matrix &mv, const Matrix &ori, const Matrix &pr, const Shape *S, const Ray &r, RayTracingTechnique *tracer)=0
 VRS_TYPEINFO (RayIntersector, Handler)

Static Public Member Functions

static bool intersectTriangle (const Vector &rayorigin, const Vector &raydirection, const Vector &V0, const Vector &V1, const Vector &V2, const Vector &normal, Vector &pointRet)

Static Protected Member Functions

static bool intersectTriangle (const Vector &rayorigin, const Vector &raydirection, const Vector &V0, const Vector &V1, const Vector &V2, const Matrix &mv, const Matrix &ori, const Matrix &pr, const Shape *S, RayTracingTechnique *tracer, int hint=0, unsigned int instanceInfo=0, UINT32 id=0)


Detailed Description

Abstract Base Class for RayIntersectors. A RayIntersector performs an intersection-test between a ray and a shape. All intersections are reported by passing an `IntersectionInfo' to a callback.

Member Function Documentation

virtual ID VRS::RayIntersector::service (  )  const [virtual]

The service name of ray intersectors is RayIntersector.

Reimplemented from VRS::Handler.

virtual bool VRS::RayIntersector::intersect ( Engine ctx,
const Matrix mv,
const Matrix ori,
const Matrix pr,
const Shape S,
const Ray r,
RayTracingTechnique tracer 
) [pure virtual]

VRS::RayIntersector::VRS_TYPEINFO ( RayIntersector  ,
Handler   
)

static bool VRS::RayIntersector::intersectTriangle ( const Vector rayorigin,
const Vector raydirection,
const Vector V0,
const Vector V1,
const Vector V2,
const Vector normal,
Vector pointRet 
) [static]

static bool VRS::RayIntersector::intersectTriangle ( const Vector rayorigin,
const Vector raydirection,
const Vector V0,
const Vector V1,
const Vector V2,
const Matrix mv,
const Matrix ori,
const Matrix pr,
const Shape S,
RayTracingTechnique tracer,
int  hint = 0,
unsigned int  instanceInfo = 0,
UINT32  id = 0 
) [static, protected]


The documentation for this class was generated from the following file:

Generated on Wed May 22 06:00:29 2013 by Doxygen 1.5.6
© 2001-2010 Hasso-Plattner-Institut | Impressum | Contact