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

ImplicitFunction Class Reference

The ImplicitFunction Class. More...

#include <ImplicitFunction.h>

Inherited by ImplicitSphere.

List of all members.

Public Member Functions

 ImplicitFunction (float w)
 The Constructor.
virtual ~ImplicitFunction ()
 The Destructor.
virtual float implicitValue (MPoint p)=0
 An abstract Function.
virtual void applyMatrix (MTransformationMatrix matrix)=0
 An abstract Function.
virtual bool testInfluance (MPoint p)=0
 An abstract Function.

Public Attributes

MTransformationMatrix m
 A public Variable.
float weight
 A public Variable.


Detailed Description

The ImplicitFunction Class.

The ImplicitFunction class represents the super class for all classes that represent the mathematical formulation of an implicit function. It defines the virtual methods that need to be implemented in order for the SurfaceGenerator to calculate the iso surface.

Author:
Hannes Ricklefs

Definition at line 24 of file ImplicitFunction.h.


Constructor & Destructor Documentation

ImplicitFunction::ImplicitFunction float  w  ) 
 

The Constructor.

Constructs a new ImplicitFunction

Parameters:
w - the weight of this ImplicitFunction

Definition at line 9 of file ImplicitFunction.cpp.

References weight.

virtual ImplicitFunction::~ImplicitFunction  )  [inline, virtual]
 

The Destructor.

Destructs this ImplicitFunction

Definition at line 40 of file ImplicitFunction.h.


Member Function Documentation

virtual void ImplicitFunction::applyMatrix MTransformationMatrix  matrix  )  [pure virtual]
 

An abstract Function.

Applies the given Transformation matrix in order to update the location in 3D space where to calculate the implicit function value. This enables the ImplicitFunctions to be moved around in the Maya view port.

Parameters:
matrix - the new TransformationMatrix

Implemented in ImplicitSphere.

virtual float ImplicitFunction::implicitValue MPoint  p  )  [pure virtual]
 

An abstract Function.

Return the implicit function value for this ImplicitFunction for the given point p.

Parameters:
p - the point in 3D space to test
Returns:
- the calculate implicit function value

Implemented in ImplicitSphere.

virtual bool ImplicitFunction::testInfluance MPoint  p  )  [pure virtual]
 

An abstract Function.

Returns if the given point p is within the influence radius of this ImplicitFunction.

Parameters:
p - the point in 3D space to test
Returns:
-returns true if inside the implicit function radius. false otherwise

Implemented in ImplicitSphere.


Member Data Documentation

MTransformationMatrix ImplicitFunction::m
 

A public Variable.

The current transformation matrix

Definition at line 80 of file ImplicitFunction.h.

float ImplicitFunction::weight
 

A public Variable.

The current weight

Definition at line 86 of file ImplicitFunction.h.

Referenced by ImplicitFunction().


The documentation for this class was generated from the following files:
Generated on Mon Jun 13 03:18:00 2005 for ImplicitFunctions by  doxygen 1.4.1