Main Page | Class Hierarchy | Class List | File List | Class Members

Isosurface Class Reference

#include <isosurface.h>

Inheritance diagram for Isosurface:

Object3D SurfacePatch3D TransparentTransformatable Transformatable List of all members.

Public Types

typedef Function< const Vector3,
DBL > 
IsosurfaceFunction

Public Member Functions

 Isosurface (IsosurfaceFunction *func, Object3D *cont, DBL maxd, bool doeval)
Object3Dduplicate () const
bool isInsideAt (const Vector3 &locallocation) const
IntersectionintersectLocalLimitedTime (const Ray &r, DBL maxtime) const

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.
Author:
Micha Riser


Constructor & Destructor Documentation

Isosurface::Isosurface IsosurfaceFunction func,
Object3D cont,
DBL  maxd,
bool  doeval
 

Constructor.

Parameters:
func the function describing the surface
cont container object
max maximal second derivative
doeval If eval is enabled the algorithm increases the max second derivative if it sees that this is necessary.


Member Function Documentation

Object3D * Isosurface::duplicate  )  const [virtual]
 

Create a duplicate of the object. Must be of the same type!

Returns:
An exact duplicate of the object.

Implements SurfacePatch3D.

bool Isosurface::isInsideAt const Vector3 locallocation  )  const [virtual]
 

Test point for insideness.

Parameters:
locallocation point in object space to test
Returns:
true if point is inside the object else false

Implements Object3D.


The documentation for this class was generated from the following files:
Generated on Thu Jan 27 12:16:06 2005 for raytracer.kdevelop by doxygen 1.3.8