HyperspaceExplorer 0.7.1
|
Default Projection policy - specialization to end recursion. More...
#include <Projection.h>
Public Member Functions | |
SimpleProjectionPolicy (typename Projection< N, Nnew, 1, NUM >::PointList viewpoint, typename Projection< N, Nnew, 1, NUM >::PointList eye, typename Projection< N, Nnew, 1, NUM >::DistanceList screen_distance, typename Projection< N, Nnew, 1, NUM >::BoolList depth_cue) | |
Create a SimpleProjectionPolicy with arbitrary view- and camera points for each dimension. | |
VecMath::MultiDimensionalVector < VecMath::Vector< Nnew, NUM >, 1 > | project (const VecMath::MultiDimensionalVector< VecMath::Vector< N, NUM >, 1 > &values) |
Execute the Projection on the given grid of values . | |
Private Attributes | |
Projection< N, Nnew, 1, NUM > ::PointList | _viewpoint |
List of view points for the downprojection in each dimension. | |
Projection< N, Nnew, 1, NUM > ::PointList | _eye |
List of camera positions for the downprojection in each dimension. | |
Projection< N, Nnew, 1, NUM > ::DistanceList | _screen_distance |
List of screen distances for the downprojection in each dimension. | |
Projection< N, Nnew, 1, NUM > ::BoolList | _depth_cue |
List of flags whether depth cue is used for the downprojection in each dimension. |
Default Projection policy - specialization to end recursion.
Operates on a one-dimensional vector of Vector
s.
N | Original dimension of the Vector s to project. |
Nnew | Dimension to project into. |
NUM | The numeric type of the Vector s. |
SimpleProjectionPolicy< N, Nnew, 1, NUM >::SimpleProjectionPolicy | ( | typename Projection< N, Nnew, 1, NUM >::PointList | viewpoint, |
typename Projection< N, Nnew, 1, NUM >::PointList | eye, | ||
typename Projection< N, Nnew, 1, NUM >::DistanceList | screen_distance, | ||
typename Projection< N, Nnew, 1, NUM >::BoolList | depth_cue | ||
) | [inline] |
Create a SimpleProjectionPolicy with arbitrary view- and camera points for each dimension.
viewpoint | List of view points for the downprojection in each dimension. |
eye | List of camera positions for the downprojection in each dimension. |
screen_distance | List of screen distances for the downprojection in each dimension. |
depth_cue | List of flags whether depth cue is used for the downprojection in each dimension. |