diff --git a/bin/data/livecoding/lua_mosaic_language.xml b/bin/data/livecoding/lua_mosaic_language.xml new file mode 100644 index 0000000..5f106f1 --- /dev/null +++ b/bin/data/livecoding/lua_mosaic_language.xml @@ -0,0 +1,8598 @@ +https://github.com/d3cod3/mosaic +https://mosaic.d3cod3.org + + + mosaicBackground + Draw a transparent background.\n\nmosaicBackground(int red, int green, int blue, int alpha) + + + checkMosaicDataInlet + Mosaic internal method + + + getMosaicDataInletSize + Mosaic internal method + + + of + + + + setup + + + + update + + + + draw + + + + keyPressed + + + + keyReleased + + + + mouseMoved + + + + mouseDragged + + + + mouseReleased + + + + mouseScrolled + + + + 3dGraphics + + + + drawArrow + + + + drawAxis + + + + drawBox + + + + drawCone + + + + drawCylinder + + + + drawGrid + + + + drawGridPlane + + + + drawIcoSphere + + + + drawPlane + + + + drawRotationAxes + + + + drawSphere + + + + getBoxResolution + + + + getConeResolution + + + + getCylinderResolution + + + + getIcoSphereResolution + + + + getPlaneResolution + + + + getSphereResolution + + + + setBoxResolution + + + + setConeResolution + + + + setCylinderResolution + + + + setIcoSphereResolution + + + + setPlaneResolution + + + + setSphereResolution + + + + drawBox + + + + drawCone + + + + drawCylinder + + + + drawIcoSphere + + + + drawPlane + + + + drawSphere + + + + getBoxResolution + + + + getConeResolution + + + + getCylinderResolution + + + + getIcoSphereResolution + + + + getPlaneResolution + + + + getSphereResolution + + + + setBoxResolution + + + + setConeResolution + + + + setCylinderResolution + + + + setIcoSphereResolution + + + + setPlaneResolution + + + + setSphereResolution + + + + 3dPrimitive + + + + disableColors + + + + disableNormals + + + + disableTextures + + + + drawAxes + + + + drawFaces + + + + drawNormals + + + + drawVertices + + + + drawWireframe + + + + enableColors + + + + enableNormals + + + + enableTextures + + + + getMesh + + + + getMeshPtr + + + + getTexCoords + + + + getTexCoordsPtr + + + + hasNormalsEnabled + + + + hasScaling + + + + isUsingVbo + + + + mapTexCoords + + + + mapTexCoordsFromTexture + + + + setUseVbo + + + + drawArrow + + + + drawAxis + + + + drawGrid + + + + drawGridPlane + + + + drawRotationAxes + + + + BoxPrimitive + + + + getDepth + + + + getHeight + + + + getResolution + + + + getResolutionDepth + + + + getResolutionHeight + + + + getResolutionWidth + + + + getSideIndices + + + + getSideMesh + + + + getSize + + + + getWidth + + + + resizeToTexture + + + + setDepth + + + + setHeight + + + + setMode + + + + setResolution + + + + setResolutionDepth + + + + setResolutionHeight + + + + setResolutionWidth + + + + setSideColor + + + + setWidth + + + + Camera + + + + cameraToWorld + + + + disableOrtho + + + + drawFrustum + + + + enableOrtho + + + + getAspectRatio + + + + getFarClip + + + + getForceAspectRatio + + + + getFov + + + + getImagePlaneDistance + + + + getLensOffset + + + + getModelViewMatrix + + + + getModelViewProjectionMatrix + + + + getNearClip + + + + getOrtho + + + + getProjectionMatrix + + + + isVFlipped + + + + screenToWorld + + + + setAspectRatio + + + + setFarClip + + + + setForceAspectRatio + + + + setFov + + + + setLensOffset + + + + setNearClip + + + + setRenderer + + + + setVFlip + + + + setupOffAxisViewPortal + + + + setupPerspective + + + + worldToScreen + + + + worldToScreen + + + + ConePrimitive + + + + getCapIndices + + + + getCapMesh + + + + getConeIndices + + + + getConeMesh + + + + getHeight + + + + getRadius + + + + getResolution + + + + getResolutionCap + + + + getResolutionHeight + + + + getResolutionRadius + + + + setCapColor + + + + setHeight + + + + setMode + + + + setRadius + + + + setResolution + + + + setResolutionCap + + + + setResolutionHeight + + + + setResolutionRadius + + + + setTopColor + + + + CylinderPrimitive + + + + getBottomCapIndices + + + + getBottomCapMesh + + + + getCapped + + + + getCylinderIndices + + + + getCylinderMesh + + + + getHeight + + + + getRadius + + + + getResolution + + + + getResolutionCap + + + + getResolutionHeight + + + + getResolutionRadius + + + + getTopCapIndices + + + + getTopCapMesh + + + + setBottomCapColor + + + + setCapped + + + + setCylinderColor + + + + setHeight + + + + setMode + + + + setRadius + + + + setResolution + + + + setResolutionCap + + + + setResolutionHeight + + + + setResolutionRadius + + + + setTopCapColor + + + + EasyCam + + + + addInteraction + + + + clearControlArea + + + + disableInertia + + + + disableMouseInput + + + + disableMouseMiddleButton + + + + enableInertia + + + + enableMouseInput + + + + enableMouseMiddleButton + + + + getControlArea + + + + getDistance + + + + getDrag + + + + getInertiaEnabled + + + + getMouseInputEnabled + + + + getMouseMiddleButtonEnabled + + + + getRelativeYAxis + + + + getTarget + + + + getTranslationKey + + + + getUpAxis + + + + hasInteraction + + + + removeAllInteractions + + + + removeInteraction + + + + reset + + + + setAutoDistance + + + + setControlArea + + + + setDistance + + + + setDrag + + + + setEvents + + + + setRelativeYAxis + + + + setRotationSensitivity + + + + setTarget + + + + setTranslationKey + + + + setTranslationSensitivity + + + + setUpAxis + + + + IcoSpherePrimitive + + + + getRadius + + + + getResolution + + + + setMode + + + + setRadius + + + + setResolution + + + + Mesh + + + + addColor + + + + addColors + + + + addIndex + + + + addIndices + + + + addNormal + + + + addNormals + + + + addTexCoord + + + + addTexCoords + + + + addTriangle + + + + addVertex + + + + addVertices + + + + append + + + + axis + + + + box + + + + clear + + + + clearColors + + + + clearIndices + + + + clearNormals + + + + clearTexCoords + + + + clearVertices + + + + cone + + + + cylinder + + + + disableColors + + + + disableIndices + + + + disableNormals + + + + disableTextures + + + + drawFaces + + + + drawVertices + + + + drawWireframe + + + + enableColors + + + + enableIndices + + + + enableNormals + + + + enableTextures + + + + flatNormals + + + + getCentroid + + + + getColor + + + + getColors + + + + getColorsPointer + + + + getFace + + + + getFaceNormals + + + + getIndex + + + + getIndexPointer + + + + getIndices + + + + getMeshForIndices + + + + getMode + + + + getNormal + + + + getNormals + + + + getNormalsPointer + + + + getNumColors + + + + getNumIndices + + + + getNumNormals + + + + getNumTexCoords + + + + getNumVertices + + + + getTexCoord + + + + getTexCoords + + + + getTexCoordsPointer + + + + getUniqueFaces + + + + getVertex + + + + getVertices + + + + getVerticesPointer + + + + hasColors + + + + hasIndices + + + + hasNormals + + + + hasTexCoords + + + + hasVertices + + + + icosahedron + + + + icosphere + + + + load + + + + mergeDuplicateVertices + + + + plane + + + + removeColor + + + + removeIndex + + + + removeNormal + + + + removeTexCoord + + + + removeVertex + + + + save + + + + setColorForIndices + + + + setFromTriangles + + + + setIndex + + + + setMode + + + + setNormal + + + + setTexCoord + + + + setVertex + + + + setupIndicesAuto + + + + smoothNormals + + + + sphere + + + + usingColors + + + + usingIndices + + + + usingNormals + + + + usingTextures + + + + MeshFace + + + + getColor + + + + getFaceNormal + + + + getNormal + + + + getTexCoord + + + + getVertex + + + + hasColors + + + + hasNormals + + + + hasTexcoords + + + + setHasColors + + + + setHasNormals + + + + setHasTexcoords + + + + setNormal + + + + setTexCoord + + + + setVertex + + + + Node + + + + boom + + + + clearParent + + + + customDraw + + + + dolly + + + + getGlobalOrientation + + + + getGlobalPosition + + + + getGlobalScale + + + + getGlobalTransformMatrix + + + + getHeadingDeg + + + + getHeadingRad + + + + getLocalTransformMatrix + + + + getLookAtDir + + + + getOrientationEulerDeg + + + + getOrientationEulerRad + + + + getOrientationQuat + + + + getParent + + + + getPitchDeg + + + + getPitchRad + + + + getPosition + + + + getRollDeg + + + + getRollRad + + + + getScale + + + + getSideDir + + + + getUpDir + + + + getX + + + + getXAxis + + + + getY + + + + getYAxis + + + + getZ + + + + getZAxis + + + + lookAt + + + + move + + + + orbitDeg + + + + orbitRad + + + + panDeg + + + + panRad + + + + resetTransform + + + + restoreTransformGL + + + + rollDeg + + + + rollRad + + + + rotate + + + + rotateAround + + + + rotateAroundDeg + + + + rotateAroundRad + + + + rotateDeg + + + + rotateRad + + + + setGlobalOrientation + + + + setGlobalPosition + + + + setOrientation + + + + setParent + + + + setPosition + + + + setScale + + + + tiltDeg + + + + tiltRad + + + + transformGL + + + + truck + + + + PlanePrimitive + + + + getHeight + + + + getNumColumns + + + + getNumRows + + + + getResolution + + + + getWidth + + + + resizeToTexture + + + + setColumns + + + + setHeight + + + + setMode + + + + setResolution + + + + setRows + + + + setWidth + + + + SpherePrimitive + + + + getRadius + + + + getResolution + + + + setMode + + + + setRadius + + + + setResolution + + + + attachEncoder + + + + connect + + + + detachEncoder + + + + disableEncoderReporting + + + + disconnect + + + + enableEncoderReporting + + + + getAllEncoderPositions + + + + getAnalog + + + + getAnalogPinReporting + + + + getDigital + + + + getDigitalPinMode + + + + getEncoderPosition + + + + getInvertedValueFromTwo7bitBytes + + + + getNumAnalogPins + + + + getPinCapabilities + + + + getPwm + + + + getString + + + + getTotalPins + + + + Arduino + + + + isArduinoReady + + + + isAttached + + + + isI2CConfigured + + + + isInitialized + + + + resetEncoderPosition + + + + sendAnalogMappingRequest + + + + sendAnalogPinReporting + + + + sendByte + + + + sendDigital + + + + sendDigitalPinMode + + + + sendI2CConfig + + + + sendI2CReadRequest + + + + sendI2CWriteRequest + + + + sendI2ContinuousReadRequest + + + + sendOneWireAlarmsSearch + + + + sendOneWireConfig + + + + sendOneWireDelay + + + + sendOneWireRead + + + + sendOneWireRequest + + + + sendOneWireReset + + + + sendOneWireSearch + + + + sendOneWireWrite + + + + sendOneWireWriteAndRead + + + + sendPinCapabilityRequest + + + + sendPinCofigurationRequest + + + + sendPinStateQuery + + + + sendPwm + + + + sendReset + + + + Serial + + + + sendSerialConfig + + + + sendStepper2Wire + + + + sendStepper4Wire + + + + sendStepperMove + + + + sendString + + + + serialClose + + + + serialFlush + + + + serialListen + + + + serialRead + + + + serialStop + + + + serialWrite + + + + setUseDelay + + + + drain + + + + flush + + + + getDeviceList + + + + isInitialized + + + + listDevices + + + + readByte + + + + readBytes + + + + writeByte + + + + writeBytes + + + + serialDeviceInfo + + + + getDeviceID + + + + getDeviceName + + + + getDevicePath + + + + bufferObject + + + + allocate + + + + bind + + + + bindBase + + + + bindRange + + + + copyTo + + + + getId + + + + invalidate + + + + isAllocated + + + + map + + + + mapRange + + + + setData + + + + size + + + + unbind + + + + unbindBase + + + + unbindRange + + + + unmap + + + + unmapRange + + + + updateData + + + + Fbo + + + + activateAllDrawBuffers + + + + allocate + + + + attachTexture + + + + bind + + + + checkGLSupport + + + + checkStatus + + + + clear + + + + clearColorBuffer + + + + clearDepthBuffer + + + + clearDepthStencilBuffer + + + + clearStencilBuffer + + + + copyTo + + + + createAndAttachDepthStencilTexture + + + + createAndAttachRenderbuffer + + + + createAndAttachTexture + + + + flagDirty + + + + getDefaultTextureIndex + + + + getDepthBuffer + + + + getDepthTexture + + + + getHeight + + + + getId + + + + getIdDrawBuffer + + + + getNumTextures + + + + getStencilBuffer + + + + getTexture + + + + getWidth + + + + isAllocated + + + + isUsingTexture + + + + maxColorAttachments + + + + maxDrawBuffers + + + + maxSamples + + + + FboSettings + + + + Light + + + + disable + + + + enable + + + + getAmbientColor + + + + getAttenuationConstant + + + + getAttenuationLinear + + + + getAttenuationQuadratic + + + + getDiffuseColor + + + + getIsAreaLight + + + + getIsDirectional + + + + getIsEnabled + + + + getIsPointLight + + + + getIsSpotlight + + + + getLightID + + + + getSpecularColor + + + + getSpotConcentration + + + + getSpotlightCutOff + + + + getType + + + + setAmbientColor + + + + setAreaLight + + + + setAttenuation + + + + setDiffuseColor + + + + setDirectional + + + + setPointLight + + + + setSpecularColor + + + + setSpotConcentration + + + + setSpotlight + + + + setSpotlightCutOff + + + + disableLighting + + + + disableSeparateSpecularLight + + + + enableLighting + + + + enableSeparateSpecularLight + + + + getGlobalAmbientColor + + + + getLightingEnabled + + + + lightsData + + + + setGlobalAmbientColor + + + + setSmoothLighting + + + + material + + + + getAmbientColor + + + + getDiffuseColor + + + + getEmissiveColor + + + + getSettings + + + + getShininess + + + + getSpecularColor + + + + setAmbientColor + + + + setColors + + + + setCustomUniform1f + + + + setCustomUniform1i + + + + setCustomUniform2f + + + + setCustomUniform2i + + + + setCustomUniform3f + + + + setCustomUniform3i + + + + setCustomUniform4f + + + + setCustomUniform4i + + + + setCustomUniformMatrix3f + + + + setCustomUniformMatrix4f + + + + setCustomUniformTexture + + + + setDiffuseColor + + + + setEmissiveColor + + + + setShininess + + + + setSpecularColor + + + + Shader + + + + beginTransformFeedback + + + + bindAttribute + + + + bindDefaults + + + + bindUniformBlock + + + + dispatchCompute + + + + endTransformFeedback + + + + getAttributeLocation + + + + getGeometryMaxOutputCount + + + + getProgram + + + + getShader + + + + getShaderSource + + + + getUniformBlockBinding + + + + getUniformBlockIndex + + + + getUniformLocation + + + + isLoaded + + + + linkProgram + + + + load + + + + loadCompute + + + + printActiveUniformBlocks + + + + printActiveUniforms + + + + setAttribute1d + + + + setAttribute1f + + + + setAttribute1fv + + + + setAttribute1s + + + + setAttribute2d + + + + setAttribute2f + + + + setAttribute2fv + + + + setAttribute2s + + + + setAttribute3d + + + + setAttribute3f + + + + setAttribute3fv + + + + setAttribute3s + + + + setAttribute4d + + + + setAttribute4f + + + + setAttribute4fv + + + + setAttribute4s + + + + setGeometryInputType + + + + setGeometryOutputCount + + + + setGeometryOutputType + + + + setUniform1f + + + + setUniform1fv + + + + setUniform1i + + + + setUniform1iv + + + + setUniform2f + + + + setUniform2fv + + + + setUniform2i + + + + setUniform2iv + + + + setUniform3f + + + + setUniform3fv + + + + setUniform3i + + + + setUniform3iv + + + + setUniform4f + + + + setUniform4fv + + + + setUniform4i + + + + setUniform4iv + + + + setUniformMatrix3f + + + + setUniformMatrix4f + + + + setUniformTexture + + + + setUniforms + + + + setupShaderFromFile + + + + setupShaderFromSource + + + + unload + + + + Texture + + + + allocate + + + + allocateAsBufferTexture + + + + bind + + + + bindAsImage + + + + clear + + + + copyTo + + + + disableAlphaMask + + + + disableMipmap + + + + disableTextureMatrix + + + + drawSubsection + + + + enableMipmap + + + + generateMipmap + + + + getAlphaMask + + + + getCoordFromPercent + + + + getCoordFromPoint + + + + getHeight + + + + getMeshForSubsection + + + + getQuad + + + + getTextureData + + + + getTextureMatrix + + + + getWidth + + + + hasMipmap + + + + isAllocated + + + + isUsingTextureMatrix + + + + loadData + + + + loadScreenData + + + + disableArbTex + + + + disableNormalizedTexCoords + + + + disableTextureEdgeHack + + + + enableArbTex + + + + enableNormalizedTexCoords + + + + enableTextureEdgeHack + + + + getUsingArbTex + + + + getUsingNormalizedTexCoords + + + + isTextureEdgeHackEnabled + + + + TextureData + + + + Vbo + + + + bind + + + + clear + + + + clearAttribute + + + + clearColors + + + + clearIndices + + + + clearNormals + + + + clearTexCoords + + + + clearVertices + + + + disableColors + + + + disableIndices + + + + disableNormals + + + + disableTexCoords + + + + drawElements + + + + drawElementsInstanced + + + + drawInstanced + + + + enableColors + + + + enableIndices + + + + enableNormals + + + + enableTexCoords + + + + getAttributeBuffer + + + + getAttributeId + + + + getColorBuffer + + + + getColorId + + + + getIndexBuffer + + + + getIndexId + + + + getIsAllocated + + + + getNormalBuffer + + + + getNormalId + + + + getNumIndices + + + + getNumVertices + + + + getTexCoordBuffer + + + + getTexCoordId + + + + getUsingColors + + + + getUsingIndices + + + + getUsingNormals + + + + getUsingTexCoords + + + + getUsingVerts + + + + getVaoId + + + + getVertId + + + + getVertexBuffer + + + + hasAttribute + + + + setAttributeBuffer + + + + setAttributeData + + + + setAttributeDivisor + + + + setColorBuffer + + + + setColorData + + + + setIndexBuffer + + + + setIndexData + + + + setMesh + + + + setNormalBuffer + + + + setNormalData + + + + setTexCoordBuffer + + + + setTexCoordData + + + + setVertexBuffer + + + + setVertexData + + + + unbind + + + + updateAttributeData + + + + updateColorData + + + + updateIndexData + + + + updateMesh + + + + updateNormalData + + + + updateTexCoordData + + + + updateVertexData + + + + VboMesh + + + + disableColors + + + + disableIndices + + + + disableNormals + + + + disableTextures + + + + drawInstanced + + + + enableColors + + + + enableIndices + + + + enableNormals + + + + enableTextures + + + + getVbo + + + + setUsage + + + + usingColors + + + + usingIndices + + + + usingNormals + + + + usingTextures + + + + BitmapFont + + + + getBoundingBox + + + + getMesh + + + + getTexture + + + + background + Draw a simple background with the specified color (0 - 255) .\n\nof.background(int grayscale)\nof.background(int red, int green, int blue) + + + backgroundGradient + + + + backgroundHex + + + + beginSaveScreenAsPDF + + + + beginSaveScreenAsSVG + + + + beginShape + + + + bezierVertex + + + + clear + + + + clearAlpha + + + + curveVertex + + + + curveVertices + + + + disableAlphaBlending + + + + disableAntiAliasing + + + + disableBlendMode + + + + disableDepthTest + + + + disablePointSprites + + + + disableSmoothing + + + + drawBezier + + + + drawBitmapString + + + + drawBitmapStringHighlight + + + + drawCircle + + + + drawCurve + + + + drawEllipse + + + + drawLine + + + + drawRectRounded + + + + drawRectangle + Draw a rectangle.\n\nof.drawRectangle(float x, float y, float width, float height) + + + drawTriangle + + + + enableAlphaBlending + + + + enableAntiAliasing + + + + enableBlendMode + + + + enableDepthTest + + + + enablePointSprites + + + + enableSmoothing + + + + endSaveScreenAsPDF + + + + endSaveScreenAsSVG + + + + endShape + + + + fill + + + + getBackgroundColor + + + + getCoordHandedness + + + + getCurrentMatrix + + + + getCurrentNormalMatrix + + + + getCurrentOrientationMatrix + + + + getCurrentViewMatrix + + + + getCurrentViewport + + + + getFill + + + + getNativeViewport + + + + getRectMode + + + + getStyle + + + + getViewportHeight + + + + getViewportWidth + + + + isVFlipped + + + + loadIdentityMatrix + + + + loadMatrix + + + + loadViewMatrix + + + + multMatrix + + + + multViewMatrix + + + + nextContour + + + + noFill + + + + orientationToDegrees + + + + popMatrix + + + + popStyle + + + + popView + + + + pushMatrix + + + + pushStyle + + + + pushView + + + + rotateDeg + + + + rotateRad + + + + rotateXDeg + + + + rotateXRad + + + + rotateYDeg + + + + rotateYRad + + + + rotateZDeg + + + + rotateZRad + + + + scale + + + + setCircleResolution + + + + setColor + Set the color (0 - 255) of the next drawing.\n\nof.setColor(int grayscale)\nof.setColor(int red, int green, int blue)\nof.setColor(int red, int green, int blue, int alpha) + + + setCoordHandedness + + + + setCurveResolution + + + + setDepthTest + + + + setDrawBitmapMode + + + + setHexColor + + + + setLineWidth + + + + setMatrixMode + + + + setPolyMode + + + + setRectMode + + + + setStyle + + + + setupScreen + + + + setupScreenOrtho + + + + setupScreenPerspective + + + + toString + + + + translate + + + + vertex + + + + vertices + + + + viewport + + + + Image + + + + allocate + + + + bind + + + + clear + + + + crop + + + + cropFrom + + + + drawSubsection + + + + getColor + + + + getHeight + + + + getImageType + + + + getPixels + + + + getTexture + + + + getWidth + + + + grabScreen + + + + isAllocated + + + + isUsingTexture + + + + load + + + + mirror + + + + imageFormatExtension + + + + loadImage + + + + saveImage + + + + toString + + + + Path + + + + append + + + + arc + + + + arcNegative + + + + bezierTo + + + + circle + + + + clear + + + + curveTo + + + + ellipse + + + + getCircleResolution + + + + getCommands + + + + getCurveResolution + + + + getFillColor + + + + getMode + + + + getOutline + + + + getStrokeColor + + + + getStrokeWidth + + + + getTessellation + + + + getUseShapeColor + + + + getWindingMode + + + + hasOutline + + + + isFilled + + + + lineTo + + + + moveTo + + + + newSubPath + + + + quadBezierTo + + + + rectRounded + + + + rectangle + + + + rotateDeg + + + + rotateRad + + + + scale + + + + setCircleResolution + + + + setCurveResolution + + + + setFillColor + + + + setFillHexColor + + + + setFilled + + + + setHexColor + + + + setMode + + + + setPolyWindingMode + + + + setStrokeColor + + + + setStrokeHexColor + + + + setStrokeWidth + + + + setUseShapeColor + + + + simplify + + + + tessellate + + + + translate + + + + triangle + + + + Pixels + + + + allocate + + + + blendInto + + + + bytesFromPixelFormat + + + + clear + + + + crop + + + + cropTo + + + + getBitsPerChannel + + + + getBitsPerPixel + + + + getBytesPerChannel + + + + getBytesPerPixel + + + + getBytesStride + + + + getChannel + + + + getColor + + + + getConstLine + + + + getConstLines + + + + getConstPixelsIter + + + + getData + + + + getHeight + + + + getImageType + + + + getLine + + + + getLines + + + + getNumChannels + + + + getNumPlanes + + + + getPixelFormat + + + + getPixelIndex + + + + getPixelsIter + + + + getPlane + + + + getTotalBytes + + + + getWidth + + + + isAllocated + + + + mirror + + + + mirrorTo + + + + pixelBitsFromPixelFormat + + + + rbegin + + + + rend + + + + resize + + + + resizeTo + + + + rotate90 + + + + rotate90To + + + + setChannel + + + + setFromAlignedPixels + + + + setFromExternalPixels + + + + setFromPixels + + + + setImageType + + + + setNumChannels + + + + size + + + + swap + + + + swapRgb + + + + toString + + + + Polyline + + + + addVertex + + + + addVertices + + + + arc + + + + arcNegative + + + + bezierTo + + + + clear + + + + curveTo + + + + flagHasChanged + + + + fromRectangle + + + + getArea + + + + getBoundingBox + + + + getCentroid2D + + + + getClosestPoint + + + + getDegreesAtIndex + + + + getDegreesAtIndexInterpolated + + + + getIndexAtLength + + + + getIndexAtPercent + + + + getLengthAtIndex + + + + getLengthAtIndexInterpolated + + + + getNormalAtIndex + + + + getNormalAtIndexInterpolated + + + + getPerimeter + + + + getPointAtIndexInterpolated + + + + getPointAtLength + + + + getPointAtPercent + + + + getRadiansAtIndex + + + + getRadiansAtIndexInterpolated + + + + getResampledByCount + + + + getResampledBySpacing + + + + getRightVector + + + + getRotationAtIndex + + + + getRotationAtIndexInterpolated + + + + getSmoothed + + + + getTangentAtIndex + + + + getTangentAtIndexInterpolated + + + + getVertices + + + + getWrappedIndex + + + + hasChanged + + + + insertVertex + + + + inside + + + + isClosed + + + + lineTo + + + + rbegin + + + + rend + + + + resize + + + + rotateDeg + + + + rotateRad + + + + scale + + + + setClosed + + + + setRightVector + + + + simplify + + + + size + + + + translate + + + + insidePoly + + + + tessellator + + + + TrueTypeFont + + + + drawString + + + + drawStringAsShapes + + + + getAscenderHeight + + + + getCharacterAsPoints + + + + getDescenderHeight + + + + getFirstGlyphPosForTexture + + + + getFontTexture + + + + getGlyphBBox + + + + getLetterSpacing + + + + getLineHeight + + + + getNumCharacters + + + + getSize + + + + getSpaceSize + + + + getStringAsPoints + + + + getStringBoundingBox + + + + getStringMesh + + + + getStringTexture + + + + hasFullCharacterSet + + + + isAntiAliased + + + + isLoaded + + + + isValidGlyph + + + + load + + + + addRange + + + + addRanges + + + + angleDifferenceRadians + + + + bezierPoint + + + + bezierTangent + + + + clamp + + + + curvePoint + + + + curveTangent + + + + degToRad + + + + dist + + + + distSquared + + + + inRange + + + + interpolateCatmullRom + + + + interpolateCosine + + + + interpolateCubic + + + + interpolateHermite + + + + isFloatEqual + + + + lerp + + + + lerpDegrees + + + + lerpRadians + + + + lineSegmentIntersection + + + + map + + + + nextPow2 + + + + noise + + + + normalize + + + + radToDeg + + + + random + + + + randomHeight + + + + randomWidth + + + + randomf + + + + randomuf + + + + seedRandom + + + + sign + + + + signedNoise + + + + wrap + + + + wrapDegrees + + + + wrapRadians + + + + Matrix3x3 + + + + determinant + + + + inverse + + + + invert + + + + Matrix4x4 + + + + decompose + + + + getFrustum + + + + getInverse + + + + getInverseOf + + + + getLookAt + + + + getOrtho + + + + getOrthoNormalOf + + + + getPerspective + + + + getPtr + + + + getRotate + + + + getRowAsVec3f + + + + getRowAsVec4f + + + + getScale + + + + getTranslation + + + + getTransposedOf + + + + glRotate + + + + glRotateRad + + + + glScale + + + + glTranslate + + + + isIdentity + + + + isNaN + + + + isValid + + + + makeFromMultiplicationOf + + + + makeFrustumMatrix + + + + makeIdentityMatrix + + + + makeInvertOf + + + + makeLookAtMatrix + + + + makeLookAtViewMatrix + + + + makeOrtho2DMatrix + + + + makeOrthoMatrix + + + + makeOrthoNormalOf + + + + makePerspectiveMatrix + + + + makeRotationMatrix + + + + makeScaleMatrix + + + + makeTranslationMatrix + + + + newFrustumMatrix + + + + newIdentityMatrix + + + + newLookAtMatrix + + + + newOrtho2DMatrix + + + + newOrthoMatrix + + + + newPerspectiveMatrix + + + + newRotationMatrix + + + + newScaleMatrix + + + + newTranslationMatrix + + + + setRotate + + + + setTranslation + + + + transform3x3 + + + + set + + + + translate + + + + Quaternion + + + + asVec3 + + + + asVec4 + + + + conj + + + + get + + + + getEuler + + + + getRotate + + + + inverse + + + + length + + + + length2 + + + + makeRotate + + + + makeRotate_original + + + + normalize + + + + slerp + + + + zeroRotation + + + + Vec2f + + + + alignRad + + + + angle + + + + angleRad + + + + average + + + + distance + + + + dot + + + + getInterpolated + + + + getLimited + + + + getMiddle + + + + getNormalized + + + + getPerpendicular + + + + getPtr + + + + getRotated + + + + getRotatedRad + + + + getScaled + + + + interpolate + + + + isAligned + + + + isAlignedRad + + + + limit + + + + map + + + + match + + + + middle + + + + normalize + + + + one + + + + zero + + + + Vec3f + + + + alignRad + + + + angle + + + + angleRad + + + + average + + + + cross + + + + distance + + + + dot + + + + getCrossed + + + + getInterpolated + + + + getLimited + + + + getMapped + + + + getMiddle + + + + getNormalized + + + + getPerpendicular + + + + getPtr + + + + getRotated + + + + getRotatedRad + + + + getScaled + + + + interpolate + + + + isAligned + + + + isAlignedRad + + + + limit + + + + map + + + + match + + + + middle + + + + normalize + + + + one + + + + zero + + + + Vec4f + + + + average + + + + distance + + + + dot + + + + getInterpolated + + + + getLimited + + + + getMiddle + + + + getNormalized + + + + getPtr + + + + getScaled + + + + interpolate + + + + lengthSquared + + + + limit + + + + match + + + + middle + + + + normalize + + + + one + + + + squareDistance + + + + zero + + + + SoundBuffer + + + + addTo + + + + allocate + + + + append + + + + clear + + + + copyFrom + + + + copyTo + + + + fillWithNoise + + + + fillWithTone + + + + getBuffer + + + + getChannel + + + + getDeviceID + + + + getDurationMS + + + + getDurationMicros + + + + getDurationNanos + + + + getNumChannels + + + + getNumFrames + + + + getRMSAmplitude + + + + getRMSAmplitudeChannel + + + + getSample + + + + getSampleRate + + + + getTickCount + + + + hermiteResampleTo + + + + linearResampleTo + + + + normalize + + + + setDeviceID + + + + setNumChannels + + + + setSampleRate + + + + setTickCount + + + + size + + + + stereoPan + + + + swap + + + + toShortPCM + + + + trimSilence + + + + SoundPlayer + + + + getPan + + + + getPlayer + + + + getPosition + + + + getPositionMS + + + + getSpeed + + + + getVolume + + + + isLoaded + + + + isPlaying + + + + load + + + + play + + + + setLoop + + + + setMultiPlay + + + + setPan + + + + setPaused + + + + setPlayer + + + + setPosition + + + + setPositionMS + + + + setSpeed + + + + setVolume + + + + stop + + + + unload + + + + color + + + + clamp + + + + fromHex + + + + fromHsb + + + + getBrightness + + + + getClamped + + + + getHex + + + + getHsb + + + + getHue + + + + getHueAngle + + + + getInverted + + + + getLerped + + + + getLightness + + + + getSaturation + + + + invert + + + + lerp + + + + limit + + + + Rectangle + + + + alignTo + + + + alignToHorz + + + + alignToVert + + + + getArea + + + + getAspectRatio + + + + getBottom + + + + getBottomLeft + + + + getBottomRight + + + + getCenter + + + + getHeight + + + + getHorzAnchor + + + + getIntersection + + + + getLeft + + + + getMax + + + + getMaxX + + + + getMaxY + + + + getMin + + + + getMinX + + + + getMinY + + + + getPerimeter + + + + getPosition + + + + getRight + + + + getStandardized + + + + getTop + + + + getTopLeft + + + + getTopRight + + + + getUnion + + + + getVertAnchor + + + + getWidth + + + + getX + + + + getY + + + + growToInclude + + + + inside + + + + intersects + + + + isEmpty + + + + isStandardized + + + + isZero + + + + map + + + + mapClamp + + + + Buffer + + + + allocate + + + + append + + + + clear + + + + getData + + + + getLines + + + + getReverseLines + + + + getText + + + + rbegin + + + + rend + + + + reserve + + + + resize + + + + setall + + + + size + + + + writeTo + + + + Directory + + + + allowExt + + + + canExecute + + + + canRead + + + + canWrite + + + + copyTo + + + + create + + + + createDirectory + + + + doesDirectoryExist + + + + exists + + + + getAbsolutePath + + + + getFile + + + + end + + + + getFiles + + + + getName + + + + getOriginalDirectory + + + + getPath + + + + getShowHidden + + + + getSorted + + + + isDirectory + + + + isDirectoryEmpty + + + + isHidden + + + + listDir + + + + moveTo + + + + openFromCWD + + + + rbegin + + + + remove + + + + removeDirectory + + + + renameTo + + + + rend + + + + reset + + + + setExecutable + + + + setReadable + + + + setShowHidden + + + + setWriteable + + + + size + + + + sort + + + + sortByDate + + + + File + + + + canExecute + + + + canRead + + + + canWrite + + + + changeMode + + + + copyFromTo + + + + copyTo + + + + create + + + + doesFileExist + + + + exists + + + + getAbsolutePath + + + + begin + + + + getBaseName + + + + getEnclosingDirectory + + + + getExtension + + + + getFileBuffer + + + + getFileName + + + + getSize + + + + isDevice + + + + isDirectory + + + + isFile + + + + isHidden + + + + isLink + + + + moveFromTo + + + + moveTo + + + + openFromCWD + + + + bufferFromFile + + + + bufferToFile + + + + Thread + + + + getNativeThread + + + + getThreadId + + + + getThreadName + + + + isCurrentThread + + + + isThreadRunning + + + + lock + + + + setThreadName + + + + sleep + + + + startThread + + + + stopThread + + + + tryLock + + + + unlock + + + + waitForThread + + + + yield + + + + threadChannel + + + + empty + + + + receive + + + + send + + + + tryReceive + + + + clear + + + + getAsync + + + + handleRequest + + + + handleRequestAsync + + + + remove + + + + saveAsync + + + + saveTo + + + + stop + + + + loadURL + + + + loadURLAsync + + + + saveURLAsync + + + + saveURLTo + + + + binaryToChar + + + + binaryToFloat + + + + binaryToInt + + + + binaryToString + + + + contains + + + + find + + + + fromString + + + + getCurrentTime + + + + getDay + + + + getElapsedTimeMicros + + + + getElapsedTimeMillis + + + + getElapsedTimef + + + + getEnv + + + + getFrameNum + + + + getHours + + + + getMinutes + + + + getMonth + + + + getSeconds + + + + getSystemTimeMicros + + + + getSystemTimeMillis + + + + getTargetPlatform + + + + getTimestampString + + + + getUnixTime + + + + getVersionInfo + + + + getVersionMajor + + + + getVersionMinor + + + + getVersionPatch + + + + getVersionPreRelease + + + + getWeekday + + + + getYear + + + + hexToChar + + + + hexToFloat + + + + hexToInt + + + + hexToString + + + + isStringInString + + + + joinString + + + + launchBrowser + + + + randomize + + + + remove + + + + resetElapsedTimeCounter + + + + restoreWorkingDirectoryToDefault + + + + saveFrame + + + + saveScreen + + + + saveViewport + + + + setDataPathRoot + + + + sleepMillis + + + + sort + + + + splitString + + + + stringReplace + + + + stringTimesInString + + + + system + + + + to + + + + toBinary + + + + toBool + + + + toChar + + + + toDataPath + + + + toDouble + + + + toFloat + + + + toHex + + + + toInt + + + + toInt64 + + + + toLower + + + + toString + + + + toUpper + + + + trim + + + + trimBack + + + + trimFront + + + + uTF8Append + + + + uTF8Erase + + + + uTF8Insert + + + + uTF8Length + + + + uTF8Substring + + + + uTF8ToString + + + + vAArgsToString + + + + Xml + + + + appendAttribute + + + + appendChild + + + + find + + + + findFirst + + + + getAttribute + + + + getAttributes + + + + getBoolValue + + + + getChild + + + + getChildren + + + + getDoubleValue + + + + getFirstAttribute + + + + getFirstChild + + + + getFloatValue + + + + getIntValue + + + + getLastAttribute + + + + getLastChild + + + + getName + + + + getNextSibling + + + + getPreviousSibling + + + + getUintValue + + + + getValue + + + + insertChildAfter + + + + insertChildBefore + + + + load + + + + parse + + + + prependAttribute + + + + prependChild + + + + removeChild + + + + setAttribute + + + + setName + + + + toString + + + + deserialize + + + + serialize + + + + bind + + + + getGrabber + + + + getHeight + + + + getPixelFormat + + + + getPixels + + + + getTexture + + + + getTexturePlanes + + + + getWidth + + + + VideoGrabber + + + + initGrabber + + + + isFrameNew + + + + isInitialized + + + + isUsingTexture + + + + listDevices + + + + setAnchorPoint + + + + setDesiredFrameRate + + + + setDeviceID + + + + setGrabber + + + + setPixelFormat + + + + setUseTexture + + + + setVerbose + + + + unbind + + + + VideoPlayer + + + + bind + + + + closeMovie + + + + firstFrame + + + + getCurrentFrame + + + + getDuration + + + + getHeight + + + + getIsMovieDone + + + + getLoopState + + + + getMoviePath + + + + getPixelFormat + + + + getPixels + + + + getPlayer + + + + getPosition + + + + getSpeed + + + + getTexture + + + + getTexturePlanes + + + + getTotalNumFrames + + + + getWidth + + + + isFrameNew + + + + isInitialized + + + + isLoaded + + + + isPaused + + + + isPlaying + + + + isUsingTexture + + + + load + + + + loadAsync + + + + nextFrame + + + + play + + + + previousFrame + + + + setAnchorPoint + + + + setFrame + + + + setLoopState + + + + setPaused + + + + setPixelFormat + + + + setPlayer + + + + setPosition + + + + setSpeed + + + + setUseTexture + + + + setVolume + + + + stop + + + + ofxAssimpAnimation + + + + getAnimation + + + + getDurationInMilliSeconds + + + + getDurationInSeconds + + + + getPosition + + + + getPositionInMilliSeconds + + + + getPositionInSeconds + + + + getSpeed + + + + isFinished + + + + isFrameNew + + + + isPaused + + + + isPlaying + + + + play + + + + reset + + + + setLoopState + + + + setPaused + + + + setPosition + + + + setSpeed + + + + stop + + + + ofxAssimpModelLoader + + + + calculateDimensions + + + + clear + + + + createEmptyModel + + + + createLightsFromAiModel + + + + disableColors + + + + disableMaterials + + + + disableNormals + + + + disableTextures + + + + drawFaces + + + + drawVertices + + + + drawWireframe + + + + enableColors + + + + enableMaterials + + + + enableNormals + + + + enableTextures + + + + getAnimation + + + + getAnimationCount + + + + getAssimpScene + + + + getCurrentAnimatedMesh + + + + getMaterialForMesh + + + + getMesh + + + + getMeshCount + + + + getMeshHelper + + + + getMeshNames + + + + getModelMatrix + + + + getNormalizedScale + + + + getNumMeshes + + + + getNumRotations + + + + getPosition + + + + getRotationAngle + + + + getRotationAxis + + + + getScale + + + + getSceneCenter + + + + getSceneMax + + + + getSceneMin + + + + getTextureForMesh + + + + hasAnimations + + + + hasMeshes + + + + loadModel + + + + optimizeScene + + + + playAllAnimations + + + + resetAllAnimations + + + + setLoopStateForAllAnimations + + + + setNormalizationFactor + + + + setPausedForAllAnimations + + + + setPosition + + + + setPositionForAllAnimations + + + + setRotation + + + + setScale + + + + setScaleNormalization + + + + stopAllAnimations + + + + ofxBaseGui + + + + getBackgroundColor + + + + getBorderColor + + + + getFillColor + + + + getHeaderBackgroundColor + + + + getHeight + + + + getName + + + + getParameter + + + + getParent + + + + getPosition + + + + getShape + + + + getTextColor + + + + getWidth + + + + loadFont + + + + loadFrom + + + + loadFromFile + + + + mouseDragged + + + + mouseEntered + + + + mouseExited + + + + registerMouseEvents + + + + saveTo + + + + saveToFile + + + setDefaultHeight + + + + setDefaultTextColor + + + + setDefaultTextPadding + + + + setDefaultWidth + + + + setFillColor + + + + setName + + + + setParent + + + + setPosition + + + + setShape + + + + setSize + + + + setTextColor + + + + setUseTTF + + + + sizeChangedCB + + + + unregisterMouseEvents + + + + ofxButton + + + + addListener + + + + getParameter + + + + mouseDragged + + + + removeListener + + + + ofxColorPicker + + + + getColorAngle + + + + getColorRadius + + + + getColorScale + + + + getParameter + + + + setColorAngle + + + + setColorRadius + + + + setColorScale + + + + setShape + + + + ofxColorSlider + + + + getParameter + + + + add + + + + clear + + + + getButton + + + + align + + + + getControl + + + + getControlNames + + + + getFloatSlider + + + + getGroup + + + + getIntSlider + + + + getNumControls + + + + getParameter + + + + getToggle + + + + isMinimized + + + + maximize + + + + maximizeAll + + + + minimize + + + + minimizeAll + + + + mouseDragged + + + + setPosition + + + + setWidthElements + + + + sizeChangedCB + + + + addListener + + + + charPressed + + + + containsValidValue + + + + getMax + + + + getMin + + + + getParameter + + + + mouseDragged + + + + removeListener + + + + setBlinkingCursor + + + + setMax + + + + setMin + + + + setShowLabelWhileEditing + + + + addListener + + + + getParameter + + + + mouseDragged + + + + removeListener + + + + addListener + + + + getMax + + + + getMin + + + + getParameter + + + + mouseDragged + + + + removeListener + + + + setMax + + + + setMin + + + + setPosition + + + + setShape + + + + setSize + + + + setUpdateOnReleaseOnly + + + + addListener + + + + getParameter + + + + mouseDragged + + + + removeListener + + + + getParameter + + + + ofxKinect + + + + clear + + + + drawDepth + + + + enableDepthNearValueWhite + + + + getAccelPitch + + + + getAccelRoll + + + + getColorAt + + + + getCurrentCameraTiltAngle + + + + getDepthPixels + + + + getDepthPixelsRef + + + + getDepthTextureReference + + + + getDeviceId + + + + getDistanceAt + + + + getDistancePixels + + + + getDistancePixelsRef + + + + getFarClipping + + + + getHeight + + + + getMksAccel + + + + getNearClipping + + + + getPixels + + + + getPixelsRef + + + + getRawAccel + + + + getRawDepthPixels + + + + getRawDepthPixelsRef + + + + getSensorCameraDistance + + + + getSensorEmitterDistance + + + + getSerial + + + + getTargetCameraTiltAngle + + + + getTextureReference + + + + getWidth + + + + getWorldCoordinateAt + + + + getZeroPlaneDistance + + + + getZeroPlanePixelSize + + + + hasAccelControl + + + + hasCamTiltControl + + + + hasLedControl + + + + init + + + + isConnected + + + + isDepthNearValueWhite + + + + isDeviceConnected + + + + isFrameNew + + + + isFrameNewDepth + + + + isFrameNewVideo + + + + listDevices + + + + nextAvailableId + + + + nextAvailableSerial + + + + numAvailableDevices + + + + numConnectedDevices + + + + numTotalDevices + + + + setCameraTiltAngle + + + + setDepthClipping + + + + setLed + + + + setRegistration + + + + open + + + + setUseTexture + + + + ofxTCPClient + + + + getIP + + + + getNumReceivedBytes + + + + getPort + + + + isConnected + + + + peekReceiveRawBytes + + + + receive + + + + receiveRaw + + + + receiveRawBytes + + + + receiveRawMsg + + + + send + + + + sendRaw + + + + sendRawBytes + + + + sendRawMsg + + + + setMessageDelimiter + + + + setVerbose + + + + threadedFunction + + + + ofxTCPServer + + + + disconnectAllClients + + + + disconnectClient + + + + getClientIP + + + + getClientPort + + + + getLastID + + + + getNumClients + + + + getNumReceivedBytes + + + + getPort + + + + isClientConnected + + + + isConnected + + + + peekReceiveRawBytes + + + + close + + + + receive + + + + receiveRawBytes + + + + receiveRawMsg + + + + sendRawBytes + + + + sendRawBytesToAll + + + + sendRawMsg + + + + sendRawMsgToAll + + + + sendToAll + + + + setMessageDelimiter + + + + setVerbose + + + + waitConnectedClient + + + + ofxTCPSettings + + + + ofxUDPManager + + + + Bind + + + + BindMcast + + + + Close + + + + Connect + + + + ConnectMcast + + + + Create + + + + GetListenAddr + + + + GetMaxMsgSize + + + + GetReceiveBufferSize + + + + GetRemoteAddr + + + + GetSendBufferSize + + + + GetTTL + + + + GetTimeoutReceive + + + + GetTimeoutSend + + + + HasSocket + + + + PeekReceive + + + + Receive + + + + Send + + + + SendAll + + + + SetEnableBroadcast + + + + SetNonBlocking + + + + SetReceiveBufferSize + + + + SetReuseAddress + + + + SetSendBufferSize + + + + SetTTL + + + + SetTimeoutReceive + + + + SetTimeoutSend + + + + Setup + + + + receiveOn + + + + sendTo + + + + ofxCvBlob + + + + ofxCvColorImage + + + + clear + + + + contrastStretch + + + + convertHsvToRgb + + + + convertRgbToHsv + + + + convertToGrayscalePlanarImage + + + + convertToGrayscalePlanarImages + + + + convertToRange + + + + ofxCvContourFinder + + + + findContours + + + + getHeight + + + + getWidth + + + + resetAnchor + + + + setAnchorPercent + + + + setAnchorPoint + + + + ofxCvFloatImage + + + + addWeighted + + + + clear + + + + contrastStretch + + + + convertToRange + + + + flagImageChanged + + + + getFloatPixelsRef + + + + getNativeScaleMax + + + + getNativeScaleMin + + + + getPixelsAsFloats + + + + getRoiFloatPixelsRef + + + + getRoiPixelsAsFloats + + + + ofxCvGrayscaleImage + + + + absDiff + + + + adaptiveThreshold + + + + blurHeavily + + + + brightnessContrast + + + + contrastStretch + + + + convertToRange + + + + dilate_3x3 + + + + erode_3x3 + + + + setScaleHaar + + + + ofxCvImage + + + + allocate + + + + blur + + + + blurGaussian + + + + clear + + + + contrastStretch + + + + convertToRange + + + + countNonZeroInRegion + + + + dilate + + + + drawBlobIntoMe + + + + drawROI + + + + erode + + + + flagImageChanged + + + + getCvImage + + + + getHeight + + + + getIntersectionROI + + + + getPixels + + + + getROI + + + + getRoiPixels + + + + getTexture + + + + getWidth + + + + invert + + + + isUsingTexture + + + + mirror + + + + ofxCvShortImage + + + + addWeighted + + + + clear + + + + contrastStretch + + + + convertToRange + + + + flagImageChanged + + + + getRoiShortPixelsRef + + + + getShortPixelsRef + + + + ofxOscArgBlob + + + + getType + + + + getTypeName + + + + ofxOscArgBool + + + + getType + + + + getTypeName + + + + ofxOscArgChar + + + + getType + + + + getTypeName + + + + ofxOscArgDouble + + + + getType + + + + getTypeName + + + + ofxOscArgInt + + + + ofxOscArgMidiMessage + + + + getType + + + + getTypeName + + + + ofxOscArgNone + + + + getType + + + + getTypeName + + + + ofxOscArgRgbaColor + + + + getType + + + + getTypeName + + + + ofxOscArgSymbol + + + + getType + + + + getTypeName + + + + ofxOscArgTimetag + + + + getType + + + + getTypeName + + + + ofxOscArgTrigger + + + + getType + + + + getTypeName + + + + ofxOscBundle + + + + addBundle + + + + addMessage + + + + clear + + + + copy + + + + getBundleAt + + + + getBundleCount + + + + getMessageAt + + + + getMessageCount + + + + ofxOscMessage + + + + addBlobArg + + + + addBoolArg + + + + addCharArg + + + + addDoubleArg + + + + addFloatArg + + + + addImpulseArg + + + + addInfinitumArg + + + + addInt32Arg + + + + addInt64Arg + + + + addIntArg + + + + addMidiMessageArg + + + + addNoneArg + + + + addRgbaColorArg + + + + addStringArg + + + + addSymbolArg + + + + addTimetagArg + + + + addTriggerArg + + + + clear + + + + copy + + + + getAddress + + + + getArgAsBlob + + + + getArgAsBool + + + + getArgAsChar + + + + getArgAsDouble + + + + getArgAsFloat + + + + getArgAsImpulse + + + + getArgAsInfinitum + + + + getArgAsInt + + + + getArgAsInt32 + + + + getArgAsInt64 + + + + getArgAsMidiMessage + + + + getArgAsNone + + + + getArgAsRgbaColor + + + + getArgAsString + + + + getArgAsSymbol + + + + getArgAsTimetag + + + + getArgAsTrigger + + + + getArgType + + + + getArgTypeName + + + + getNumArgs + + + + getRemoteHost + + + + getRemotePort + + + + getTypeString + + + + ofxOscParameterSync + + + + ofxOscReceiver + + + + copy + + + + getNextMessage + + + + getParameter + + + + getPort + + + + getSettings + + + + hasWaitingMessages + + + + isListening + + + + clear + + + + copy + + + + getHost + + + + getPort + + + + getSettings + + + + getHeight + + + + getNumPath + + + + getPathAt + + + + getPaths + + + + getWidth + + + + load + + + + ofxThreadedImageLoader + + + + loadFromDisk + + + + loadFromURL + + + + ofxXmlSettings + + + + addAttribute + + + + addTag + + + + addValue + + + + attributeExists + + + + clear + + + + clearTagAttributes + + + + clearTagContents + + + + copyXmlToString + + + + getAttribute + + + + getAttributeNames + + + + getNumAttributes + + + + getNumTags + + + + getPushLevel + + + + getValue + + + + load + + + + loadFile + + + + loadFromBuffer + + + + popTag + + + + pushTag + + + + removeAttribute + + + + removeTag + + + + saveFile + + + + setAttribute + + + + setValue + + + + tagExists + + + + deserialize + + + + serialize + + diff --git a/src/TextEditor.cpp b/src/TextEditor.cpp index aa091ac..5f3f9fc 100755 --- a/src/TextEditor.cpp +++ b/src/TextEditor.cpp @@ -1153,7 +1153,7 @@ void TextEditor::Render(const char* aTitle, const ImVec2& aSize, bool aBorder) mWithinRender = false; } -void TextEditor::SetText(const std::string & aText) +void TextEditor::SetText(const std::string & aText, bool scroll2Top) { mLines.clear(); mLines.emplace_back(Line()); @@ -1172,7 +1172,7 @@ void TextEditor::SetText(const std::string & aText) } mTextChanged = true; - mScrollToTop = true; + mScrollToTop = scroll2Top; mUndoBuffer.clear(); mUndoIndex = 0; diff --git a/src/TextEditor.h b/src/TextEditor.h index c036948..aa1e51e 100755 --- a/src/TextEditor.h +++ b/src/TextEditor.h @@ -205,7 +205,7 @@ class TextEditor void SetBreakpoints(const Breakpoints& aMarkers) { mBreakpoints = aMarkers; } void Render(const char* aTitle, const ImVec2& aSize = ImVec2(), bool aBorder = false); - void SetText(const std::string& aText); + void SetText(const std::string& aText, bool scroll2Top = true); std::string GetText() const; void SetTextLines(const std::vector& aLines); diff --git a/src/ofApp.cpp b/src/ofApp.cpp index 737982d..790654d 100644 --- a/src/ofApp.cpp +++ b/src/ofApp.cpp @@ -190,8 +190,6 @@ void ofApp::setup(){ isInternetAvailable = checkInternetReachability(); - checkIfAtomIsInstalled(); - takeScreenshot = false; saveNewScreenshot = false; lastScreenshot = ""; @@ -539,19 +537,18 @@ void ofApp::drawImGuiInterface(){ if (ImGui::BeginMenuBar()){ if (ImGui::BeginMenu("File")){ - if (ImGui::MenuItem("Save")){ + if (ImGui::MenuItem("Save/Reload",ofToString(shortcutFunc+"+R").c_str())){ filesystem::path tempPath(editedFilesPaths[actualCodeEditor].c_str()); ofBuffer buff; buff.set(codeEditors[editedFilesNames[actualCodeEditor]].GetText()); ofBufferToFile(tempPath,buff,false); - } ImGui::EndMenu(); } if (ImGui::BeginMenu("Edit")){ - if (ImGui::MenuItem("Undo", "ALT-Backspace", nullptr, codeEditors[editedFilesNames[actualCodeEditor]].CanUndo())) + if (ImGui::MenuItem("Undo", ofToString(shortcutFunc+"+Z").c_str(), nullptr, codeEditors[editedFilesNames[actualCodeEditor]].CanUndo())) codeEditors[editedFilesNames[actualCodeEditor]].Undo(); if (ImGui::MenuItem("Redo", ofToString(shortcutFunc+"+Y").c_str(), nullptr, codeEditors[editedFilesNames[actualCodeEditor]].CanRedo())) codeEditors[editedFilesNames[actualCodeEditor]].Redo(); @@ -699,6 +696,11 @@ void ofApp::keyPressed(ofKeyEventArgs &e){ visualProgramming->openLastPatch(); }else if(e.hasModifier(MOD_KEY) && e.keycode == 83){ visualProgramming->fileDialog.saveFile("save patch","Save Mosaic patch as","mosaicPatch_"+ofGetTimestampString("%y%m%d")+".xml"); + }else if(e.hasModifier(MOD_KEY) && e.keycode == 82){ + filesystem::path tempPath(editedFilesPaths[actualCodeEditor].c_str()); + ofBuffer buff; + buff.set(codeEditors[editedFilesNames[actualCodeEditor]].GetText()); + ofBufferToFile(tempPath,buff,false); }else if(e.hasModifier(MOD_KEY) && e.keycode == 84){ takeScreenshot = true; }else if(e.hasModifier(MOD_KEY) && !e.hasModifier(OF_KEY_SHIFT) && e.keycode == 68){ @@ -896,7 +898,7 @@ void ofApp::pathChanged(const PathWatcher::Event &event) { break; case PathWatcher::MODIFIED: //ofLogVerbose(PACKAGE) << "path modified " << event.path; - codeEditors[tempfile.getFileName()].SetText(tempcontent.getText()); + codeEditors[tempfile.getFileName()].SetText(tempcontent.getText(),false); break; case PathWatcher::DELETED: //ofLogVerbose(PACKAGE) << "path deleted " << event.path; @@ -1110,46 +1112,6 @@ void ofApp::checkForUpdates(){ } -//-------------------------------------------------------------- -void ofApp::checkIfAtomIsInstalled(){ - string cmd = ""; - FILE *execFile; - string output = ""; -#ifdef TARGET_WIN32 - cmd = "Powershell.exe -File check_atom.ps1"; - execFile = _popen(cmd.c_str(), "r"); -#elif defined(TARGET_OSX) - cmd = "ls /Applications/ | grep -i Atom"; - execFile = popen(cmd.c_str(), "r"); -#elif defined(TARGET_LINUX) - cmd = "which atom"; - execFile = popen(cmd.c_str(), "r"); -#endif - - if (execFile){ - char buffer[128]; - if(fgets(buffer, sizeof(buffer), execFile) != nullptr){ - char *s = buffer; - std::string tempstr(s); - output = tempstr; - } - - output.pop_back(); - -#ifdef TARGET_LINUX - pclose(execFile); -#elif defined(TARGET_OSX) - pclose(execFile); -#elif defined(TARGET_OSX) - _pclose(execFile); -#endif - - if(output == ""){ - ofLog(OF_LOG_NOTICE,"Atom Editor is not installed! For a proper Mosaic interaction, please install Atom Editor - https://atom.io/"); - } - } -} - //-------------------------------------------------------------- void ofApp::createDirectoryNode(ofFile file){ if(file.isDirectory()){ @@ -1279,31 +1241,29 @@ void ofApp::initScriptLanguages(){ luaLang.mPreprocIdentifiers.insert(std::make_pair(std::string(lua_mosaic_keywords[i]), id)); } - static const char* const lua_of_identifiers[] = { - "of", "setup", "update", "draw", "keyPressed", "keyReleased", "mouseMoved", "mouseDragged", "mouseReleased", "mouseScrolled", - "mosaicBackground", "checkMosaicDataInlet", "getMosaicDataInletSize", - "background","setColor", "drawRectangle" - }; - static const char* const lua_mosaic_identifiers_decl[] = { - "","The initialize standard function. This run 1 TIME ONLY at script startup!","The update thread run in loop till the script is closed. Use it for all your general code routines.", - "The draw thread, as the update, run in loop till the script is closed. Use it for your drawing routines.", "", "", "", "", "", "", "Use this method to draw a transparent background.\n\nmosaicBackground(int red, int green, int blue, int alpha)", - "Mosaic internal method", "Mosaic internal method", "Use this to draw a simple background with the specified color (0 - 255) .\n\nof.background(int grayscale)\nof.background(int red, int green, int blue)", - "Use this method to set the color (0 - 255) of the next drawing.\n\nof.setColor(int grayscale)\nof.setColor(int red, int green, int blue)", - "Use this method to draw a rectangle.\n\nof.drawRectangle(float x, float y, float width, float height)" - }; - for (int i = 0; i < sizeof(lua_of_identifiers) / sizeof(lua_of_identifiers[0]); ++i){ - TextEditor::Identifier id; - id.mDeclaration = lua_mosaic_identifiers_decl[i]; - luaLang.mIdentifiers.insert(std::make_pair(std::string(lua_of_identifiers[i]), id)); + ofxXmlSettings XML; + + if (XML.loadFile("livecoding/lua_mosaic_language.xml")){ + int totalMethods = XML.getNumTags("method"); + + // Load all the lua_of_mosaic methods + for(int i=0;i