HyperspaceExplorer 0.7.1
|
Draws a ParametricFunction projected to 3-space. More...
#include <GridDrawer.h>
Public Member Functions | |
GridDrawer (const VecMath::MultiDimensionalVector< VecMath::Vector< 4, NUM >, P > &x, const VecMath::MultiDimensionalVector< VecMath::Vector< D, NUM >, P > &x_scr, UI::View *view) | |
void | execute () |
Private Attributes | |
const VecMath::MultiDimensionalVector < VecMath::Vector< 4, NUM >, P > & | _x |
const VecMath::MultiDimensionalVector < VecMath::Vector< D, NUM >, P > & | _x_scr |
UI::View * | _view |
Draws a ParametricFunction projected to 3-space.
This class evaluates the parametric equation represented by a ParametricFunction on points throughout its definition space and stores the values of the function at those points in a P
dimensional grid.
P | The dimension of the parameter vector space. |
NUM | The numeric type managed by the grid. |
D | Dimension of the projected vertices - if you find a reason for D being anything other than 3, I'd be interested to hear it ;-) |