libjbt

jbt_blanc_field Class Reference

Blanc and Shlick finite field function. More...

#include <field.h>

Inherits jbt_field.

List of all members.

Public Members


Detailed Description

Blanc and Shlick finite field function.

This function is due to the Blanc and Shlick publication from Implicit Surfaces '95. The function allows a range of blending hardness with less computational effort than the arctan field.


Member Function Documentation

jbt_blanc_field::jbt_blanc_field( jFlt _h = 0 )

Creates a new Blanc field. The hardness parameter should be >= 0, the result is undefined with h<0. The higher the value the harder the blend.

jFlt jbt_blanc_field::f( jFlt r, jFlt R ) const

Reimplemented from jbt_field.

virtual jgl_algebraic* jbt_blanc_field::expression( jgl_algebraic*, jFlt ) const [virtual]

Reimplemented from jbt_field.


The documentation for this class was generated from the following file:
JSP / libjbt v0.1 mtigges@cpsc.ucalgary.ca