Library | File

Class wfcAppearance

# include <wfcDisplay.h>

class wfcAppearance
 : public virtual xobject
{
    xdeclare(wfcAppearance)
    ...
};
This is a COMPACT class.



Description

Describes appearance related properties
Manual References:
Graphics: Surface Properties, Graphics: Item Properties



Method Summary

static wfcAppearance_ptrCreate (xreal Ambient, xreal Diffuse, xreal Highlight, xreal Shininess, xreal Transparency, pfcColorRGB_ptr RGBColor, pfcColorRGB_ptr HighlightColor, xreal Reflection, xrstring Name, xrstring Label, xrstring Description, xrstring Keywords)
Creates the Appearance properties
xrealGetAmbient ()
voidSetAmbient (xreal value)
The ambient value
xstringGetDescription ()
voidSetDescription (xrstring value)
Description of the appearance
xrealGetDiffuse ()
voidSetDiffuse (xreal value)
The diffusion value
xrealGetHighlight ()
voidSetHighlight (xreal value)
The highlight value
pfcColorRGB_ptrGetHighlightColor ()
voidSetHighlightColor (pfcColorRGB_ptr value)
The highlight color in RGB
xstringGetKeywords ()
voidSetKeywords (xrstring value)
Keyword for the appearance
xstringGetLabel ()
voidSetLabel (xrstring value)
Label for the appearance
xstringGetName ()
voidSetName (xrstring value)
The name of the appearance
xrealGetReflection ()
voidSetReflection (xreal value)
The value of reflection
pfcColorRGB_ptrGetRGBColor ()
voidSetRGBColor (pfcColorRGB_ptr value)
Appearance color in RGB
xrealGetShininess ()
voidSetShininess (xreal value)
The value of shininess
xrealGetTransparency ()
voidSetTransparency (xreal value)
The transparency value



Method Detail

xrealGetAmbient ()
voidSetAmbient (xreal value)

The ambient value

Note Valid values are from 0.00 to 1.00.
Manual References:
Graphics: Surface Properties, Graphics: Surface Properties, Graphics: Surface Properties, Graphics: Surface Properties




xrealGetDiffuse ()
voidSetDiffuse (xreal value)

The diffusion value

Note Valid values are from 0.00 to 1.00.
Manual References:
Graphics: Surface Properties, Graphics: Surface Properties, Graphics: Surface Properties, Graphics: Surface Properties




xrealGetHighlight ()
voidSetHighlight (xreal value)

The highlight value

Note Valid values are from 0.00 to 1.00.
Manual References:
Graphics: Surface Properties, Graphics: Surface Properties, Graphics: Surface Properties, Graphics: Surface Properties




xrealGetShininess ()
voidSetShininess (xreal value)

The value of shininess

Note Valid values are from 0.00 to 1.00.
Manual References:
Graphics: Surface Properties, Graphics: Surface Properties, Graphics: Surface Properties, Graphics: Surface Properties




xrealGetTransparency ()
voidSetTransparency (xreal value)

The transparency value

Note Valid values are from 0.00 to 1.00.
Manual References:
Graphics: Surface Properties, Graphics: Surface Properties, Graphics: Surface Properties, Graphics: Surface Properties




pfcColorRGB_ptrGetRGBColor ()
voidSetRGBColor (pfcColorRGB_ptr value)

Appearance color in RGB

Note Valid values for each of RGB is from 0.00 to 1.00.
Manual References:
Graphics: Surface Properties, Graphics: Surface Properties, Graphics: Surface Properties, Graphics: Surface Properties




pfcColorRGB_ptrGetHighlightColor ()
voidSetHighlightColor (pfcColorRGB_ptr value)

The highlight color in RGB
Manual References:
Graphics: Surface Properties, Graphics: Surface Properties, Graphics: Surface Properties, Graphics: Surface Properties




xrealGetReflection ()
voidSetReflection (xreal value)

The value of reflection

Note Valid values are from 0.00 to 1.00.
Manual References:
Graphics: Surface Properties, Graphics: Surface Properties, Graphics: Surface Properties, Graphics: Surface Properties




xstringGetName ()
voidSetName (xrstring value)

The name of the appearance
Manual References:
Graphics: Surface Properties, Graphics: Surface Properties, Graphics: Surface Properties, Graphics: Surface Properties




xstringGetLabel ()
voidSetLabel (xrstring value)

Label for the appearance
Manual References:
Graphics: Surface Properties, Graphics: Surface Properties, Graphics: Surface Properties, Graphics: Surface Properties




xstringGetDescription ()
voidSetDescription (xrstring value)

Description of the appearance
Manual References:
Graphics: Surface Properties, Graphics: Surface Properties, Graphics: Surface Properties, Graphics: Surface Properties




xstringGetKeywords ()
voidSetKeywords (xrstring value)

Keyword for the appearance
Manual References:
Graphics: Surface Properties, Graphics: Surface Properties, Graphics: Surface Properties, Graphics: Surface Properties




static wfcAppearance_ptrCreate (xreal Ambient, xreal Diffuse, xreal Highlight, xreal Shininess, xreal Transparency, pfcColorRGB_ptr RGBColor, pfcColorRGB_ptr HighlightColor, xreal Reflection, xrstring Name, xrstring Label, xrstring Description, xrstring Keywords)

Creates the Appearance properties
Manual References:
Graphics: Surface Properties, Graphics: Surface Properties
Parameters:
Ambient
Ambient Color component Note Valid values are from 0.00 to 1.00.
Diffuse
Diffuse value Note Valid values are from 0.00 to 1.00.
Highlight
Highlight intensity Note Valid values are from 0.00 to 1.00.
Shininess
Shininess Note Valid values are from 0.00 to 1.00.
Transparency
Transparency of selected appearance Note Valid values are from 0.00 to 1.00.
RGBColor
Appearance color Note Valid values for each of RGB is from 0.00 to 1.00.
HighlightColor
Highlight color
Reflection
Reflective property of selected appearance Note Valid values are from 0.00 to 1.00.
Name
Appearance name
Label
Appearance label
Description
Appearance description
Keywords
Appearance keywords
Returns:
Handle to appearance properties