HOG2
Macros | Functions | Variables
SFML_HOG.cpp File Reference
#include <SFML/Window.hpp>
#include <SFML/OpenGL.hpp>
#include "SFML_HOG.h"
#include "Trackball.h"
#include "Common.h"
#include "TextBox.h"
#include <stdlib.h>
#include <time.h>
#include <math.h>
#include <string.h>
#include <cassert>
#include "MonoFont.h"
Include dependency graph for SFML_HOG.cpp:

Go to the source code of this file.

Macros

#define GL_SILENCE_DEPRECATION
 

Functions

void glutStrokeCharacter (void *font, int character)
 
int glutStrokeWidth (void *font, int character)
 
int hog_main (int argc, char **argv)
 
int main (int argc, char **argv)
 
Graphics::point WindowToHOG (const Graphics::point &p)
 
void Line (Graphics::point p1, Graphics::point p2, float width, int viewport)
 
pRecContext GetContext (unsigned long windowID)
 
pRecContext getCurrentContext ()
 
Graphics::point convertToGlobalHogCoordinate (int x, int y)
 
void RunHOGGUI (int argc, char **argv, int windowDimension)
 
void RunHOGGUI (int argc, char *argv[], int xDimension, int yDimension)
 
void createMenus ()
 
void processMenuEvents (int option)
 
void keyPressed (unsigned char key, int, int)
 Called when a key is pressed, and no other keys are held down. More...
 
void mouseMovedNoButton (int x, int y)
 
void mouseMovedButton (int x, int y)
 Called when the mouse is moved with a button pressed down. More...
 
void mousePressedButton (int button, int state, int x, int y)
 Called when a mouse button is pressed. More...
 
static void mousePan (int x, int y, pRecContext pContextInfo)
 
static void mouseDolly (int x, int y, pRecContext pContextInfo)
 
void renderScene (void)
 Renders the scene. More...
 
void resizeWindow (int x, int y)
 Called when the window is resized. More...
 
void resizeGL (pRecContext pContextInfo, int width, int height)
 Handles resizing of GL need context update and if the window dimensions change, a window dimension update, reseting of viewport and an update of the projection matrix. More...
 
void updateProjection (pRecContext pContextInfo, int viewPort)
 Update the projection matrix based on camera and view info. More...
 
void CrossProd (float x1, float y1, float z1, float x2, float y2, float z2, float res[3])
 
void MyGluLookAt (float eyeX, float eyeY, float eyeZ, float lookAtX, float lookAtY, float lookAtZ, float upX, float upY, float upZ)
 
void updateModelView (pRecContext pContextInfo, int currPort)
 Updates the viewpoint of the model. More...
 
void drawCStringGL (char *cstrOut, GLuint fontList)
 Draws a CString in OpenGL. More...
 
void setTextBufferVisibility (bool visible)
 
bool getTextBufferVisibility ()
 
void appendTextToBuffer (const char *tempStr)
 
void submitTextToBuffer (const char *val)
 
Graphics::point ViewportToScreen (Graphics::point where, int viewport)
 
Graphics::rect ViewportToScreen (const Graphics::rect &loc, int viewport)
 
float ViewportToScreenX (float x, int v)
 
void DoDrawCommands (Graphics::Display &display, int port, sf::Window &window, std::vector< Graphics::Display::data > &commands)
 
void DrawLines (std::vector< Graphics::Display::lineInfo > &textLines, int viewport)
 
void DrawGraphics (Graphics::Display &display, int port, sf::Window &window)
 
void drawGL (pRecContext pContextInfo, sf::Window &window)
 Main OpenGL drawing function. More...
 
void buildGL (int xDim, int yDim)
 End OpenGL drawing function - for visualizing trajectory merging. More...
 

Variables

pRecContext pContextInfo
 
GLint gDollyPanStartPoint [2] = {0, 0}
 
GLfloat gTrackBallRotation [4] = {0.0f, 0.0f, 0.0f, 0.0f}
 
GLboolean gDolly = GL_FALSE
 
GLboolean gPan = GL_FALSE
 
GLboolean gTrackball = GL_FALSE
 
pRecContext gTrackingContextInfo = NULL
 
int gCurrButton = -1
 
pRecContext backup
 
double fps = 30.0
 
int width =100
 
int height =100
 
Graphics::rect screenRect
 
MonoFont font
 
std::vector< Graphics::Display::lineInfotextLines
 
TextBoxmyTextBox = 0
 
bool bufferVisibility = true
 

Macro Definition Documentation

◆ GL_SILENCE_DEPRECATION

#define GL_SILENCE_DEPRECATION

Definition at line 14 of file SFML_HOG.cpp.

Function Documentation

◆ appendTextToBuffer()

void appendTextToBuffer ( const char *  tempStr)

◆ buildGL()

void buildGL ( int  xDim,
int  yDim 
)

End OpenGL drawing function - for visualizing trajectory merging.

Initializes OpenGL.

Definition at line 1222 of file SFML_HOG.cpp.

References pContextInfo, resizeGL(), and SetLighting().

Referenced by RunHOGGUI().

◆ convertToGlobalHogCoordinate()

Graphics::point convertToGlobalHogCoordinate ( int  x,
int  y 
)

Definition at line 72 of file SFML_HOG.cpp.

References height, width, Graphics::point::x, Graphics::point::y, and Graphics::point::z.

◆ createMenus()

void createMenus ( )

Definition at line 216 of file SFML_HOG.cpp.

◆ CrossProd()

void CrossProd ( float  x1,
float  y1,
float  z1,
float  x2,
float  y2,
float  z2,
float  res[3] 
)

Definition at line 672 of file SFML_HOG.cpp.

Referenced by MyGluLookAt().

◆ DoDrawCommands()

void DoDrawCommands ( Graphics::Display display,
int  port,
sf::Window &  window,
std::vector< Graphics::Display::data > &  commands 
)

◆ drawCStringGL()

void drawCStringGL ( char *  cstrOut,
GLuint  fontList 
)

Draws a CString in OpenGL.

Definition at line 778 of file SFML_HOG.cpp.

◆ drawGL()

void drawGL ( pRecContext  pContextInfo,
sf::Window &  window 
)

◆ DrawGraphics()

void DrawGraphics ( Graphics::Display display,
int  port,
sf::Window &  window 
)

◆ DrawLines()

void DrawLines ( std::vector< Graphics::Display::lineInfo > &  textLines,
int  viewport 
)

◆ GetContext()

pRecContext GetContext ( unsigned long  windowID)

◆ getCurrentContext()

pRecContext getCurrentContext ( )

◆ getTextBufferVisibility()

bool getTextBufferVisibility ( )

Definition at line 810 of file SFML_HOG.cpp.

References bufferVisibility.

◆ glutStrokeCharacter()

void glutStrokeCharacter ( void *  font,
int  character 
)

Definition at line 17 of file SFML_HOG.cpp.

◆ glutStrokeWidth()

int glutStrokeWidth ( void *  font,
int  character 
)

Definition at line 18 of file SFML_HOG.cpp.

◆ hog_main()

int hog_main ( int  argc,
char **  argv 
)

Referenced by main().

◆ keyPressed()

void keyPressed ( unsigned char  key,
int  ,
int   
)

Called when a key is pressed, and no other keys are held down.

Definition at line 229 of file SFML_HOG.cpp.

References DoKeyboardCommand(), and pContextInfo.

◆ Line()

void Line ( Graphics::point  p1,
Graphics::point  p2,
float  width,
int  viewport 
)

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 22 of file SFML_HOG.cpp.

References hog_main().

◆ mouseDolly()

static void mouseDolly ( int  x,
int  y,
pRecContext  pContextInfo 
)
static

Definition at line 516 of file SFML_HOG.cpp.

◆ mouseMovedButton()

void mouseMovedButton ( int  x,
int  y 
)

◆ mouseMovedNoButton()

void mouseMovedNoButton ( int  x,
int  y 
)

◆ mousePan()

static void mousePan ( int  x,
int  y,
pRecContext  pContextInfo 
)
static

Definition at line 510 of file SFML_HOG.cpp.

◆ mousePressedButton()

void mousePressedButton ( int  button,
int  state,
int  x,
int  y 
)

Called when a mouse button is pressed.

Definition at line 311 of file SFML_HOG.cpp.

Referenced by RunHOGGUI().

◆ MyGluLookAt()

void MyGluLookAt ( float  eyeX,
float  eyeY,
float  eyeZ,
float  lookAtX,
float  lookAtY,
float  lookAtZ,
float  upX,
float  upY,
float  upZ 
)

Definition at line 680 of file SFML_HOG.cpp.

References CrossProd().

Referenced by updateModelView().

◆ processMenuEvents()

void processMenuEvents ( int  option)

Definition at line 220 of file SFML_HOG.cpp.

◆ renderScene()

void renderScene ( void  )

Renders the scene.

Used by GLUT for it's display function. Wraps the drawGL() function.

Definition at line 524 of file SFML_HOG.cpp.

References drawGL(), fps, and pContextInfo.

◆ resizeGL()

void resizeGL ( pRecContext  pContextInfo,
int  width,
int  height 
)

Handles resizing of GL need context update and if the window dimensions change, a window dimension update, reseting of viewport and an update of the projection matrix.

Definition at line 568 of file SFML_HOG.cpp.

References recContext::globalCamera, height, recContext::numPorts, pContextInfo, setPortCamera(), updateProjection(), recCamera::viewHeight, recCamera::viewOriginX, recCamera::viewOriginY, recCamera::viewWidth, and width.

Referenced by buildGL(), resizeWindow(), and RunHOGGUI().

◆ resizeWindow()

void resizeWindow ( int  x,
int  y 
)

Called when the window is resized.

Specific format for GLUT.

Definition at line 546 of file SFML_HOG.cpp.

References CGSize::height, CGRect::origin, pContextInfo, resizeGL(), CGRect::size, CGSize::width, CGPoint::x, and CGPoint::y.

Referenced by RunHOGGUI().

◆ RunHOGGUI() [1/2]

void RunHOGGUI ( int  argc,
char **  argv,
int  windowDimension 
)

Definition at line 82 of file SFML_HOG.cpp.

◆ RunHOGGUI() [2/2]

void RunHOGGUI ( int  argc,
char *  argv[],
int  xDimension,
int  yDimension 
)

◆ setTextBufferVisibility()

void setTextBufferVisibility ( bool  visible)

◆ submitTextToBuffer()

void submitTextToBuffer ( const char *  val)

◆ updateModelView()

void updateModelView ( pRecContext  pContextInfo,
int  currPort 
)

◆ updateProjection()

void updateProjection ( pRecContext  pContextInfo,
int  viewPort 
)

Update the projection matrix based on camera and view info.

Should be called when viewport size, eye z position, or camera aperture changes. Also call if far or near changes which is determined by shape size in this case.

Definition at line 595 of file SFML_HOG.cpp.

References recCamera::aperture, recFrustum::bottom, Graphics::rect::bottom, recContext::camera, recFrustum::far, recCamera::frust, if(), recFrustum::left, Graphics::rect::left, recFrustum::near, recContext::numPorts, pContextInfo, recFrustum::right, Graphics::rect::right, screenRect, recFrustum::top, Graphics::rect::top, ViewportToGlobalHOG(), recCamera::viewPos, recContext::windowHeight, recContext::windowWidth, and recVec::z.

Referenced by cameraLookAt(), cameraMoveTo(), cameraOffset(), drawGL(), resetCamera(), resizeGL(), SetNumPorts(), and SetZoom().

◆ ViewportToScreen() [1/2]

Graphics::rect ViewportToScreen ( const Graphics::rect loc,
int  viewport 
)

◆ ViewportToScreen() [2/2]

Graphics::point ViewportToScreen ( Graphics::point  where,
int  viewport 
)

◆ ViewportToScreenX()

float ViewportToScreenX ( float  x,
int  v 
)

Definition at line 862 of file SFML_HOG.cpp.

References Graphics::rect::right, screenRect, and ViewportToGlobalHOGX().

Referenced by DoDrawCommands(), DrawLines(), and Line().

◆ WindowToHOG()

Graphics::point WindowToHOG ( const Graphics::point p)

Variable Documentation

◆ backup

pRecContext backup

Definition at line 51 of file SFML_HOG.cpp.

◆ bufferVisibility

bool bufferVisibility = true

◆ font

MonoFont font

Definition at line 57 of file SFML_HOG.cpp.

Referenced by DrawGraphics().

◆ fps

double fps = 30.0

Definition at line 52 of file SFML_HOG.cpp.

Referenced by renderScene().

◆ gCurrButton

int gCurrButton = -1

Definition at line 48 of file SFML_HOG.cpp.

◆ gDolly

GLboolean gDolly = GL_FALSE

Definition at line 44 of file SFML_HOG.cpp.

◆ gDollyPanStartPoint

GLint gDollyPanStartPoint[2] = {0, 0}

Definition at line 42 of file SFML_HOG.cpp.

◆ gPan

GLboolean gPan = GL_FALSE

Definition at line 45 of file SFML_HOG.cpp.

◆ gTrackball

GLboolean gTrackball = GL_FALSE

Definition at line 46 of file SFML_HOG.cpp.

◆ gTrackBallRotation

GLfloat gTrackBallRotation[4] = {0.0f, 0.0f, 0.0f, 0.0f}

Definition at line 43 of file SFML_HOG.cpp.

Referenced by initialConditions(), resetCamera(), and updateModelView().

◆ gTrackingContextInfo

pRecContext gTrackingContextInfo = NULL

Definition at line 47 of file SFML_HOG.cpp.

Referenced by resetCamera(), and updateModelView().

◆ height

int height =100

Definition at line 54 of file SFML_HOG.cpp.

Referenced by Witness< width, height >::AddCannotCrossConstraint(), Witness< width, height >::AddGoal(), Witness< width, height >::AddMustCrossConstraint(), GridData::AddPoint(), SnakeBird::SnakeBird::AddSnakeBody(), SnakeBird::SnakeBird::AddSnakeHead(), Witness< width, height >::AddStarConstraint(), Witness< width, height >::AddTriangleConstraint(), SnakeBird::SnakeBird::ApplyAction(), SnakeBird::SnakeBird::ApplyPartialAction(), GridData::BFS(), SnakeBird::SnakeBird::BiggerMapHeight(), SnakeBird::SnakeBird::BiggerMapWidth(), BuildRandomRoomMap(), SnakeBird::SnakeBird::CanPush(), MNPuzzle< width, height >::Change_Op_Order(), Witness< width, height >::ClearConstraint(), Witness< width, height >::ClearInnerConstraints(), Witness< width, height >::Click(), convertToGlobalHogCoordinate(), MNPuzzle< width, height >::Create_Random_MN_Puzzles(), SnakeBird::SnakeBird::DecodeLevel(), MNPuzzle< width, height >::DefaultH(), Witness< width, height >::Deserialize(), SnakeBird::SnakeBird::DoFall(), MNPuzzle< width, height >::Draw(), SnakeBird::SnakeBird::Draw(), Witness< width, height >::Draw(), TextBox::drawChar(), MonoFont::DrawChar(), DrawCylinder(), SnakeBird::SnakeBird::DrawObject(), SnakeBird::SnakeBird::DrawObjects(), DrawPyramid(), MonoFont::DrawText(), Graphics::Display::DrawText(), DWG::DynamicWeightedGridEnvironment::DynamicWeightedGridEnvironment(), SnakeBird::SnakeBird::EncodeLevel(), Map3DGrid::FindNearState(), MNPuzzle< width, height >::Generate_Random_Puzzle(), MNPuzzle< width, height >::Get_Num_Of_Rows(), MNPuzzle< width, height >::GetAction(), SnakeBird::SnakeBird::GetActions(), Witness< width, height >::GetActions(), Witness< width, height >::GetCannotCrossConstraint(), GetEdgeHash(), SnakeBird::SnakeBird::GetHeight(), SnakeBird::SnakeBird::GetIndex(), MNPuzzle< width, height >::GetMaxStateHash(), Witness< width, height >::GetMouseActions(), Witness< width, height >::GetMustCrossConstraint(), MNPuzzle< width, height >::GetName(), Witness< width, height >::GetNumCannotCrossConstraints(), Witness< width, height >::GetNumEraserConstraints(), Witness< width, height >::GetNumPathConstraints(), Witness< width, height >::GetNumSeparationConstraints(), Witness< width, height >::GetNumStarConstraints(), Witness< width, height >::GetNumTetrisConstraints(), Witness< width, height >::GetNumTriangleConstraints(), MNPuzzle< width, height >::GetParity(), Witness< width, height >::GetPathLocation(), SnakeBird::SnakeBird::GetPointFromCoordinate(), SnakeBird::SnakeBird::GetRadius(), Witness< width, height >::GetScreenCoord(), MNPuzzle< width, height >::GetStateFromHash(), MNPuzzle< width, height >::GetStateHash(), MonoFont::GetTextLines(), SnakeBird::SnakeBird::GetX(), SnakeBird::SnakeBird::GetY(), Witness< width, height >::GoalTest(), HandleCommand(), SnakeBird::SnakeBird::HandleTeleports(), MNPuzzle< width, height >::HCost(), WitnessState< width, height >::hitTheWall(), WitnessState< width, height >::InGoal(), WitnessState< width, height >::isAlongTheWall(), SnakeBird::SnakeBird::IsOnSpikes(), GridData::LabelAreas(), Witness< width, height >::LabelRegions(), Witness< width, height >::Legal(), SnakeBird::SnakeBird::Load(), Witness< width, height >::LoadFromHashString(), MakeMaze(), MakePseudoMaze(), MakeSVG(), Map3DGrid::Map3DGrid(), WitnessState< width, height >::Occupied(), MNPuzzle< width, height >::OpenGLDraw(), Witness< width, height >::operator std::string(), operator<<(), MNPuzzle< width, height >::read_in_mn_puzzles(), Witness< width, height >::RecursivelyPlacePieces(), SnakeBird::SnakeBird::RemoveBlock(), Witness< width, height >::RemoveCannotCrossConstraint(), Witness< width, height >::RemoveMustCrossConstraint(), SnakeBird::SnakeBird::Render(), SnakeBird::SnakeBird::Reset(), Witness< width, height >::Reset(), resizeGL(), SaveScreenshot(), Witness< width, height >::SaveToHashString(), SnakeBird::SnakeBird::SetGroundType(), GridData::SetHeightOffset(), MNPuzzle< width, height >::SetPattern(), MNPuzzleState< width, height >::size(), SnakeBird::SnakeBird::SmallerMapHeight(), SnakeBird::SnakeBird::SnakeBird(), startTrackball(), MNPuzzle< width, height >::State_Check(), MNPuzzle< width, height >::StoreGoal(), SVGDrawRect(), SVGFrameRect(), Witness< width, height >::UndoAction(), WitnessState< width, height >::Unoccupy(), Witness< width, height >::Witness(), and Plotting::Plot2D::Zoom().

◆ myTextBox

TextBox* myTextBox = 0

◆ pContextInfo

pRecContext pContextInfo

◆ screenRect

Graphics::rect screenRect

Definition at line 55 of file SFML_HOG.cpp.

Referenced by updateProjection(), ViewportToScreen(), and ViewportToScreenX().

◆ textLines

std::vector<Graphics::Display::lineInfo> textLines

Definition at line 58 of file SFML_HOG.cpp.

Referenced by DrawGraphics(), and DrawLines().

◆ width

int width =100

Definition at line 54 of file SFML_HOG.cpp.

Referenced by Witness< width, height >::AddCannotCrossConstraint(), Witness< width, height >::AddGoal(), MNPuzzle< width, height >::AdditiveGCost(), Witness< width, height >::AddMustCrossConstraint(), MapCliqueAbstraction::addNodesToParent(), LoadedCliqueAbstraction::addNodesToParent(), SnakeBird::SnakeBird::AddSnakeBody(), SnakeBird::SnakeBird::AddSnakeHead(), Witness< width, height >::AddStarConstraint(), Witness< width, height >::AddTriangleConstraint(), MNPuzzle< width, height >::ApplyAction(), SnakeBird::SnakeBird::BiggerMapHeight(), SnakeBird::SnakeBird::BiggerMapWidth(), BuildRandomRoomMap(), SnakeBird::SnakeBird::CanPush(), MNPuzzle< width, height >::Change_Op_Order(), Witness< width, height >::ClearConstraint(), Witness< width, height >::ClearInnerConstraints(), Witness< width, height >::Click(), GraphAbstraction::ComputeWidth(), convertToGlobalHogCoordinate(), MNPuzzle< width, height >::Create_Random_MN_Puzzles(), SnakeBird::SnakeBird::DecodeLevel(), MNPuzzle< width, height >::DefaultH(), Witness< width, height >::Deserialize(), MNPuzzle< width, height >::Draw(), SnakeBird::SnakeBird::Draw(), Witness< width, height >::Draw(), CanonicalGrid::CanonicalGrid::DrawArrow(), MapEnvironment::DrawArrow(), BOAStar< state, action, environment >::DrawGoal(), Map2DSectorAbstraction::DrawLine(), NaryTree::DrawLine(), Racetrack::DrawLine(), CanonicalGrid::CanonicalGrid::DrawLine(), MapEnvironment::DrawLine(), GraphEnvironment::DrawLine(), SnakeBird::SnakeBird::DrawObjects(), DrawPyramid(), DrawTextCentered(), DWG::DynamicWeightedGridEnvironment::DynamicWeightedGridEnvironment(), SnakeBird::SnakeBird::EncodeLevel(), Graphics::Display::FrameNGon(), MNPuzzle< width, height >::GCost(), MNPuzzle< width, height >::Generate_Random_Puzzle(), MNPuzzle< width, height >::Get_Num_Of_Columns(), MNPuzzle< width, height >::GetAction(), SnakeBird::SnakeBird::GetActions(), Witness< width, height >::GetActions(), Witness< width, height >::GetCannotCrossConstraint(), GetEdgeHash(), MNPuzzle< width, height >::GetMaxStateHash(), Witness< width, height >::GetMouseActions(), Witness< width, height >::GetMustCrossConstraint(), MNPuzzle< width, height >::GetName(), Witness< width, height >::GetNumCannotCrossConstraints(), Witness< width, height >::GetNumEraserConstraints(), Witness< width, height >::GetNumPathConstraints(), Witness< width, height >::GetNumSeparationConstraints(), Witness< width, height >::GetNumStarConstraints(), Witness< width, height >::GetNumTetrisConstraints(), Witness< width, height >::GetNumTriangleConstraints(), MNPuzzle< width, height >::GetParity(), Witness< width, height >::GetPathIndex(), Witness< width, height >::GetPathLocation(), SnakeBird::SnakeBird::GetRadius(), Witness< width, height >::GetRegionFromX(), Witness< width, height >::GetRegionFromY(), Witness< width, height >::GetRegionIndex(), Witness< width, height >::GetScreenCoord(), MNPuzzle< width, height >::GetStateFromHash(), MNPuzzle< width, height >::GetStateHash(), SnakeBird::SnakeBird::GetWidth(), Witness< width, height >::GoalTest(), HandleCommand(), SnakeBird::SnakeBird::HandleTeleports(), MNPuzzle< width, height >::HCost(), WitnessState< width, height >::hitTheWall(), WitnessState< width, height >::InGoal(), WitnessState< width, height >::isAlongTheWall(), SnakeBird::SnakeBird::IsOnSpikes(), Witness< width, height >::LabelRegions(), Witness< width, height >::Legal(), Line(), SnakeBird::SnakeBird::Load(), Witness< width, height >::LoadFromHashString(), SnakeBird::LoadSnake(), MakeMaze(), MakePseudoMaze(), MakeSVG(), Map3DGrid::Map3DGrid(), LoadedCliqueAbstraction::neighborAbstractGraph(), WitnessState< width, height >::Occupied(), WitnessState< width, height >::Occupy(), MNPuzzle< width, height >::OpenGLDraw(), Witness< width, height >::operator std::string(), operator<<(), MNPuzzle< width, height >::read_in_mn_puzzles(), Witness< width, height >::RecursivelyPlacePieces(), SnakeBird::SnakeBird::RemoveBlock(), Witness< width, height >::RemoveCannotCrossConstraint(), Witness< width, height >::RemoveMustCrossConstraint(), SnakeBird::SnakeBird::Render(), SnakeBird::SnakeBird::Reset(), Witness< width, height >::Reset(), resizeGL(), SaveScreenshot(), Witness< width, height >::SaveToHashString(), aStar::setCorridor(), MNPuzzle< width, height >::SetPattern(), MNPuzzleState< width, height >::size(), SnakeBird::SnakeBird::SmallerMapHeight(), SnakeBird::SnakeBird::SmallerMapWidth(), SnakeBird::SnakeBird::SnakeBird(), startTrackball(), MNPuzzle< width, height >::State_Check(), MNPuzzle< width, height >::StoreGoal(), SVGBeginLinePath(), SVGDrawLine(), CanonicalGrid::CanonicalGrid::SVGDrawLine(), MapEnvironment::SVGDrawLine(), SVGDrawLineSegments(), SVGDrawRect(), SVGFrameRect(), CanonicalGrid::CanonicalGrid::SVGFrameRect(), MapEnvironment::SVGFrameRect(), RoboticArm::TipPositionIndex(), ArmToArmHeuristic::TipPositionIndex(), ArmToTipHeuristic::TipPositionIndex(), Witness< width, height >::UndoAction(), WitnessState< width, height >::Unoccupy(), Witness< width, height >::Witness(), and Plotting::Plot2D::Zoom().