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
Error Handling
GUI Controls
GUI Controls Initialization
GUI Controls User Events
TransformGizmo Control
TransformPoint Control
TransformRay Control
Configurator
Constructors
Functions
Configurator Constructor
Configurator Management
Functions
configure
getFinalizedModelUrl
getLog
getModelUrl
getObjectInfo
getRendererFile
getRendererModel
getRenderUrl
getScene
getToken
initialize
reset
Parameters
Functions
getParamAttrValue
getParams
getParamValue
paramExists
setParamValue
Session Files
Functions
deleteFile
getFile
uploadFile
Session State Restoration
Functions
redo
restoreSession
saveSession
undo
Data Type Handling
Functions
colorParamToHexColor
deserializeCurve
deserializeCurveArr1D
deserializeHexColor
deserializeMatrix44
deserializeMatrix44Arr1D
deserializeRay
deserializeRayArr1D
deserializeVector
deserializeVectorArr1D
deserializeVectorArr2D
hexColorToColorParam
parseRay
parseVector
rayToParam
serializeCurve
serializeCurveArr1D
serializeHexColor
serializeMatrix44
serializeMatrix44Arr1D
serializeRay
serializeRayArr1D
serializeVector
serializeVectorArr1D
serializeVectorArr2D
vectorToParam
Viewport
Constructors
Constructors
Viewport Constructor
Viewport Constructor (WebGL)
Viewport Management
Functions
getWaitAnim
redraw
setWaitAnim
HTML Canvas
Functions
changeViewportStyle
getViewportHeight
getViewportWidth
updateViewport
Event Handling
Functions
addCameraEvent
removeCameraEvent
replaceViewportEvent
resetViewportEvent
Camera Management
Functions
getCameraAutoPos
getCameraDolly
getCameraOrbit
getCameraPan
getCameraParams
getCameraShift
getCameraZoom
getImageDataUrl
setCameraAutoPos
setCameraDolly
setCameraOrbit
setCameraPan
setCameraReset
setCameraShift
setCameraZoom
Camera Control
Functions
autoPosCamera
dollyCamera
orbitCamera
resetCamera
rotateCamera
setCamera
shiftCamera
Camera Animation
Functions
moveCamera
startCameraRotation
stopCameraRotation
3D Space
Functions
cameraGetRayToViewportPoint
cameraGetX
cameraGetY
GUI Controls Common
Event Handling
Functions
addKeyDownEvent
addKeyUpEvent
clearCallbacks
dispose
getCallbacks
mouseDown
mouseMove
mouseUp
removeKeyDownEvent
removeKeyUpEvent
setCallbacks
Controls Management
Functions
addFontStyle
addInfoElement
addLabel
addLineStyle
addPointStyle
changeInfoElementStyle
clearInfoText
deselect
draw
hide
isSelected
removeFontStyle
removeLabel
removeLineStyle
removePointStyle
setInfoText
show
toggleInfoElement
update
viewportPosOnControl
Object Accessors
Computed Props
fillStyles (getter)
fillStyles (setter)
fontStyles (getter)
fontStyles (setter)
keyDownEventList
keyUpEventList
lineStyles (getter)
lineStyles (setter)
offset (getter)
offset (setter)
pointStyles (getter)
pointStyles (setter)
Math3D
Functions
compare3
crossProd3
diff3
dist3
invMat44
mat44Mat44
mat44Vec3
norm3
normalize3
normSq3
prod3
rotMat44
rotMat44VecToVec
scalarProd3
sum3
paramate Data Types
Data Types
Curve
Matrix44
Ray
Vector3
TransformGizmo
Constructors
Functions
TransformGizmo Constructor
Controls Management
Functions
deselect
deselectHandles
deselectOrigins
getAnglesAtIndex
getHandleSelectedAtIndex
getRotationAngles
getRotationAtIndex
getScaleAtIndex
getSelectedAtIndex
getTranslationAtIndex
getVisibleAtIndex
reset
rotateOnInputChange
scaleOnInputChange
scaleUniformOnInputChange
setRotationVisible
setScaleVisible
setSelectedAll
setSelectedAtIndex
setSelectedOne
setTranslationVisible
setVisibleAll
setVisibleAtIndex
setVisibleOne
translateOnInputChange
Object Accessors
Computed Props
angles (getter)
mode (getter)
mode (setter)
scale (getter)
size (getter)
size (setter)
space (getter)
space (setter)
TransformPoint
Constructors
Functions
TransformPoint Constructor
Controls Management
Functions
deselect
Object Accessors
Computed Props
getSelectedAtIndex (getter)
getVisibleAtIndex (getter)
paramNamePosition (getter)
paramNamePosition (setter)
positions (getter)
positions (setter)
setSelectedAll (setter)
setSelectedAtIndex (setter)
setSelectedOne (setter)
setVisibleAll (setter)
setVisibleAtIndex (setter)
setVisibleOne (setter)
TransformRay
Constructors
Functions
TransformRay Constructor
Controls Management
Functions
addRay
deselect
getCameraRay
Object Accessors
Computed Props
getSelectedAtIndex (getter)
getVisibleAtIndex (getter)
paramNamePosition (getter)
paramNamePosition (setter)
paramNameRay
paramNameRay (setter)
positions (getter)
positions (setter)
setSelectedAll (setter)
setSelectedAtIndex (setter)
setSelectedOne (setter)
setVisibleAll (setter)
setVisibleAtIndex (setter)
setVisibleOne (setter)
reset
Reset gizmo controls to the default values.
Signatures
GUIControls.TransformGizmo.reset()