class Box

Box object. More...

Definition#include <raytracer/box.h>
InheritsObject3D [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Private Types

Private Members


Detailed Description

Box object.

 Box (const Vector3& min, const Vector3& max)

Box

Creates new box.

 ~Box ()

~Box

Object3D*  duplicate ()

duplicate

[const]

Reimplemented from Object3D.

Intersection*  intersectUnBounded (const Ray &r)

intersectUnBounded

Reimplemented from Object3D.

Intersection*  intersectUnBounded (const Ray &r, DBL maxtime)

intersectUnBounded

Reimplemented from Object3D.

bool  isInsideAt (const Vector3 &locallocation)

isInsideAt

[const]

Reimplemented from Object3D.

void  prepareToRender ()

prepareToRender

Reimplemented from Object3D.

enum boxside {NONE,X,Y,Z}

boxside

[private]

static HitStatistics stat

stat

[private]

Vector3 boxmin

boxmin

[private]

Vector3 boxmax

boxmax

[private]

BoxIntersection (class)

BoxIntersection

[private]

Describes Ray-Box intersection.