|
HyperspaceExplorer 0.7.1
|
A list of Vector s of dimension Nnew+1 through N.
More...
#include <ViewpointList.h>


Public Member Functions | |
| ViewpointList () | |
| Creates a ViewpointList with all elements at the origin. | |
| ViewpointList (NUM camW) | |
Creates a list of Vector s whose highest element is set to camW. | |
| ViewpointList (const VecMath::Vector< N, NUM > &single_element) | |
| Construct a ViewpointList with a single element. | |
| ViewpointList (const VecMath::Vector< N, NUM > &head, const ViewpointList< N-1, Nnew, NUM > &tail) | |
| Construct a ViewpointList from an element and another ViewpointList. | |
| const VecMath::Vector< N, NUM > & | head () const |
| Return the first element of a ViewpointList. | |
| VecMath::Vector< N, NUM > & | head () |
| Return the first element of a ViewpointList. | |
|
const ViewpointList< N-1, Nnew, NUM > & | tail () const |
| Return a ViewpointList that contains all but the first element. | |
| ViewpointList< N-1, Nnew, NUM > & | tail () |
| Return a ViewpointList that contains all but the first element. | |
| template<unsigned i> | |
| VecMath::Vector< N-i, NUM > | get () |
Returns element i from the list. | |
| std::string | toString () const |
| String representation. | |
Static Public Member Functions | |
| static ViewpointList | make (const VecMath::Vector< N, NUM > &x0) |
| Constructs a ViewpointList with one Member. | |
| static ViewpointList | make (const VecMath::Vector< N, NUM > &x0, const VecMath::Vector< N-1, NUM > &x1) |
| Constructs a ViewpointList with two Members. | |
| static ViewpointList | make (const VecMath::Vector< N, NUM > &x0, const VecMath::Vector< N-1, NUM > &x1, const VecMath::Vector< N-2, NUM > &x2) |
| Constructs a ViewpointList with three Members. | |
| static ViewpointList | make (const VecMath::Vector< N, NUM > &x0, const VecMath::Vector< N-1, NUM > &x1, const VecMath::Vector< N-2, NUM > &x2, const VecMath::Vector< N-3, NUM > &x3) |
| Constructs a ViewpointList with four Members. | |
| static ViewpointList | make (const VecMath::Vector< N, NUM > &x0, const VecMath::Vector< N-1, NUM > &x1, const VecMath::Vector< N-2, NUM > &x2, const VecMath::Vector< N-3, NUM > &x3, const VecMath::Vector< N-4, NUM > &x4) |
| Constructs a ViewpointList with five Members. | |
| static ViewpointList | make (const VecMath::Vector< N, NUM > &x0, const VecMath::Vector< N-1, NUM > &x1, const VecMath::Vector< N-2, NUM > &x2, const VecMath::Vector< N-3, NUM > &x3, const VecMath::Vector< N-4, NUM > &x4, const VecMath::Vector< N-5, NUM > &x5) |
| Constructs a ViewpointList with six Members. | |
| static ViewpointList | make (const VecMath::Vector< N, NUM > &x0, const VecMath::Vector< N-1, NUM > &x1, const VecMath::Vector< N-2, NUM > &x2, const VecMath::Vector< N-3, NUM > &x3, const VecMath::Vector< N-4, NUM > &x4, const VecMath::Vector< N-5, NUM > &x5, const VecMath::Vector< N-6, NUM > &x6) |
| Constructs a ViewpointList with seven Members. | |
| static ViewpointList | make (const VecMath::Vector< N, NUM > &x0, const VecMath::Vector< N-1, NUM > &x1, const VecMath::Vector< N-2, NUM > &x2, const VecMath::Vector< N-3, NUM > &x3, const VecMath::Vector< N-4, NUM > &x4, const VecMath::Vector< N-5, NUM > &x5, const VecMath::Vector< N-6, NUM > &x6, const VecMath::Vector< N-7, NUM > &x7) |
| Constructs a ViewpointList with eight Members. | |
Private Attributes | |
|
std::pair< VecMath::Vector< N, NUM >, ViewpointList< N-1, Nnew, NUM > > | _elements |
| The elements of the list are stored as a tuple, recursively defined. | |
A list of Vector s of dimension Nnew+1 through N.
These are used in storing the view points and camera positions when projecting a point in N space into Nnew dimensions. Every projection from one dimension to the next lower dimension needs a Vector of the original dimension as camera position and one as view point.
| N | The dimension of the original vector space. |
| Nnew | The dimension of the vector space into which is projected. |
| NUM | The numeric type of the Vector s. |
| ViewpointList< N, Nnew, NUM >::ViewpointList | ( | NUM | camW | ) |
Creates a list of Vector s whose highest element is set to camW.
| camW | Coordinate of camera in the axis along which each Projection occurs. |
References ViewpointList< N, Nnew, NUM >::_elements, std::pair< _T1, _T2 >::first, and std::pair< _T1, _T2 >::second.
| VecMath::Vector<N-i, NUM> ViewpointList< N, Nnew, NUM >::get | ( | ) | [inline] |
Returns element i from the list.
| i | The index of the requested element. |
Referenced by ViewpointList< N-1, Nnew, NUM >::get().

| ViewpointList< N, Nnew, NUM > ViewpointList< N, Nnew, NUM >::make | ( | const VecMath::Vector< N, NUM > & | x0, |
| const VecMath::Vector< N-1, NUM > & | x1, | ||
| const VecMath::Vector< N-2, NUM > & | x2, | ||
| const VecMath::Vector< N-3, NUM > & | x3, | ||
| const VecMath::Vector< N-4, NUM > & | x4, | ||
| const VecMath::Vector< N-5, NUM > & | x5, | ||
| const VecMath::Vector< N-6, NUM > & | x6 | ||
| ) | [static] |
Constructs a ViewpointList with seven Members.
| x0 | Viewpoint in Projection in first dimension. |
| x1 | Viewpoint in Projection in second dimension. |
| x2 | Viewpoint in Projection in third dimension. |
| x3 | Viewpoint in Projection in fourth dimension. |
| x4 | Viewpoint in Projection in fifth dimension. |
| x5 | Viewpoint in Projection in sixth dimension. |
| x6 | Viewpoint in Projection in seventh dimension. |
| ViewpointList< N, Nnew, NUM > ViewpointList< N, Nnew, NUM >::make | ( | const VecMath::Vector< N, NUM > & | x0, |
| const VecMath::Vector< N-1, NUM > & | x1, | ||
| const VecMath::Vector< N-2, NUM > & | x2, | ||
| const VecMath::Vector< N-3, NUM > & | x3, | ||
| const VecMath::Vector< N-4, NUM > & | x4 | ||
| ) | [static] |
Constructs a ViewpointList with five Members.
| x0 | Viewpoint in Projection in first dimension. |
| x1 | Viewpoint in Projection in second dimension. |
| x2 | Viewpoint in Projection in third dimension. |
| x3 | Viewpoint in Projection in fourth dimension. |
| x4 | Viewpoint in Projection in fifth dimension. |
| ViewpointList< N, Nnew, NUM > ViewpointList< N, Nnew, NUM >::make | ( | const VecMath::Vector< N, NUM > & | x0, |
| const VecMath::Vector< N-1, NUM > & | x1 | ||
| ) | [static] |
Constructs a ViewpointList with two Members.
| x0 | Viewpoint in Projection in first dimension. |
| x1 | Viewpoint in Projection in second dimension. |
| ViewpointList< N, Nnew, NUM > ViewpointList< N, Nnew, NUM >::make | ( | const VecMath::Vector< N, NUM > & | x0, |
| const VecMath::Vector< N-1, NUM > & | x1, | ||
| const VecMath::Vector< N-2, NUM > & | x2 | ||
| ) | [static] |
Constructs a ViewpointList with three Members.
| x0 | Viewpoint in Projection in first dimension. |
| x1 | Viewpoint in Projection in second dimension. |
| x2 | Viewpoint in Projection in third dimension. |
| ViewpointList< N, Nnew, NUM > ViewpointList< N, Nnew, NUM >::make | ( | const VecMath::Vector< N, NUM > & | x0, |
| const VecMath::Vector< N-1, NUM > & | x1, | ||
| const VecMath::Vector< N-2, NUM > & | x2, | ||
| const VecMath::Vector< N-3, NUM > & | x3 | ||
| ) | [static] |
Constructs a ViewpointList with four Members.
| x0 | Viewpoint in Projection in first dimension. |
| x1 | Viewpoint in Projection in second dimension. |
| x2 | Viewpoint in Projection in third dimension. |
| x3 | Viewpoint in Projection in fourth dimension. |
| ViewpointList< N, Nnew, NUM > ViewpointList< N, Nnew, NUM >::make | ( | const VecMath::Vector< N, NUM > & | x0, |
| const VecMath::Vector< N-1, NUM > & | x1, | ||
| const VecMath::Vector< N-2, NUM > & | x2, | ||
| const VecMath::Vector< N-3, NUM > & | x3, | ||
| const VecMath::Vector< N-4, NUM > & | x4, | ||
| const VecMath::Vector< N-5, NUM > & | x5, | ||
| const VecMath::Vector< N-6, NUM > & | x6, | ||
| const VecMath::Vector< N-7, NUM > & | x7 | ||
| ) | [static] |
Constructs a ViewpointList with eight Members.
| x0 | Viewpoint in Projection in first dimension. |
| x1 | Viewpoint in Projection in second dimension. |
| x2 | Viewpoint in Projection in third dimension. |
| x3 | Viewpoint in Projection in fourth dimension. |
| x4 | Viewpoint in Projection in fifth dimension. |
| x5 | Viewpoint in Projection in sixth dimension. |
| x6 | Viewpoint in Projection in seventh dimension. |
| x7 | Viewpoint in Projection in eight dimension. |
| ViewpointList< N, Nnew, NUM > ViewpointList< N, Nnew, NUM >::make | ( | const VecMath::Vector< N, NUM > & | x0, |
| const VecMath::Vector< N-1, NUM > & | x1, | ||
| const VecMath::Vector< N-2, NUM > & | x2, | ||
| const VecMath::Vector< N-3, NUM > & | x3, | ||
| const VecMath::Vector< N-4, NUM > & | x4, | ||
| const VecMath::Vector< N-5, NUM > & | x5 | ||
| ) | [static] |
Constructs a ViewpointList with six Members.
| x0 | Viewpoint in Projection in first dimension. |
| x1 | Viewpoint in Projection in second dimension. |
| x2 | Viewpoint in Projection in third dimension. |
| x3 | Viewpoint in Projection in fourth dimension. |
| x4 | Viewpoint in Projection in fifth dimension. |
| x5 | Viewpoint in Projection in sixth dimension. |
| ViewpointList< N, Nnew, NUM > ViewpointList< N, Nnew, NUM >::make | ( | const VecMath::Vector< N, NUM > & | x0 | ) | [static] |
Constructs a ViewpointList with one Member.
| x0 | Viewpoint in Projection in first dimension. |
1.7.4
-
Hosted by