ork::Value4< U, T, V > Class Template Reference
[render]

A Value holding a four vector value. More...

#include <Value.h>

Inheritance diagram for ork::Value4< U, T, V >:
ork::Value ork::Object

List of all members.

Public Member Functions

 Value4 (const string &name)
 Creates an uninitialized Value4.
 Value4 (const string &name, const vec4< T > &value)
 Creates a Value4.
virtual ~Value4 ()
 Deletes this Value4.
virtual UniformType getType () const
 Returns the type of this value.
vec4< T > get () const
 Returns the current value of this Value4.
void set (const vec4< T > &value)
 Sets the value of this Value4.

Detailed Description

template<UniformType U, class T, const char * V>
class ork::Value4< U, T, V >

A Value holding a four vector value.


Constructor & Destructor Documentation

template<UniformType U, class T , const char * V>
ork::Value4< U, T, V >::Value4 ( const string &  name  )  [inline]

Creates an uninitialized Value4.

template<UniformType U, class T , const char * V>
ork::Value4< U, T, V >::Value4 ( const string &  name,
const vec4< T > &  value 
) [inline]

Creates a Value4.

template<UniformType U, class T , const char * V>
virtual ork::Value4< U, T, V >::~Value4 (  )  [inline, virtual]

Deletes this Value4.


Member Function Documentation

template<UniformType U, class T , const char * V>
vec4<T> ork::Value4< U, T, V >::get (  )  const [inline]

Returns the current value of this Value4.

template<UniformType U, class T , const char * V>
virtual UniformType ork::Value4< U, T, V >::getType (  )  const [inline, virtual]

Returns the type of this value.

Implements ork::Value.

template<UniformType U, class T , const char * V>
void ork::Value4< U, T, V >::set ( const vec4< T > &  value  )  [inline]

Sets the value of this Value4.

Parameters:
value the new value for this Value4.

Generated on Mon Oct 18 09:36:10 2010 for ork by  doxygen 1.6.1