Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

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>

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

OpenMesh::VectorT< Scalar, N > List of all members.

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 .