PARAMATE PLATFORM
HOME
TECHNOLOGY
REASONS FOR PARAMATE
DEMOS
CASE STUDIES
DOCUMENTATION
WHAT IS PARAMATE
GETTING STARTED
TUTORIALS AND EXAMPLES
DOCUMENTATION FOR COMPONENTS
COMPONENTS OVERVIEW
JS API
HTTP API
AUTHENTICATION LAYER
CAD SYSTEMS
VISUALIZATION SYSTEM
CONFIGURATOR MANAGER PMAN
FORUM
TRCAD
ADMIN
Contents
paramate JavaScript API
Resources
Launching a Configurator
Controls
Auto-Generated Controls
Manually Generated Controls
Viewport and Camera
User-Defined Events
Configurator Functions
Configurator Constructor
initialize
getToken
getObjectInfo
getParams
getScene
configure
getRendererModel
getRendererFile
getRenderUrl
getModelUrl
getFinalizedModelUrl
uploadFile
getFile
deleteFile
saveSession
restoreSession
getParamValue
setParamValue
getParamAttrValue
paramExists
reset
parseVector
vectorToParam
parseRay
rayToParam
colorParamToHexColor
hexColorToColorParam
Viewport Functions
Viewport Constructor
Mat44Vec3
Mat44Mat44
CrossProd3
Norm3
Normalize3
ScalarProd3
Dist3
RotMatrix44
RotMatrix44VecToVec
updateViewport
changeViewportStyle
replaceViewportEvent
resetViewportEvent
redraw
autoPosCamera
setCameraReset
resetCamera
cameraGetX
cameraGetY
cameraGetRayToViewportPoint
setCamera
getViewportWidth
getViewportHeight
setWaitAnim
getWaitAnim
setCameraOrbit
getCameraOrbit
setCameraShift
getCameraShift
setCameraDolly
getCameraDolly
setCameraPan
getCameraPan
setCameraZoom
getCameraZoom
setCameraAutoPos
getCameraAutoPos
getCameraParams
addCameraEvent
removeCameraEvent
dollyCamera
shiftCamera
rotateCamera
startCameraRotation
stopCameraRotation
moveCamera
getImageDataUrl
orbitCamera
Viewport Constructor (WebGL)
Internal
Configurator Functions
doRequest
startConfigSession
renderBlob
getModel
getFinalizedModel
Viewport Functions
addEvent
removeEvents
initViewportElmt
initViewportEvents
showWaitAnim
hideWaitAnim
viewportEventHandler
registerViewportControl
deregisterViewportControl
drawControls
cameraEventTouchStart
cameraEventTouchMove
cameraEventTouchEnd
cameraEventMouseDown
cameraEventMouseUp
cameraEventMouseOut
cameraEventMouseMove
cameraEventMouseWheel
viewportProcessOrbitStart
viewportProcessOrbitStop
viewportProcessOrbitDrag
viewportProcessShiftStart
viewportProcessShiftStop
viewportProcessShiftDrag
viewportProcessTouchDollyStart
viewportProcessDollyStartOrStep
viewportProcessDollyRoll
viewportProcessPanStart
viewportProcessPanStop
viewportProcessPanDrag
viewportProcessTouchZoomStart
viewportProcessZoomStartOrStep
viewportProcessDollyOrZoomStop
ensureValidTurntableCamPos
updateCamOnObjectInfoChange
startDrawTurquoiseBox
stopDrawTurquoiseBox
initTurquoiseBox
clearTurquoiseBox
redrawTurquoiseBox
moveCameraStep
initialize
updateObjectInfo
startModelAnimation
requestRedraw
nextAnimationFrame
stopModelAnimation
redrawWebGLFrame
reloadModel
showWaitAnim
Turns on the wait animation
Signatures
Paramate.Viewport.showWaitAnim()