proj home

Files   Classes   Functions   Hierarchy  

triangleindexedNref< T > Class Template Reference

Indexed triangles with normals at each point and variables as references. More...

#include <triangleindexed.h>

Collaboration diagram for triangleindexedNref< T >:

List of all members.

Public Member Functions

 triangleindexedNref (vector< uint > &vi_, vector< T > &points_, vector< T > &normals_)
 Set the references.

Public Attributes

vector< uint > & vi
 The triangles.
vector< T > & points
 The triangles index into the points.
vector< T > & normals
 The normals are at the same index as their associated point.


Detailed Description

template<typename T>
class triangleindexedNref< T >

Indexed triangles with normals at each point and variables as references.

Definition at line 71 of file triangleindexed.h.


Constructor & Destructor Documentation

template<typename T >
triangleindexedNref< T >::triangleindexedNref ( vector< uint > &  vi_,
vector< T > &  points_,
vector< T > &  normals_ 
) [inline]

Set the references.

Definition at line 84 of file triangleindexed.h.

00089     : vi(vi_), points(points_), normals(normals_) {}


Member Data Documentation

template<typename T >
vector< T >& triangleindexedNref< T >::normals

The normals are at the same index as their associated point.

Definition at line 80 of file triangleindexed.h.

template<typename T >
vector< T >& triangleindexedNref< T >::points

The triangles index into the points.

Definition at line 78 of file triangleindexed.h.

template<typename T >
vector< uint >& triangleindexedNref< T >::vi

The triangles.

Definition at line 76 of file triangleindexed.h.


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

Generated on Fri Mar 4 00:50:22 2011 for Chelton Evans Source by  doxygen 1.5.8