Allows to specify additional key-value pairs passed as query parameters to the WebSocket URI.
The following keys are currently not allowed "token", "memberId".
APPLICATION_IDENTIFIER
APPLICATION_IDENTIFIER:"applicationIdentifier"
Represents a custom application identifier that is transmitted alongside the usage data to the instant3Dhub.
SettingStrings.BOOSTER_URL is deprecated and will be removed in a future version.
The endpoint where webvis tries to connect to the booster
CAPPING_GEOMETRY_COLOR
CAPPING_GEOMETRY_COLOR:"cappingGeometryColor"
Specifies the color of the capping geometries
CONTEXT_MENU_FUNCTION
CONTEXT_MENU_FUNCTION:"contextMenuFunction"
Deprecated
SettingStrings.CONTEXT_MENU_FUNCTION is deprecated, please use UISetting.CONTEXT_MENU_FUNCTION and the getSetting/setSetting functions on the webvisUI-Object"
A function to modify the context menu's contents
This function has as argument: the array with the entries by default of the context menu;
and consequently it is expected as a return value, the entries that are wanted to be shown in the context menu:
All default entries will be shown:
function(defaultEntries){return defaultEntries}
All default entries will be shown, but without the first entry:
function(defaultEntries){
firstEntryPosition = 1;
defaultEntries.splice(firstEntryPosition - 1, 1);
return defaultEntries;
}
Swapping the first and second entries:
function(defaultEntries){
firstEntryPosition = 1;
secondEntryPosition = 2;
firstEntry = defaultEntries.splice(firstEntryPosition - 1, 1)[0];
defaultEntries.splice(secondEntryPosition - 1, 0, firstEntry);
return defaultEntries;
}
Changing the functionality of the second entry:
function(defaultEntries){
secondEntryPosition = 2;
secondEntryDefaultCommand = defaultEntries[secondEntryPosition - 1].command;
defaultEntries[secondEntryPosition - 1].command = function(nodeId, pickInfo){
console.log("Second Entry was Executed", nodeId, pickInfo);
webvis.getProperty(nodeId, "label").then(
function(label){
webvis.postInfo("
Inserting a new entry in the menu at the third position:
function(defaultEntries){
newEntry = {
label : "Set Current Language",
subEntries : [
{
label : "English",
command : function(){webvis.changeSetting("language", "en")}
},
{
label : "Deutsch",
command : function(){webvis.changeSetting("language", "de")}
},
{
label : "Español",
command : function(){webvis.changeSetting("language", "es")}
}
]
};
newEntryPosition = 3;
defaultEntries.splice(newEntryPosition - 1, 0, newEntry);
return defaultEntries;
}
Inserting a new entry in the menu, which will appear only after the condition is fulfilled, (e.g. When the node is an Aux node)
function (defaultEntries)
{
const newEntry =
{
label : "Custom entry visible only when condition is fulfilled"
, command : function(nodeID){webvis.postInfo("Custom entry clicked on Aux node:" + nodeID + "!!!")}
, condition : function(nodeID){return webvis.getNodeType(nodeID) == webvis.NodeType.AUX}
};
defaultEntries.push(newEntry);
return defaultEntries;
}
DEFAULT_QUERY_LINK_DEPTH
DEFAULT_QUERY_LINK_DEPTH:"defaultQueryLinkDepth"
Default value for the link depth (resource links) for queries
Angular tolerance for measurements, in degrees.
This value can be used to treat almost-perpendicular cases as perpendicular,
which allows to measure orthogonal distances between almost-perpendicular planes or lines.
Hint about the usage of credentials when issuing HTTP Requests.
The given method is used as a first try, the alternative one afterwards, if errors occur.
SESSION_DEVICE_TAGS
SESSION_DEVICE_TAGS:"sessionDeviceTags"
Defines additional device tags that are communicated with the session
SESSION_FORWARD_URL
SESSION_FORWARD_URL:"sessionForwardUrl"
The URL the Session-Handler should forward to
SESSION_INTERACTIONS
SESSION_INTERACTIONS:"sessionInteractions"
A set of descriptors to interact with session members
SESSION_MEMBER_NAME
SESSION_MEMBER_NAME:"sessionMemberName"
The name that should be used when joining a shared session
SKIP_SSL_VERIFY
SKIP_SSL_VERIFY:"skipSslVerify"
Ignore unauthorized certificates when running in node
sets the default loading behaviour on SnapshotRestore
URI_MAP
URI_MAP:"uriMap"
A map to rewrite the uri to the network
XR_ENABLE_DEBUG_IMAGES
XR_ENABLE_DEBUG_IMAGES:"xrEnableDebugImages"
This enables or disables the edge images to be send from the model tracker. Note: When enabled this will impact bandwidth and performance of the application, so we recommend using this only on demand.
Default is false
XR_FUSION_MODE
XR_FUSION_MODE:"xrFusionMode"
Sets the XR fusion mode which specifies which inputs will be used for the final visualization.
Can be either NONE, SLAM or SLAM_MODELTRACKER.
Default is SLAM_MODELTRACKER.
XR configuration setting for desired image compression quality.
A value between 0 and 1, where 0.0 implies maximum compression (smallest package size)
and 1.0 provides maximum quality (biggest package size).
Default is 0.75.
XR configuration setting for the quality threshold for the model tracker.
The model tracker will only track the model if the quality is above this threshold.
The threshold determines the actual correspondence of the generated line model to the real world.
A value of 1 means total correspondence, while a value of zero means no correspondence at all.
Depending on that value the tracker will trigger a XRStateChangedEvent event with the modelTrackingState property set to ModelTrackingState.SNAPPED and the anchored property set to true.
Default is value if 0.65.
XR configuration setting for the the smoothness of the model tracker.
This is a normalized input value for smoothing of the incoming tracker pose,
so frequent pose adjustments will be smoothed in, instead of applied directly.
If the current value is greater than 0, the model tracker will linearly interpolate between the current * and the previous pose.
A value of 0 will disable pose smoothing and a value of 1.0 will apply maximum smoothness.
Default is value if 0.20
Did you find this page useful? Please give it a rating:
A list of cookies that are added to all requests.