HOG2
|
Functions | |
rgbColor | GetColor (float v, float vmin, float vmax, int type) |
Given min/max values, get a color from a color schema. More... | |
Variables | |
const rgbColor | black = {0.0,0.0,0.0} |
const rgbColor | white = {1.0,1.0,1.0} |
const rgbColor | gray = {0.5,0.5,0.5} |
const rgbColor | bluegray = {0.4,0.5,0.6} |
const rgbColor | darkgray = {0.25,0.25,0.25} |
const rgbColor | darkbluegray = {0.15,0.25,0.35} |
const rgbColor | lightgray ={0.75,0.75,0.75} |
const rgbColor | lightbluegray ={0.65,0.75,0.85} |
const rgbColor | red = {1.0,0.0,0.0} |
const rgbColor | darkred = {0.5,0.0,0.0} |
const rgbColor | lightred = {1.0,0.5,0.5} |
const rgbColor | lighterred = {1.0,0.75,0.75} |
const rgbColor | brown = {0.5,0.25,0.0} |
const rgbColor | lightbrown = {0.75,0.5,0.25} |
const rgbColor | green = {0.0,1.0,0.0} |
const rgbColor | darkgreen = {0.0,0.5,0.0} |
const rgbColor | lightgreen = {0.5,1.0,0.5} |
const rgbColor | bluegreen = {0.0f,0.65f,0.5f} |
const rgbColor | blue = {0.0,0.0,1.0} |
const rgbColor | darkblue = {0.0,0.0,0.5} |
const rgbColor | lightblue = {0.5,0.5,1.0} |
const rgbColor | lighterblue = {0.75,0.75,1.0} |
const rgbColor | lightyellow = {1.0,1.0,0.5} |
const rgbColor | yellow = {1.0,1.0,0.0} |
const rgbColor | darkyellow = {0.5,0.5,0.0} |
const rgbColor | magenta = {1.0,0.0,1.0} |
const rgbColor | purple = {0.5,0.0,1.0} |
const rgbColor | darkpurple = {0.25,0.0,0.5} |
const rgbColor | cyan = {0.0,1.0,1.0} |
const rgbColor | orange = {1.0,0.5,0.0} |
const rgbColor | pink = {1.0,0.0,0.5} |
const rgbColor | cb0 = {0, 0, 0} |
const rgbColor | cb1 = {0, 114.0f/255.0f, 178/255.0f} |
const rgbColor | cb2 = {204/255.0f, 121/255.0f, 167/255.0f} |
const rgbColor | cb3 = {230/255.0f, 159/255.0f, 0} |
const rgbColor | cb4 = {86/255.0f, 180/255.0f, 233/255.0f} |
const rgbColor | cb5 = {213/255.0f, 94/255.0f, 0} |
rgbColor Colors::GetColor | ( | float | v, |
float | vmin, | ||
float | vmax, | ||
int | type | ||
) |
Given min/max values, get a color from a color schema.
Definition at line 24 of file Colors.cpp.
References rgbColor::b, rgbColor::g, and rgbColor::r.
Referenced by MapOverlay::Draw(), DWG::DynamicWeightedGrid< sectorSize >::Draw(), CanonicalGrid::CanonicalGrid::Draw(), MapEnvironment::Draw(), SnakeBird::SnakeBird::Draw(), CanonicalGrid::CanonicalGrid::DrawAlternate(), MapEnvironment::DrawAlternate(), CanonicalGrid::CanonicalGrid::DrawArrow(), MapEnvironment::DrawArrow(), CanonicalGrid::CanonicalGrid::DrawBasicOrdering(), SnakeBird::SnakeBird::DrawLabel(), CanonicalGrid::CanonicalGrid::DrawLine(), MapEnvironment::DrawLine(), CanonicalGrid::CanonicalGrid::DrawOrdering(), SnakeBird::SnakeBird::DrawSmallLabel(), CanonicalGrid::CanonicalGrid::DrawStateLabel(), MapEnvironment::DrawStateLabel(), MapOverlay::GetValueColor(), CanonicalGrid::CanonicalGrid::GLDrawLine(), MapEnvironment::GLDrawLine(), CanonicalGrid::CanonicalGrid::GLLabelState(), MapEnvironment::GLLabelState(), MapOverlay::OpenGLDraw(), GenericSearchUnit< state, action, environment >::OpenGLDraw(), VoxelGrid::OpenGLDraw(), AirplaneEnvironment::OpenGLDraw(), CanonicalGrid::CanonicalGrid::OpenGLDraw(), Voxels::OpenGLDraw(), MapEnvironment::OpenGLDraw(), Fling::OpenGLDraw(), MapOverlay::SVGDraw(), CanonicalGrid::CanonicalGrid::SVGDraw(), MapEnvironment::SVGDraw(), CanonicalGrid::CanonicalGrid::SVGDrawLine(), MapEnvironment::SVGDrawLine(), CanonicalGrid::CanonicalGrid::SVGFrameRect(), MapEnvironment::SVGFrameRect(), CanonicalGrid::CanonicalGrid::SVGLabelState(), and MapEnvironment::SVGLabelState().
const rgbColor Colors::black = {0.0,0.0,0.0} |
Definition at line 119 of file Colors.h.
Referenced by FallingBoxTransition::Draw(), Racetrack::Draw(), Plotting::Plot2D::Draw(), CanonicalGrid::CanonicalGrid::Draw(), Hexagon::Draw(), PancakePuzzle< N >::Draw(), MapEnvironment::Draw(), GraphEnvironment::Draw(), Witness< width, height >::Draw(), SnakeBird::SnakeBird::DrawObject(), Hexagon::DrawSetup(), MapEnvironment::DrawSingleTerrain(), SnakeBird::SnakeBird::DrawSnakeSegment(), DWG::DynamicWeightedGrid< sectorSize >::GetTerrainColor(), BidirectionalProblemAnalyzer< state, action, environment >::SaveSVG(), MapOverlay::SVGDraw(), CanonicalGrid::CanonicalGrid::SVGDraw(), MapEnvironment::SVGDraw(), and GraphEnvironment::SVGDraw().
const rgbColor Colors::blue = {0.0,0.0,1.0} |
Definition at line 142 of file Colors.h.
Referenced by Map::DoVertexColor(), BOAStar< state, action, environment >::Draw(), Racetrack::Draw(), PancakePuzzle< N >::Draw(), DelayedHeuristicAStar< state, action, environment, batchHeuristic, openList >::Draw(), MNPuzzle< width, height >::Draw(), SnakeBird::SnakeBird::Draw(), BOAStar< state, action, environment >::DrawAllPaths(), SnakeBird::SnakeBird::DrawMovingSnake(), SnakeBird::SnakeBird::DrawObject(), SnakeBird::SnakeBird::DrawObjects(), SnakeBird::SnakeBird::DrawSnakeEnteringGoal(), SnakeBird::SnakeBird::DrawTranslatingSnake(), DWG::DynamicWeightedGrid< sectorSize >::GetTerrainColor(), GraphEnvironment::OpenGLDraw(), and GraphEnvironment::SVGLabelState().
const rgbColor Colors::bluegreen = {0.0f,0.65f,0.5f} |
Definition at line 139 of file Colors.h.
Referenced by MinimalSectorAbstraction::Draw(), and DWG::DynamicWeightedGrid< sectorSize >::GetTerrainColor().
const rgbColor Colors::brown = {0.5,0.25,0.0} |
Definition at line 132 of file Colors.h.
Referenced by SnakeBird::SnakeBird::Draw(), SnakeBird::SnakeBird::DrawObject(), SnakeBird::SnakeBird::DrawObjects(), and DWG::DynamicWeightedGrid< sectorSize >::GetTerrainColor().
const rgbColor Colors::cb1 = {0, 114.0f/255.0f, 178/255.0f} |
const rgbColor Colors::cb2 = {204/255.0f, 121/255.0f, 167/255.0f} |
const rgbColor Colors::cb4 = {86/255.0f, 180/255.0f, 233/255.0f} |
const rgbColor Colors::cyan = {0.0,1.0,1.0} |
Definition at line 153 of file Colors.h.
Referenced by SnakeBird::SnakeBird::Draw(), SnakeBird::SnakeBird::DrawObject(), and DWG::DynamicWeightedGrid< sectorSize >::GetTerrainColor().
const rgbColor Colors::darkblue = {0.0,0.0,0.5} |
Definition at line 143 of file Colors.h.
Referenced by MNPuzzle< width, height >::Draw(), SnakeBird::SnakeBird::Draw(), and DWG::DynamicWeightedGrid< sectorSize >::GetTerrainColor().
const rgbColor Colors::darkbluegray = {0.15,0.25,0.35} |
Definition at line 124 of file Colors.h.
Referenced by DWG::DynamicWeightedGrid< sectorSize >::GetTerrainColor().
const rgbColor Colors::darkgray = {0.25,0.25,0.25} |
Definition at line 123 of file Colors.h.
Referenced by TextOverlay::Draw(), DWG::DynamicWeightedGrid< sectorSize >::Draw(), Hexagon::Draw(), PancakePuzzle< N >::Draw(), SnakeBird::SnakeBird::Draw(), SnakeBird::SnakeBird::DrawObject(), SnakeBird::SnakeBird::DrawObjects(), DWG::DynamicWeightedGrid< sectorSize >::GetTerrainColor(), and MapOverlay::SVGDraw().
const rgbColor Colors::darkgreen = {0.0,0.5,0.0} |
Definition at line 136 of file Colors.h.
Referenced by SnakeBird::SnakeBird::Draw(), and DWG::DynamicWeightedGrid< sectorSize >::GetTerrainColor().
const rgbColor Colors::darkred = {0.5,0.0,0.0} |
Definition at line 129 of file Colors.h.
Referenced by SnakeBird::SnakeBird::Draw(), and SnakeBird::SnakeBird::DrawObject().
const rgbColor Colors::darkyellow = {0.5,0.5,0.0} |
Definition at line 149 of file Colors.h.
Referenced by DWG::DynamicWeightedGrid< sectorSize >::GetTerrainColor().
const rgbColor Colors::gray = {0.5,0.5,0.5} |
Definition at line 121 of file Colors.h.
Referenced by NaryTree::Draw(), DWG::DynamicWeightedGrid< sectorSize >::Draw(), MNPuzzle< width, height >::Draw(), SnakeBird::SnakeBird::Draw(), and SnakeBird::SnakeBird::DrawObjects().
const rgbColor Colors::green = {0.0,1.0,0.0} |
Definition at line 135 of file Colors.h.
Referenced by Map::DoVertexColor(), BOAStar< state, action, environment >::Draw(), DWG::DynamicWeightedGrid< sectorSize >::Draw(), SnakeBird::SnakeBird::Draw(), SnakeBird::SnakeBird::DrawMovingSnake(), SnakeBird::SnakeBird::DrawObject(), SnakeBird::SnakeBird::DrawObjects(), SnakeBird::SnakeBird::DrawSnakeEnteringGoal(), SnakeBird::SnakeBird::DrawTranslatingSnake(), and DWG::DynamicWeightedGrid< sectorSize >::GetTerrainColor().
const rgbColor Colors::lightblue = {0.5,0.5,1.0} |
Definition at line 144 of file Colors.h.
Referenced by SnakeBird::SnakeBird::Draw(), BOAStar< state, action, environment >::DrawFrontier(), SnakeBird::SnakeBird::DrawObject(), DWG::DynamicWeightedGrid< sectorSize >::GetTerrainColor(), and BidirectionalProblemAnalyzer< state, action, environment >::SaveSVG().
const rgbColor Colors::lightbrown = {0.75,0.5,0.25} |
Definition at line 133 of file Colors.h.
Referenced by DWG::DynamicWeightedGrid< sectorSize >::GetTerrainColor().
const rgbColor Colors::lightgray ={0.75,0.75,0.75} |
Definition at line 125 of file Colors.h.
Referenced by Hexagon::Draw(), MNPuzzle< width, height >::Draw(), MapEnvironment::Draw(), HexagonEnvironment::Draw(), DWG::DynamicWeightedGrid< sectorSize >::GetTerrainColor(), and BidirectionalProblemAnalyzer< state, action, environment >::SaveSVG().
const rgbColor Colors::lightyellow = {1.0,1.0,0.5} |
Definition at line 147 of file Colors.h.
Referenced by DWG::DynamicWeightedGrid< sectorSize >::GetTerrainColor().
const rgbColor Colors::orange = {1.0,0.5,0.0} |
Definition at line 155 of file Colors.h.
Referenced by SnakeBird::SnakeBird::Draw(), SnakeBird::SnakeBird::DrawObject(), SnakeBird::SnakeBird::DrawObjects(), Witness< width, height >::DrawRegionConstraint(), SnakeBird::SnakeBird::DrawSnakeSegment(), and DWG::DynamicWeightedGrid< sectorSize >::GetTerrainColor().
const rgbColor Colors::purple = {0.5,0.0,1.0} |
Definition at line 151 of file Colors.h.
Referenced by SnakeBird::SnakeBird::Draw(), SnakeBird::SnakeBird::DrawObject(), and SnakeBird::SnakeBird::DrawObjects().
const rgbColor Colors::red = {1.0,0.0,0.0} |
Definition at line 128 of file Colors.h.
Referenced by Map::DoVertexColor(), BOAStar< state, action, environment >::Draw(), Map2DSectorAbstraction::Draw(), Racetrack::Draw(), SnakeBird::SnakeBird::Draw(), SnakeBird::SnakeBird::DrawMovingSnake(), SnakeBird::SnakeBird::DrawObject(), SnakeBird::SnakeBird::DrawObjects(), SnakeBird::SnakeBird::DrawSnakeEnteringGoal(), SnakeBird::SnakeBird::DrawTranslatingSnake(), and GraphEnvironment::OpenGLDraw().
const rgbColor Colors::white = {1.0,1.0,1.0} |
Definition at line 120 of file Colors.h.
Referenced by Witness< width, height >::AddEraserConstraint(), TextOverlay::Draw(), VoxelGrid::Draw(), Plotting::Plot2D::Draw(), Hexagon::Draw(), MNPuzzle< width, height >::Draw(), HexagonEnvironment::Draw(), BOAStar< state, action, environment >::DrawFrontier(), SnakeBird::SnakeBird::DrawObject(), Hexagon::DrawSetup(), SnakeBird::SnakeBird::DrawSnakeSegment(), and DWG::DynamicWeightedGrid< sectorSize >::GetTerrainColor().
const rgbColor Colors::yellow = {1.0,1.0,0.0} |
Definition at line 148 of file Colors.h.
Referenced by MinimalSectorAbstraction::Draw(), SnakeBird::SnakeBird::Draw(), SnakeBird::SnakeBird::DrawMovingSnake(), SnakeBird::SnakeBird::DrawObject(), SnakeBird::SnakeBird::DrawObjects(), SnakeBird::SnakeBird::DrawSnakeEnteringGoal(), SnakeBird::SnakeBird::DrawTranslatingSnake(), and DWG::DynamicWeightedGrid< sectorSize >::GetTerrainColor().