HyperspaceExplorer 0.7.1
Classes | Public Member Functions

A four-dimensional surface described by Thomas Banchoff. More...

#include <SurfaceImplementations.h>

Inheritance diagram for Horizon:
Inheritance graph
[legend]
Collaboration diagram for Horizon:
Collaboration graph
[legend]

List of all members.

Classes

class  DefiningFunction
 ParametricFunction that defines Horizon. More...

Public Member Functions

 Horizon (double _umin, double _umax, double _du, double _vmin, double _vmax, double _dv)
virtual std::string getFunctionName () const

Detailed Description

A four-dimensional surface described by Thomas Banchoff.

\begin{eqnarray*} t & = & \theta*\pi \\ p & = & \phi*frac{\pi}{2} \\ F_0 & = (1-\sin{t})*\cos{p} \\ F_1 & = (1-\sin{t})*\sin{p} \\ F_2 & = (1+\sin{t})*\cos{p} \\ F_3 & = (1+\sin{t})*\sin{p} \\ F & = & F*\frac{1}{\sqrt{2}}*\cos{t} \end{eqnarray*}


Constructor & Destructor Documentation

Horizon::Horizon ( double  _umin,
double  _umax,
double  _du,
double  _vmin,
double  _vmax,
double  _dv 
)

Horizon c'tor given a definition set in $ R^2 $ (as parameter space)

Parameters:
_uminminimal value in u
_umaxmaximal value in u
_dustepsize in u
_vminminimal value in v
_vmaxmaximal value in v
_dvstepsize in v

References Surface::_function, and Surface::Initialize().

Here is the call graph for this function:


Member Function Documentation

virtual std::string Horizon::getFunctionName ( ) const [inline, virtual]
Returns:
The name of the Displayable in cleartext

Implements Displayable.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends

Generated on Mon Apr 9 2012 20:25:18 for HyperspaceExplorer 0.7.1 by doxygen 1.7.4  -  Hosted bySourceForge.net Logo