OpenMesh::VectorDataT< Scalar, N > Struct Template Reference

The N values of the template Scalar type are the only data members of the class VectorT<Scalar,N>. More...

#include <VectorT.hh>

List of all members.

Public Attributes

Scalar values_ [N]

Detailed Description

template<typename Scalar, int N>
struct OpenMesh::VectorDataT< Scalar, N >

The N values of the template Scalar type are the only data members of the class VectorT<Scalar,N>.

This guarantees 100% compatibility with arrays of type Scalar and size N, allowing us to define the cast operators to and from arrays and array pointers.

In addition, this class will be specialized for Vec4f to be 16 bit aligned, so that aligned SSE instructions can be used on these vectors.


The documentation for this struct was generated from the following file:

acg pic Project OpenMesh, ©  Computer Graphics Group, RWTH Aachen. Documentation generated using doxygen .