OpenGL Volumizer 2.7 Reference Pages


NAME
vzParameterVec3f - Parameter representing a vector of three floating point values.

INHERITS FROM
vzParameter

HEADER FILE
#include <Volumizer2/ParameterVec3f.h>

PUBLIC METHOD SUMMARY
vzParameterVec3f (  );
vzParameterVec3f ( const float val[3]);
void setValue ( const float val[3]);
void getValue ( float val[3]) const;

PROTECTED METHOD SUMMARY
~vzParameterVec3f (  );

CLASS DESCRIPTION
vzParameterVec3f is a parameter which represents a vector of three floating point values. Methods are provided to set and get the values. This class is useful for shaders which require parameters like light direction, material color, etc.

METHOD DESCRIPTIONS

   vzParameterVec3f()
vzParameterVec3f (  );

Constructor for a vzParameterVec3f. The default value for the vector is set to (1, 0, 0).

   vzParameterVec3f()
vzParameterVec3f ( const float val[3]);

Constructor for a vzParameterVec3f.

   ~vzParameterVec3f()
~vzParameterVec3f (  );

Destructor for the vzParameterVec3f.

   getValue()
void getValue ( float val[3]) const;

Get the value of the parameter.

   setValue()
void setValue ( const float val[3]);

Set the value of the parameter.

SEE ALSO
vzParameter, vzParameterVec3f

Back to Index