#include "Scene.h"
#include "DisplayDevice.h"
#include "Inform.h"
#include "DispCmds.h"
#include "utilities.h"
#include "FileRenderList.h"
#include "FileRenderer.h"
#include "ColorScaleTables.h"
Go to the source code of this file.
Compounds | |
class | ColorScaleTypeInfo |
color gradient/ramp used by value-based coloring methods. More... | |
class | DisplayColor |
Displayable subclass containing the background color information. More... | |
Enumerations | |
enum | colorScaleType { SCALE_TYPE_TABULATED = 0, SCALE_TYPE_TABULATED_SRGB = 1, SCALE_TYPE_DIVERGENT = 2 } |
Functions | |
float | slope3_lower (float mid, float val) |
float | slope3_upper (float mid, float val) |
float | slope3_middle (float mid, float val) |
void | scale_color (const float *lowRGB, const float *midRGB, const float *highRGB, float mid, float val, float scaleMin, float *rgb) |
Variables | |
const int | num_scalemethods = 36 |
const ColorScale | defScales [] |
const char * | colScaleMenuNames [] |
const ColorScaleTypeInfo | scaleTypes [] |
const char * | defColorNames [REGCLRS] |
const float | def_light_color [3] = { 1.0, 1.0, 1.0 } |
const float | def_light_pos [DISP_LIGHTS][3] |
const float | def_adv_light_pos [DISP_LIGHTS][3] |
const int | def_light_on [DISP_LIGHTS] = { TRUE, TRUE, FALSE, FALSE } |
The Scene has a list of Displayable objects and display commands. The command lists are used to draw the objects, the Displayable objects to prepare and update objects for drawing.
Definition in file Scene.C.
|
|
|
Definition at line 785 of file Scene.C. References clamp_color, slope3_lower, slope3_middle, and slope3_upper. |
|
Definition at line 759 of file Scene.C. Referenced by scale_color. |
|
Definition at line 773 of file Scene.C. Referenced by scale_color. |
|
Definition at line 766 of file Scene.C. Referenced by scale_color. |
|
Definition at line 85 of file Scene.C. Referenced by Scene::Scene. |
|
Initial value: { { 0.0f, 0.0f, 0.0f }, { 0.0f, 0.0f, 0.0f }, { 0.0f, 0.0f, 0.0f }, { 0.0f, 0.0f, 0.0f } } Definition at line 357 of file Scene.C. Referenced by Scene::adv_light_pos_default. |
|
Definition at line 352 of file Scene.C. Referenced by Scene::adv_light_color_default, Scene::light_color_default, and Scene::reset_lights. |
|
Definition at line 362 of file Scene.C. Referenced by Scene::reset_lights. |
|
Initial value: { { -0.1f, 0.1f, 1.0f }, { 1.0f, 2.0f, 0.5f }, { -1.0f, 2.0f, -1.0f }, { -1.0f, -1.0f, 0.0f } } Definition at line 353 of file Scene.C. Referenced by Scene::light_pos_default, and Scene::reset_lights. |
|
Initial value: { "blue", "red", "gray", "orange", "yellow", "tan", "silver", "green", "white", "pink", "cyan", "purple", "lime", "mauve", "ochre", "iceblue", "black" ,"yellow2", "yellow3", "green2", "green3", "cyan2", "cyan3", "blue2", "blue3", "violet", "violet2", "magenta", "magenta2", "red2", "red3", "orange2", "orange3" } Definition at line 201 of file Scene.C. Referenced by Scene::Scene. |
|
|
|
Definition at line 35 of file Scene.C. Referenced by Scene::colorscale_type, and Scene::Scene. |
|
|