Public Types | Public Member Functions

OpenTissue::function::SignedDistanceFunction< math_types > Class Template Reference

#include <function_signed_distance_function.h>

Inheritance diagram for OpenTissue::function::SignedDistanceFunction< math_types >:
OpenTissue::function::ImplicitFunction< math_types >

List of all members.

Public Types

typedef math_types::real_type real_type
typedef math_types::vector3_type vector3_type

Public Member Functions

virtual ~SignedDistanceFunction ()
virtual vector3_type normal (vector3_type const &x) const =0
virtual real_type signed_distance (vector3_type const &x) const =0

Detailed Description

template<typename math_types>
class OpenTissue::function::SignedDistanceFunction< math_types >

Signed Distance Function interface


Member Typedef Documentation


Constructor & Destructor Documentation

template<typename math_types>
virtual OpenTissue::function::SignedDistanceFunction< math_types >::~SignedDistanceFunction (  )  [inline, virtual]

Member Function Documentation

template<typename math_types>
virtual vector3_type OpenTissue::function::SignedDistanceFunction< math_types >::normal ( vector3_type const &  x  )  const [pure virtual]

The unit normal of the implicit function evaluated in x.

template<typename math_types>
virtual real_type OpenTissue::function::SignedDistanceFunction< math_types >::signed_distance ( vector3_type const &  x  )  const [pure virtual]

The signed distance from x to the surface, e.g. -normal*signed_distance is the shortest direction to the surface from any x.


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