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

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

#include <Value.h>

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

List of all members.

Public Member Functions

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

Detailed Description

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

A Value holding a three vector value.


Constructor & Destructor Documentation

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

Creates an uninitialized Value3.

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

Creates a Value3.

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

Deletes this Value3.


Member Function Documentation

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

Returns the current value of this Value3.

template<UniformType U, class T , const char * V>
virtual UniformType ork::Value3< 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::Value3< U, T, V >::set ( const vec3< T > &  value  )  [inline]

Sets the value of this Value3.

Parameters:
value the new value for this Value3.

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