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

SH::ShVector< N, Binding, T, Swizzled > Class Template Reference

A (geometric) n-vector. More...

#include <ShVector.hpp>

Inheritance diagram for SH::ShVector< N, Binding, T, Swizzled >:

Inheritance graph
[legend]
Collaboration diagram for SH::ShVector< N, Binding, T, Swizzled >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef T ValueType
typedef ShVector< N, SH_INPUT,
T > 
InputType
typedef ShVector< N, SH_OUTPUT,
T > 
OutputType
typedef ShVector< N, SH_INOUT,
T > 
InOutType
typedef ShVector< N, SH_TEMP,
T > 
TempType
typedef ShVector< N, SH_CONST,
T > 
ConstType

Public Member Functions

 ShVector (const ShGeneric< N, T > &other)
 ShVector (const ShVector< N, Binding, T, Swizzled > &other)
 ShVector (const ShVariableNodePtr &node, const ShSwizzle &swizzle, bool neg)
 ShVector (T data[N])
ShVectoroperator= (const ShGeneric< N, T > &other)
ShVectoroperator= (const ShVector< N, Binding, T, Swizzled > &other)
ShVectoroperator= (const ShProgram &prg)
ShVectoroperator+= (const ShGeneric< N, T > &right)
ShVectoroperator-= (const ShGeneric< N, T > &right)
ShVectoroperator *= (const ShGeneric< N, T > &right)
ShVectoroperator/= (const ShGeneric< N, T > &right)
ShVectoroperator%= (const ShGeneric< N, T > &right)
ShVectoroperator *= (T)
ShVectoroperator/= (T)
ShVectoroperator%= (T)
ShVectoroperator+= (T)
ShVectoroperator-= (T)
ShVectoroperator+= (const ShGeneric< 1, T > &)
ShVectoroperator-= (const ShGeneric< 1, T > &)
ShVectoroperator *= (const ShGeneric< 1, T > &)
ShVectoroperator/= (const ShGeneric< 1, T > &)
ShVectoroperator%= (const ShGeneric< 1, T > &)
ShVector< 1, Binding, T, true > operator() (int) const
ShVector< 2, Binding, T, true > operator() (int, int) const
ShVector< 3, Binding, T, true > operator() (int, int, int) const
ShVector< 4, Binding, T, true > operator() (int, int, int, int) const
ShVector< 1, Binding, T, true > operator[] (int) const
template<int N2> ShVector< N2, Binding, T,
true > 
swiz (int indices[]) const
ShVector operator- () const

Static Public Attributes

const int typesize
const ShBindingType binding_type
const ShSemanticType semantic_type

Detailed Description

template<int N, ShBindingType Binding, typename T = float, bool Swizzled = false>
class SH::ShVector< N, Binding, T, Swizzled >

A (geometric) n-vector.

By "vector" we mean a geometric vector, not just a tuple or an array (unlike the unfortunate terminology in the standard library).

Definition at line 48 of file ShVector.hpp.


The documentation for this class was generated from the following files:
Generated on Mon Oct 18 14:17:59 2004 for Sh by doxygen 1.3.7