class Isosurface

Object described by a function. More...

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

Public Types

Public Methods

Public Members

Private Types

Private Methods

Private Members


Detailed Description

Object described by a function. The isosuface's surface is formed by all points where the given function is zero. Function value smaller than zero means inside the isosurface.

typedef Function<const Vector3,DBL> IsosurfaceFunction

IsosurfaceFunction

 Isosurface (IsosurfaceFunction* func, Object3D* cont, DBL maxd, bool doeval)

Isosurface

Constructor.

Parameters:
functhe function describing the surface
contcontainer object
maxmaximal second derivative
doevalIf eval is enabled the algorithm increases the max second derivative if it sees that this is necessary.

 ~Isosurface ()

~Isosurface

 Isosurface (const Isosurface&)

Isosurface

[private]

Copy constructor.

Object3D*  duplicate ()

duplicate

[const]

Reimplemented from Object3D.

bool  isInsideAt (const Vector3& locallocation)

isInsideAt

[const]

Reimplemented from Object3D.

Intersection*  intersectUnBounded (const Ray& r)

intersectUnBounded

Reimplemented from Object3D.

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

intersectUnBounded

Reimplemented from Object3D.

static const DBL NORMAL_E

NORMAL_E

[private]

static const int MAX_STEP_INCREASE

MAX_STEP_INCREASE

[private]

static const DBL K_INCREASE_FACT

K_INCREASE_FACT

static HitStatistics stat

stat

[private]

static int isosurfacecount

isosurfacecount

[private]

Object3D* container

container

IsosurfaceFunction* f

f

DBL K

K

DBL missstepsize

missstepsize

bool eval

eval

MaxStatistics<DBL> maxdstat

maxdstat

StackElement (class)

StackElement

[private]

Structure holding time and associated function value.

IsosurfaceIntersection (class)

IsosurfaceIntersection

[private]

Describes Ray-Isosurface intersecion. The actual root-finding is done in this class.