API Documentation

Exposed functions

This is a list of the exposed 3DHOP functions with a brief description; to know more on their parameters, just click on any of them.

3DHOP object related native functions:

  • animateToTrackballPosition(position)-set a new position for the used trackball and animate the camera from the current point of view to the new setted;
    Parametersposition[array] : the spatial coordinates of the trackball (the number of values may varying depending on the used trackball);
  • enableLightTrackball(state)-enable or disable the 3D scene trackball interactive lighting control;
    Parametersstate[boolean] : true to enable, false to disable (light trackball is disabled by default);
  • enableMeasurementTool(state)-enable or disable the 3D scene interactive measurement tool;
    Parametersstate[boolean] : true to enable, false to disable (measurement tool is disabled by default);
  • enableOnHover(state)-enable or disable the visual effects (spots transparency and mouse cursor changes) related to the movement of the mouse pointer onto a mesh in the 3D scene.
    Parametersstate[boolean] : true to enable, false to disable (on hover effects are disabled by default). Visual effects activation could decreases performance on slower systems;
  • enablePickpointMode(state)-enable or disable the 3D scene interactive point picking mode;
    Parametersstate[boolean] : true to enable, false to disable (point picking mode is disabled by default);
  • getClippingRendermode()return the current rendering setup of the sectioning tool (sectioning planes and edges visibility state, edges size and color values);
    Returns-[array] : the 4-dimensional array containing the sectioning tool setup values: sectioning planes visibility (true if rendered, false if not), sectioning edges visibility (true if rendered, false if not), sectioning edges size value (express in scene space absolute value), sectioning edges color 3-dimensional array (express in RGB arithmetic notation, from 0 to 1, with any fractional value in between);
  • getClippingX()return the current operating state of the sectioning plane along the X axis;
    Returns-[number] : the operating state of the sectioning plane along the X axis: 0 if disabled, 1 if enabled (splitting the 3D scene along the X axis, cutting out the clippable instances on the positive side of the intersection), and -1 also if enabled (again splitting the 3D scene along the X axis, but this time cutting out the clippable instances on the negative side of the intersection);
  • getClippingY()return the current operating state of the sectioning plane along the Y axis;
    Returns-[number] : the operating state of the sectioning plane along the Y axis: 0 if disabled, 1 if enabled (splitting the 3D scene along the Y axis, cutting out the clippable instances on the positive side of the intersection), and -1 also if enabled (again splitting the 3D scene along the Y axis, but this time cutting out the clippable instances on the negative side of the intersection);
  • getClippingZ()return the current operating state of the sectioning plane along the Z axis;
    Returns-[number] : the operating state of the sectioning plane along the Z axis: 0 if disabled, 1 if enabled (splitting the 3D scene along the Z axis, cutting out the clippable instances on the positive side of the intersection), and -1 also if enabled (again splitting the 3D scene along the Z axis, but this time cutting out the clippable instances on the negative side of the intersection);
  • getTrackballPosition()return the current position of the used trackball;
    Returns-[array] : the spatial coordinates of the trackball (the number of values may vary depending on the used trackball);
  • isAnyMeasurementEnabled()return the activation status of the 3D scene interactive measurement tools (measurement tool and point picking mode);
    Returns-[boolean] : true if enabled, false if disabled. The function returns true if at least one of all the measurement tool is enabled;
  • isInstanceVisibilityEnabled(tag)return the visibility status in the 3D scene of the model instance specified by tag;
    Parameterstag[string] : the tag keyword specified in the "tags" field of "modelInstance" (in "setScene") that refers the instance of the model on which the visibility command acts. Accepts the constant value "HOP_ALL" too (without quotes) that refers all the models instances ("HOP_ALL is the default tag value");
    Returns-[boolean] : true if visible, false if not visible. If tag is "HOP_ALL" the function returns true if at least one of all the instances is visible;
  • isInstanceVisibilityEnabledByName(name)return the visibility status in the 3D scene of the model instance specified by name;
    Parametersname[string] : the instance name specified in "modelInstance" (in "setScene") that refers the instance of the model on which the visibility command acts. Accepts the constant value "HOP_ALL" too (without quotes) that refers all the models instances ("HOP_ALL is the default name value");
    Returns-[boolean] : true if visible, false if not visible. If name is "HOP_ALL" the function returns true if at least one of all the instances is visible;
  • isLightTrackballEnabled()return the activation status of the 3D scene trackball interactive lighting control;
    Returns-[boolean] : true if enabled, false if disabled;
  • isMeasurementToolEnabled()return the activation status of the 3D scene interactive measurement tool;
    Returns-[boolean] : true if enabled, false if disabled;
  • isPickpointModeEnabled()return the activation status of the 3D scene interactive point picking mode;
    Returns-[boolean] : true if enabled, false if disabled;
  • isSpotVisibilityEnabled(tag)return the visibility status in the 3D scene of the hot spot instance specified by tag;
    Parameterstag[string] : the tag keyword specified in the "tags" field of "spots" (in "setScene") that refers the instance of the hot spot on which the visibility command acts. Accepts the constant value "HOP_ALL" too (without quotes) that refers all the hot spots instances ("HOP_ALL is the default tag value");
    Returns-[boolean] : true if visible, false if not visible. If tag is "HOP_ALL" the function returns true if at least one of all the instances is visible;
  • isSpotVisibilityEnabledByName(name)return the visibility status in the 3D scene of the hot spot instance specified by name;
    Parametersname[string] : the instance name specified in "spots" (in "setScene") that refers the instance of the hot spot on which the visibility command acts. Accepts the constant value "HOP_ALL" too (without quotes) that refers all the hot spots instances ("HOP_ALL is the default name value");
    Returns-[boolean] : true if visible, false if not visible. If name is "HOP_ALL" the function returns true if at least one of all the instances is visible;
  • isOnHoverEnabled()return the activation status of the visual effects (spots transparency and mouse cursor changes) related to the movement of the mouse pointer onto a mesh in the 3D scene;
    Returns-[boolean] : true if enabled, false if disabled;
  • repaint()redraw the 3D scene;
  • resetClippingXYZ()-reset both the position and the operating state of the sectioning planes along the X, Y and Z axes to the initial setting;
  • resetTrackball()-reset both the position and light control trackballs to the initial setting;
  • rotateLight(x, y)-rotate the 3D scene light trackball;
    Parametersx[number] : the amount of displacement along the x-axis (accepts values ranging from -0.5 to 0.5);
    y[number] : the amount of displacement along the y-axis (accepts values ranging from -0.5 to 0.5);
  • setCameraPerspective()-set the camera type to perspective projection mode;
  • setCameraOrthographic()-set the camera type to orthographic projection mode;
  • setCenterModeFirst()-set the virtual scene center in the barycenter of its first declared model instance;
  • setCenterModeScene()-set the virtual scene center in the barycenter of all model instances which compose the scene;
  • setCenterModeSpecific(name)-set the virtual scene center in the barycenter of the specified model instance;
    Parametersname[string] : the instance name specified in "modelInstance" (in "setScene") that refers the instance of the model on which the scene will be centered;
  • setCenterModeExplicit(point)-set the virtual scene center in the specified spatial coordinates;
    Parameterspoint[array] : the 3-dimensional array containing the point spatial coordinates in vector notation (express in scene space absolute value);
  • setClippingPointXYZ(x, y, z)-set the intersection points of the sectioning planes along the X, Y and Z axes (expressed in normalized value);
    Parametersx[number] : the intersection point between the X sectioning plane and the X axis (accepts values ranging to 0 and 1);
    y[number] : the intersection point between the Y sectioning plane and the Y axis (accepts values ranging from 0 to 1);
    z[number] : the intersection point between the Z sectioning plane and the Z axis (accepts values ranging from 0 to 1);
  • setClippingPointXYZabs(x, y, z)-set the intersection points of the sectioning planes along the X, Y and Z axes (expressed in scene space absolute value);
    Parametersx[number] : the intersection point between the X sectioning plane and the X axis (accepts values expressed in scene space absolute value);
    y[number] : the intersection point between the Y sectioning plane and the Y axis (accepts values expressed in scene space absolute value);
    z[number] : the intersection point between the Z sectioning plane and the Z axis (accepts values expressed in scene space absolute value);
  • setClippingPointX(x)-set the intersection point of the sectioning plane along the X, axis (expressed in normalized value);
    Parametersx[number] : the intersection point between the X sectioning plane and the X axis (accepts values ranging to 0 and 1);
  • setClippingPointXabs(x)-set the intersection point of the sectioning plane along the X axis (expressed in scene space absolute value);
    Parametersx[number] : the intersection point between the X sectioning plane and the X axis (accepts values expressed in scene space absolute value);
  • setClippingPointY(y)-set the intersection point of the sectioning plane along the Y axis (expressed in normalized value);
    Parametersy[number] : the intersection point between the Y sectioning plane and the Y axis (accepts values ranging from 0 to 1);
  • setClippingPointYabs(y)-set the intersection point of the sectioning plane along the Y axis (expressed in scene space absolute value);
    Parametersy[number] : the intersection point between the Y sectioning plane and the Y axis (accepts values expressed in scene space absolute value);
  • setClippingPointZ(z)-set the intersection point of the sectioning plane along the Z axis (expressed in normalized value);
    Parametersz[number] : the intersection point between the Z sectioning plane and the Z axis (accepts values ranging from 0 to 1);
  • setClippingPointZabs(z)-set the intersection point of the sectioning plane along the Z axis (expressed in scene space absolute value);
    Parametersz[number] : the intersection point between the Z sectioning plane and the Z axis (accepts values expressed in scene space absolute value);
  • setClippingRendermode(state, state, *size, *color)-customize the rendering setup of the sectioning tool (sectioning planes and edges visibility state, and optionally edges size and color values);
    Parametersstate[boolean] : true to render the sectioning planes (if any), false to not render (true by default);
    state[boolean] : true to render the sectioning edges (if any), false to not render (false by default);
    size[number] : the size value (express in scene space absolute value) of the sectioning edges (if rendered). Accepts values greater than 0.0. Optional parameter (default sectioning edges size is 0.5);
    color[array] : the 3-dimensional array containing color values of the sectioning edges (if rendered). Accepts values express in RGB arithmetic notation (from 0 to 1, with any fractional value in between). Optional parameter (default sectioning edges color is [0.0, 1.0, 1.0]);
  • setClippingXYZ(state, state, state)-set the operating state of the sectioning planes along the X, Y and Z axes;
    Parametersstate[number] : the operating state of the X axis sectioning plane. Accepts three values: 0 to disable the related sectioning plane, 1 to enable it (splitting the 3D scene along the X axis, cutting out the clippable instances on the positive side of the intersection), and -1 also to enable it (again splitting the 3D scene along the X axis, but this time cutting out the clippable instances on the negative side of the intersection);
    state[number] : the operating state of the Y axis sectioning plane. Accepts three values: 0 to disable the related sectioning plane, 1 to enable it (splitting the 3D scene along the Y axis, cutting out the clippable instances on the positive side of the intersection), and -1 also to enable it (again splitting the 3D scene along the Y axis, but this time cutting out the clippable instances on the negative side of the intersection);
    state[number] : the operating state of the Z axis sectioning plane. Accepts three values: 0 to disable the related sectioning plane, 1 to enable it (splitting the 3D scene along the Z axis, cutting out the clippable instances on the positive side of the intersection), and -1 also to enable it (again splitting the 3D scene along the Z axis, but this time cutting out the clippable instances on the negative side of the intersection);
  • setClippingX(state)-set the operating state of the sectioning plane along the X axis;
    Parametersstate[number] : the operating state of the X axis sectioning plane. Accepts three values: 0 to disable the related sectioning plane, 1 to enable it (splitting the 3D scene along the X axis, cutting out the clippable instances on the positive side of the intersection), and -1 also to enable it (again splitting the 3D scene along the X axis, but this time cutting out the clippable instances on the negative side of the intersection);
  • setClippingY(state)-set the operating state of the sectioning plane along the Y axis;
    Parametersstate[number] : the operating state of the Y axis sectioning plane. Accepts three values: 0 to disable the related sectioning plane, 1 to enable it (splitting the 3D scene along the Y axis, cutting out the clippable instances on the positive side of the intersection), and -1 also to enable it (again splitting the 3D scene along the Y axis, but this time cutting out the clippable instances on the negative side of the intersection);
  • setClippingZ(state)-set the operating state of the sectioning plane along the Z axis;
    Parametersstate[number] : the operating state of the Z axis sectioning plane. Accepts three values: 0 to disable the related sectioning plane, 1 to enable it (splitting the 3D scene along the Z axis, cutting out the clippable instances on the positive side of the intersection), and -1 also to enable it (again splitting the 3D scene along the Z axis, but this time cutting out the clippable instances on the negative side of the intersection);
  • setInstanceSolidColor(tag, state, redraw, *color)-set a solid color for the model instance specified by tag;
    Parameterstag[string] : the tag keyword specified in the "tags" field of "modelInstance" (in "setScene") that refers the instance of the model on which the color command acts. Accepts the constant value "HOP_ALL" too (without quotes) that refers all the models instances;
    state[boolean] : true to active the instance solid color, false to not active;
    redraw[boolean] : true to redraw the 3D scene, false to not redraw;
    color[array] : the 3-dimensional array containing color values express in RGB arithmetic notation (from 0 to 1, with any fractional value in between). Optional parameter (default solid color is [1.0, 1.0, 1.0]);
  • setInstanceSolidColorByName(name, state, redraw, *color)-set a solid color for the model instance specified by name;
    Parametersname[string] : the instance name specified in "modelInstance" (in "setScene") that refers the instance of the model on which the color command acts. Accepts the constant value "HOP_ALL" too (without quotes) that refers all the models instances;
    state[boolean] : true to active the instance solid color, false to not active;
    redraw[boolean] : true to redraw the 3D scene, false to not redraw;
    color[array] : the 3-dimensional array containing color values express in RGB arithmetic notation (from 0 to 1, with any fractional value in between). Optional parameter (default solid color is [1.0, 1.0, 1.0]);
  • setInstanceTransparency(tag, state, redraw, *alpha)-set the transparency of the model instance specified by tag;
    Parameterstag[string] : the tag keyword specified in the "tags" field of "modelInstance" (in "setScene") that refers the instance of the model on which the transparency command acts. Accepts the constant value "HOP_ALL" too (without quotes) that refers all the models instances;
    state[boolean] : true to active the instance transparency, false to not active;
    redraw[boolean] : true to redraw the 3D scene, false to not redraw;
    alpha[number] : the alpha transparency value, varying from 0 (max transparency) to 1 (min transparency), with any fractional value in between. Optional parameter (default alpha value is 0.5);
  • setInstanceTransparencyByName(name, state, redraw, *alpha)-set the transparency of the model instance specified by name;
    Parametersname[string] : the instance name specified in "modelInstance" (in "setScene") that refers the instance of the model on which the transparency command acts. Accepts the constant value "HOP_ALL" too (without quotes) that refers all the models instances;
    state[boolean] : true to active the instance transparency, false to not active;
    redraw[boolean] : true to redraw the 3D scene, false to not redraw;
    alpha[number] : the alpha transparency value, varying from 0 (max transparency) to 1 (min transparency), with any fractional value in between. Optional parameter (default alpha value is 0.5);
  • setInstanceVisibility(tag, state, redraw)-set the visibility in the 3D scene of the model instance specified by tag;
    Parameterstag[string] : the tag keyword specified in the "tags" field of "modelInstance" (in "setScene") that refers the instance of the model on which the visibility command acts. Accepts the constant value "HOP_ALL" too (without quotes) that refers all the models instances;
    state[boolean] : true to make the instance visible, false to not make;
    redraw[boolean] : true to redraw the 3D scene, false to not redraw;
  • setInstanceVisibilityByName(name, state, redraw)-set the visibility in the 3D scene of the model instance specified by name;
    Parametersname[string] : the instance name specified in "modelInstance" (in "setScene") that refers the instance of the model on which the visibility command acts. Accepts the constant value "HOP_ALL" too (without quotes) that refers all the models instances;
    state[boolean] : true to make the instance visible, false to not make;
    redraw[boolean] : true to redraw the 3D scene, false to not redraw;
  • setRadiusModeFirst()-scale the virtual scene to fit in the viewer the first declared model instance;
  • setRadiusModeScene()-scale the virtual scene to fit in the viewer all model instances which compose the scene;
  • setRadiusModeSpecific(name)-scale the virtual scene to fit in the viewer the specified model instance;
    Parametersname[string] : the instance name specified in "modelInstance" (in "setScene") that refers the instance of the model on which the scene will be scaled;
  • setRadiusModeExplicit(size)-scale the virtual scene to fit in the viewer an object with the specified size;
    Parameterssize[number] : the size value (express in scene space absolute value) on which the scene will be scaled. Accepts values greater than 0.0;
  • setScene(options)-3DHOP main method, set the 3D scene;
    Parametersoptions[multiple values] : all the text fields that define the virtual scene (meshes, modelInstances, spots, trackball, space). Check the how to section for more details;
  • setSpotVisibility(tag, state, redraw)-set the visibility in the 3D scene of the hot spot instance specified by tag;
    Parameterstag[string] : the tag keyword specified in the "tags" field of "spots" (in "setScene") that refers the instance of the hot spot on which the visibility command acts. Accepts the constant value "HOP_ALL" too (without quotes) that refers all the hot spots instances;
    state[boolean] : true to make the instance visible, false to not make;
    redraw[boolean] : true to redraw the 3D scene, false to not redraw;
  • setSpotVisibilityByName(name, state, redraw)-set the visibility in the 3D scene of the hot spot instance specified by name;
    Parametersname[string] : the instance name specified in "spots" (in "setScene") that refers the instance of the hot spot on which the visibility command acts. Accepts the constant value "HOP_ALL" too (without quotes) that refers all the hot spots instances;
    state[boolean] : true to make the instance visible, false to not make;
    redraw[boolean] : true to redraw the 3D scene, false to not redraw;
  • setTrackballPosition(position)-set a new position for the used trackball and redraw the 3D scene with the camera in the new setted point;
    Parametersposition[array] : the spatial coordinates of the trackball (the number of values may varying depending on the used trackball);
  • supportsWebGL()check if the system supports the WebGL API;
    Returns-[boolean] : true if supported, false if not supported;
  • toggleCameraType()-toggle the camera type between perspective and orthographic projection modes;
  • toggleDebugMode()-toggle 3DHOP between normal mode and debug mode;
  • toggleInstanceSolidColor(tag, redraw)-toggle the solid color usage for the model instance specified by tag;
    Parameterstag[string] : the tag keyword specified in the "tags" field of "modelInstance" (in "setScene") that refers the instance of the model on which the color command acts. Accepts the constant value "HOP_ALL" too (without quotes) that refers all the models instances;
    redraw[boolean] : true to redraw the 3D scene, false to not redraw;
  • toggleInstanceSolidColorByName(name, redraw)-toggle the solid color usage for the model instance specified by name;
    Parametersname[string] : the instance name specified in "modelInstance" (in "setScene") that refers the instance of the model on which the color command acts. Accepts the constant value "HOP_ALL" too (without quotes) that refers all the models instances;
    redraw[boolean] : true to redraw the 3D scene, false to not redraw;
  • toggleInstanceTransparency(tag, redraw)-toggle the transparency usage for the model instance specified by tag;
    Parameterstag[string] : the tag keyword specified in the "tags" field of "modelInstance" (in "setScene") that refers the instance of the model on which the transparency command acts. Accepts the constant value "HOP_ALL" too (without quotes) that refers all the models instances;
    redraw[boolean] : true to redraw the 3D scene, false to not redraw;
  • toggleInstanceTransparencyByName(name, redraw)-toggle the transparency usage for the model instance specified by name;
    Parametersname[string] : the instance name specified in "modelInstance" (in "setScene") that refers the instance of the model on which the transparency command acts. Accepts the constant value "HOP_ALL" too (without quotes) that refers all the models instances;
    redraw[boolean] : true to redraw the 3D scene, false to not redraw;
  • toggleInstanceVisibility(tag, redraw)-toggle the visibility in the 3D scene of the model instance specified by tag;
    Parameterstag[string] : the tag keyword specified in the "tags" field of "modelInstance" (in "setScene") that refers the instance of the model on which the visibility command acts. Accepts the constant value "HOP_ALL" too (without quotes) that refers all the models instances;
    redraw[boolean] : true to redraw the 3D scene, false to not redraw;
  • toggleInstanceVisibilityByName(name, redraw)-toggle the visibility in the 3D scene of the model instance specified by name;
    Parametersname[string] : the instance name specified in "modelInstance" (in "setScene") that refers the instance of the model on which the visibility command acts. Accepts the constant value "HOP_ALL" too (without quotes) that refers all the models instances;
    redraw[boolean] : true to redraw the 3D scene, false to not redraw;
  • toggleSpotVisibility(tag, redraw)-toggle the visibility in the 3D scene of the hot spot instance specified by tag;
    Parameterstag[string] : the tag keyword specified in the "tags" field of "spots" (in "setScene") that refers the instance of the hot spot on which the visibility command acts. Accepts the constant value "HOP_ALL" too (without quotes) that refers all the hot spots instances;
    redraw[boolean] : true to redraw the 3D scene, false to not redraw;
  • toggleSpotVisibilityByName(name, redraw)-toggle the visibility in the 3D scene of the hot spot instance specified by name;
    Parameterstag[string] : the name instance specified in "spots" (in "setScene") that refers the instance of the hot spot on which the visibility command acts. Accepts the constant value "HOP_ALL" too (without quotes) that refers all the hot spots instances;
    redraw[boolean] : true to redraw the 3D scene, false to not redraw;
  • zoomIn()-zoom the camera one step into the 3D scene;
  • zoomOut()-zoom the camera one step out of the 3D scene;

    3DHOP callback functions (activated by specific events):

  • _onEndMeasurement(measure, *point, *point)-bind an event handler to be fired when a measurement action ends;
    Parametersmeasure[number] : the size of the last measurement performed (expressed in scene space absolute value);
    point[array] : the 3-dimensional array containing the spatial coordinates of the first measure point picked (expressed in scene space absolute value). Optional parameter;
    point[array] : the 3-dimensional array containing the spatial coordinates of the last measure point picked (expressed in scene space absolute value). Optional parameter;
  • _onEndPickingPoint(point)-bind an event handler to be fired when a point picking action ends;
    Parameterspoint[array] : the 3-dimensional array containing the spatial coordinates of the last point picked (expressed in scene space absolute value);
  • _onEnterInstance(id)-bind an event handler to be fired when the mouse enters an instance;
    Parametersid[string] : the instance name specified in the "modelInstance" field of "setScene";
  • _onEnterSpot(id)-bind an event handler to be fired when the mouse enters a spot;
    Parametersid[string] : the spot name specified in the "spots" field of "setScene";
  • _onLeaveInstance(id)-bind an event handler to be fired when the mouse leaves an instance;
    Parametersid[string] : the instance name specified in the "modelInstance" field of "setScene";
  • _onLeaveSpot(id)-bind an event handler to be fired when the mouse leaves a spot;
    Parametersid[string] : the spot name specified in the "spots" field of "setScene";
  • _onPickedInstance(id)-bind an event handler to be fired when the mouse clicks an instance;
    Parametersid[string] : the instance name specified in the "modelInstance" field of "setScene";
  • _onPickedSpot(id)-bind an event handler to be fired when the mouse clicks a spot;
    Parametersid[string] : the spot name specified in the "spots" field of "setScene";

    3DHOP utility functions:

  • colorSwitch()-switch between on/off toolbar related color mode button icon;
  • fullscreenSwitch()-switch between 3DHOP element fullscreen and normal mode, simultaneously updating the toolbar related button icon;
  • hotspotSwitch()-switch between on/off toolbar related hotspot button icon;
  • lightSwitch()-switch between on/off toolbar related light control button icon;
  • measureSwitch()-switch between on/off toolbar related measurement tool button icon;
  • measurementSwitch()-switch between on/off toolbar related measurement tool button icon. This functionality is DEPRECATED, use "measureSwitch()" instead;
  • moveMeasurebox(right, top)-move the 3DHOP measure output box around the screen. This functionality is DEPRECATED, use "moveMeasurementbox(left, top)" instead;
    Parametersright[number] : measure box right space in px (relative to 3DHOP container, default value is 10). Accepts the CSS positioning syntax too (enclosed in quotes);
    top[number] : measure box top space in px (relative to 3DHOP container, default value is 10). Accepts the CSS positioning syntax too (enclosed in quotes);
  • moveMeasurementbox(left, top)-move the 3DHOP measure output box around the screen;
    Parametersleft[number] : measure box left space in px (relative to 3DHOP container, due to anchorage default value is related to toolbar position). Accepts the CSS positioning syntax too (enclosed in quotes);
    top[number] : measure box top space in px (relative to 3DHOP container, due to anchorage default value is related to toolbar position). Accepts the CSS positioning syntax too (enclosed in quotes);
  • movePickpointbox(left, top)-move the 3DHOP point picking output box around the screen;
    Parametersleft[number] : point picking box left space in px (relative to 3DHOP container, due to anchorage default value is related to toolbar position). Accepts the CSS positioning syntax too (enclosed in quotes);
    top[number] : point picking box top space in px (relative to 3DHOP container, due to anchorage default value is related to toolbar position). Accepts the CSS positioning syntax too (enclosed in quotes);
  • moveSectionsbox(left, top)-move the 3DHOP planes section output box around the screen;
    Parametersleft[number] : planes section output box left space in px (relative to 3DHOP container, due to anchorage default value is related to toolbar position). Accepts the CSS positioning syntax too (enclosed in quotes);
    top[number] : planes section output box top space in px (relative to 3DHOP container, due to anchorage default value is related to toolbar position). Accepts the CSS positioning syntax too (enclosed in quotes);
  • moveToolbar(left, top)-move the 3DHOP toolbar around the screen;
    Parametersleft[number] : toolbar left space in px (relative to 3DHOP container, default value is 10). Accepts the CSS positioning syntax too (enclosed in quotes);
    top[number] : toolbar top space in px (relative to 3DHOP container, default value is 10). Accepts the CSS positioning syntax too (enclosed in quotes);
  • pickpointSwitch()-switch between on/off toolbar related point picking tool button icon;
  • resizeCanvas(width, height)-change the 3DHOP sizes;
    Parameterswidth[number] : 3DHOP width value in px (default is full browser). Accepts the CSS width syntax too (enclosed in quotes);
    height[number] : 3DHOP height value in px (default is full browser). Accepts the CSS height syntax too (enclosed in quotes);
  • sectiontoolInit()-initialize the components in the planes section tool output box;
  • sectiontoolReset()-reset the components in the planes section tool output box;
  • sectiontoolSwitch()-switch between on/off toolbar related planes section tool button icon;