Main Page   Class Hierarchy   Compound List   Header Files   Compound Members  

ddgColorNode Class Reference

A ddgColor3 object which can be added to a ddgColorSet. More...

#include <render/ddgcolor.h>

Class diagram for ddgColorNode:

ddgListNode

List of all members.


Public Members

 ddgColorNode ( ddgColor3 *c, float k = 0.0, char* name = 0 )
Construct a named color from a 3 color vector.

 ddgColorNode ( ddgColor4 *c, float k = 0.0, char* name = 0 )
Construct a named color from a 4 color vector.

float key (void)
Return the color's index value.

char* name (void)
Return the color's name.

void name (char *name)
Set the color's name.

bool is4 (void)
Return if the color is 4 component colour.

 ddgColorNode ( ddgColor3 *c, float k = 0.0, char* name = 0 )
Construct a named color from a 3 color vector.

 ddgColorNode ( ddgColor4 *c, float k = 0.0, char* name = 0 )
Construct a named color from a 4 color vector.

float key (void)
Return the color's index value.

char* name (void)
Return the color's name.

void name (char *name)
Set the color's name.

bool is4 (void)
Return if the color is 4 component colour.

ddgColor3color3
ddgColor4color4

Detailed Description

A ddgColor3 object which can be added to a ddgColorSet.


The documentation for this class was generated from the following files:
Generated at Sun Sep 17 19:27:52 2000 for Digital Dawn Graphics Toolkit by doxygen 0.49-991205 written by Dimitri van Heesch, © 1997-1999