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

#include <VectorT.hh>

Collaboration diagram for OpenMesh::VectorDataT< Scalar, N >:

Collaboration graph
[legend]

Data Fields

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:

Generated on Fri Jan 16 13:00:37 2009 by  doxygen 1.5.5