SYMBOL INDEX (121 symbols across 43 files) FILE: data/www/client.js function leftRetractDown (line 1) | async function leftRetractDown() { function leftExtendDown (line 5) | async function leftExtendDown() { function rightRetractDown (line 9) | async function rightRetractDown() { function rightExtendDown (line 13) | async function rightExtendDown() { function leftRetractUp (line 17) | async function leftRetractUp() { function leftExtendUp (line 21) | async function leftExtendUp() { function rightRetractUp (line 25) | async function rightRetractUp() { function rightExtendUp (line 29) | async function rightExtendUp() { function postCommand (line 33) | async function postCommand(command) { FILE: data/www/main.js function checkIfExtendedToHome (line 14) | async function checkIfExtendedToHome(extendToHomeTime) { function init (line 35) | function init() { function verifyUpload (line 464) | function verifyUpload(state) { function adaptToState (line 511) | function adaptToState(state) { function getInfillDensity (line 544) | function getInfillDensity() { function getTurdSize (line 553) | function getTurdSize() { function getFlattenPaths (line 557) | function getFlattenPaths() { FILE: data/www/svgControl.js function initSvgControl (line 12) | function initSvgControl() { function requestChangeInTransform (line 30) | function requestChangeInTransform(direction) { function resetTransform (line 62) | function resetTransform() { function setSvgString (line 73) | function setSvgString(svgString, currentState) { function normalizeSvg (line 83) | function normalizeSvg() { function convertUnitsToPx (line 119) | function convertUnitsToPx(dimension) { function getTargetWidth (line 140) | function getTargetWidth() { function getTargetHeight (line 144) | function getTargetHeight() { function getRenderScale (line 148) | function getRenderScale() { function getRenderSvg (line 152) | function getRenderSvg() { function applyTransform (line 156) | function applyTransform() { function makeTransformedSvgWithHeight (line 169) | function makeTransformedSvgWithHeight() { function updateTransformText (line 200) | function updateTransformText() { function getCurrentSvgImageData (line 207) | async function getCurrentSvgImageData() { function loadImage (line 226) | async function loadImage(src) { function getSvgJson (line 235) | function getSvgJson(svgString) { function convertJsonToDataURL (line 248) | function convertJsonToDataURL(json, width, height) { FILE: src/display.h function class (line 5) | class Display { FILE: src/main.cpp function notFound (line 24) | void notFound(AsyncWebServerRequest *request) function handleUpload (line 29) | void handleUpload(AsyncWebServerRequest *request, String filename, size_... function handleGetState (line 33) | void handleGetState(AsyncWebServerRequest *request) { function setup (line 38) | void setup() function loop (line 145) | void loop() FILE: src/movement.h function class (line 52) | class Movement{ function Point (line 93) | struct Point { function distanceBetweenPoints (line 104) | static double distanceBetweenPoints(Point point1, Point point2) { FILE: src/pen.cpp function shouldStop (line 3) | bool shouldStop(int currentDegree, int targetDegree, bool positive) { function doSlowMove (line 11) | void doSlowMove(Pen* pen, int startDegree, int targetDegree, int speedDe... FILE: src/pen.h function class (line 5) | class Pen { FILE: src/phases/begindrawingphase.h function class (line 5) | class BeginDrawingPhase : public NotSupportedPhase { FILE: src/phases/commandhandlingphase.h function class (line 5) | class CommandHandlingPhase : public NotSupportedPhase { FILE: src/phases/extendtohomephase.h function class (line 6) | class ExtendToHomePhase : public NotSupportedPhase { FILE: src/phases/notsupportedphase.h function class (line 4) | class NotSupportedPhase : public Phase { FILE: src/phases/pencalibrationphase.h function class (line 6) | class PenCalibrationPhase : public NotSupportedPhase { FILE: src/phases/phase.h function class (line 4) | class Phase { FILE: src/phases/phasemanager.cpp function Phase (line 24) | Phase* PhaseManager::getCurrentPhase() { FILE: src/phases/phasemanager.h function class (line 8) | class PhaseManager { FILE: src/phases/retractbeltsphase.h function class (line 7) | class RetractBeltsPhase : public CommandHandlingPhase { FILE: src/phases/settopdistancephase.h function class (line 6) | class SetTopDistancePhase : public CommandHandlingPhase { FILE: src/phases/svgselectphase.h function class (line 5) | class SvgSelectPhase : public NotSupportedPhase { FILE: src/runner.cpp function Task (line 58) | Task *Runner::getNextTask() FILE: src/runner.h function class (line 8) | class Runner { FILE: src/tasks/interpolatingmovementtask.cpp function getNextIncrement (line 5) | Movement::Point getNextIncrement(Movement::Point currentPosition, Moveme... function arePointsEqual (line 17) | bool arePointsEqual(Movement::Point point1, Movement::Point point2) { FILE: src/tasks/interpolatingmovementtask.h function class (line 6) | class InterpolatingMovementTask : public Task { FILE: src/tasks/movementtask.h function class (line 5) | class MovementTask : public Task { FILE: src/tasks/pentask.h function class (line 5) | class PenTask : public Task { FILE: src/tasks/task.h function class (line 3) | class Task { FILE: tsc/src/deduplicator.ts function dedupeCommands (line 4) | function dedupeCommands(commands: Command[]): Command[] { FILE: tsc/src/flattener.ts function flattenPaths (line 6) | function flattenPaths(paths: paper.PathItem[], updateStatusFn: updateSta... FILE: tsc/src/generator.ts function generatePaths (line 5) | function generatePaths(svg: paper.Item): paper.PathItem[] { function generatePathsRecursive (line 9) | function generatePathsRecursive(item: paper.Item): paper.PathItem[] { FILE: tsc/src/infill.ts function generateInfills (line 15) | function generateInfills(pathsToInfill: paper.PathItem[], infillDensity:... function getMidPoint (line 101) | function getMidPoint(point1: paper.Point, point2: paper.Point): paper.Po... function unwrapCompoundPath (line 108) | function unwrapCompoundPath(path: paper.CompoundPath) { FILE: tsc/src/main.ts function vectorize (line 23) | function vectorize(request: RequestTypes.VectorizeRequest) { function render (line 34) | async function render(request: RequestTypes.RenderSVGRequest) { function isVectorizeRequest (line 51) | function isVectorizeRequest(obj: any): obj is RequestTypes.VectorizeRequ... function isRenderSvgRequest (line 68) | function isRenderSvgRequest(obj: any): obj is RequestTypes.RenderSVGRequ... FILE: tsc/src/measurer.ts function measureDistance (line 4) | function measureDistance(dedupedCommands: Command[]) { FILE: tsc/src/optimizer.ts function optimizePaths (line 6) | function optimizePaths(infilledPaths: InfilledPath[], start_x: number, s... function getClosestInfilledPath (line 60) | function getClosestInfilledPath(infilledPaths: InfilledPath[], lastPoint... function getClosestPath (line 76) | function getClosestPath(paths: paper.Path[], lastPoint: paper.Point, can... FILE: tsc/src/paperLoader.ts function loadPaper (line 5) | function loadPaper(): paper.PaperScope { FILE: tsc/src/renderer.ts function renderPathsToCommands (line 6) | function renderPathsToCommands(paths: paper.Path[], width: number, heigh... FILE: tsc/src/tester.ts function updater (line 15) | function updater(status: string) { function main_vectorRasterVector (line 19) | async function main_vectorRasterVector() { function getImageData (line 65) | async function getImageData(svgString: string, renderScaleFactor: number... function main_pathTracer (line 110) | async function main_pathTracer() { function convertSvgToSvgJson (line 163) | function convertSvgToSvgJson(svgString: string) { function convertSvgJsonToSvg (line 176) | function convertSvgJsonToSvg(svgJson: string, width: number, height: num... FILE: tsc/src/toCommands.ts function renderSvgJsonToCommands (line 14) | async function renderSvgJsonToCommands( function stringifyCommand (line 69) | function stringifyCommand(cmd: Command): string { FILE: tsc/src/toSvgJson.ts function renderCommandsToSvgJson (line 6) | function renderCommandsToSvgJson(commands: string[], width: number, heig... FILE: tsc/src/tracer.js function Point (line 41) | function Point(x, y) { function Bitmap (line 50) | function Bitmap(w, h) { function Path (line 86) | function Path() { function Curve (line 97) | function Curve(n) { function setParameter (line 120) | function setParameter(obj) { function setBitmap (line 129) | function setBitmap(width, height, data) { function bmToPathlist (line 138) | function bmToPathlist() { function processPath (line 260) | function processPath() { function process (line 1178) | function process(c) { function clear (line 1192) | function clear() { function getSVG (line 1199) | function getSVG(size, opt_type) { FILE: tsc/src/trimmer.ts function trimCommands (line 3) | function trimCommands(commands: T[], precision = 1): ... FILE: tsc/src/types.ts type updateStatusFn (line 2) | type updateStatusFn = (status: string) => void; type CoordinateCommand (line 4) | type CoordinateCommand = { type PenUpCommand (line 9) | type PenUpCommand = 'p0'; type PenDownCommand (line 10) | type PenDownCommand = 'p1'; type DistanceCommand (line 11) | type DistanceCommand = `d${number}` type HeightCommand (line 12) | type HeightCommand = `h${number}`; type Command (line 14) | type Command = CoordinateCommand | PenUpCommand | PenDownCommand | Dista... type InfilledPath (line 16) | type InfilledPath = { type InfillDensity (line 22) | type InfillDensity = 0 | 1 | 2 | 3 | 4; type RenderSVGRequest (line 26) | type RenderSVGRequest = { type VectorizeRequest (line 39) | type VectorizeRequest = { FILE: tsc/src/utils.ts function getLastPoint (line 8) | function getLastPoint(commandList: Command[]) : CoordinateCommand | unde... function distanceBetweenPoints (line 21) | function distanceBetweenPoints(cmd1: CoordinateCommand, cmd2: Coordinate... function distanceBetweenPointsSquared (line 25) | function distanceBetweenPointsSquared(cmd1: CoordinateCommand, cmd2: Coo... function isPathWhiteOnly (line 29) | function isPathWhiteOnly(path: paper.PathItem): boolean { FILE: tsc/src/vectorizer.ts constant WHITE_COLOR (line 7) | const WHITE_COLOR = new paper.Color("#FFFFFF"); function vectorizeImageData (line 9) | function vectorizeImageData(imageData: ImageData, turdSize: number): str... function createPathsFromColorMatrix (line 31) | function createPathsFromColorMatrix(colorMatrix: paper.Color[][], turdSi... function colorDistance (line 58) | function colorDistance(color1: paper.Color, color2: paper.Color) {