Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Bimplus Renderer version : 0.

...

4.

...

8

Table of Contents

...

  • api Object Instance of the WebSdk Api wrapper. Used to make the http requests
  • viewport Viewport3D Instance of the viewport where the data should be loaded to


api

Reference to WebSDK Api wrapper


viewport

Reference to the viewport instance to load into


errorHandler

Error handler callback

...

...


loadNavigationMap

Load clashes for the given projectcontent into the navigation map

Parameters

loadTopologyNode

  • modelRevisions
  • visibleLayers Array<String> Array of layers which shall be loaded
  • visibleTypes Array<String> Array of object types which should be shown
  • project ProjectContent Parent project


loadClashes

Load clashes for the given project

Parameters


loadTopologyNode

Load geometry and Load geometry and all necessary information for a given

...

  • project ProjectContent Project
  • node ProjectTopologyNode Topology leaf node
  • layers Array<ProjectLayer> Array of layers
  • loadTemplates Boolean Load required templates from server on/off (optional, default true)
  • loadObjectTree Boolean Load node's obejct tree on/off (optional, default true)
  • objectsFilter Boolean Additional filter to remove objects (optional, default undefined)
  • objectTreeFilter (optional, default undefined)


loadObject

This is used to load all data including geometry into an ObjectContent instance. This is used for the preview rendering in the properties panel.

...

  • objectId String Object Id
  • revNr Number Revision number (optional, default 1)
  • checkClashVisibilityCallback Function Callback to calculate the clash elements visibility defined in the clash module

...


checkModelModified

Makes head requests request to server to check if models have been modified

Parameters


checkModelsModified

Makes head requests to server to check if models have been modified

Parameters

...

Cancel the loading process

layerTemplatePromises

Reference to WebSDK Api wrapper

...

Reference to the viewport instance to load into


pickObject

Pick object using GPU acceleration.

...

Parameters


NavigationMap

NavigationMap constructor.

Parameters

  • settings
  • api
  • domElementId


ObjectContent

Parameters

...

Remove a VisualObject instance from the container

Parameters

For performance reasons it is possible to set the deferredRemoval flag. This speeds up the oparation a lot but an after removing all objects a call to deferredRemoveObjects has to be made.

Parameters

  • obj VisualObject Object to obj VisualObject Object to remove
  • removeChildlessParent Boolean Remove also parent if object is the last child (optional, default true)
  • removeChildren Boolean Remove all children from the container (optional, default false)
  • deferredRemoval Boolean If this flag is set, the obejcts won't be removed from the array but substituted with null (optional, default false)


removeObjects

...

  • objects Array<VisualObject> Array of objects to remove
  • removeChildlessParent Boolean Remove also parent if object is the last child (optional, default true)

getObjectCount


deferredRemoveObjects

Remove all null values from the objects array - this is the preprocessing step after removeObject with deferredRemoval enabled


getObjectCount

Returns the count Returns the count of VisualObject instances inside the container

...

Parameters


forEachTopologyLeafNode

Run function for each topology leaf node

Parameters


parseProjectDetailsResponse

...

  • r Object Response
  • revision Number Active revision
  • objectFilter


parseGeometryTemplateChunks

...

Parameters


forEachTopologyLeafNode

Loop through all attached topology leaf nodes and call the given function

...


getModel

Get the node's parent model


setLayerUserColor

Set layer user color - use null to reset it

Parameters


getLayerUserColor

Get layer user color - returns null if no user color is set

Parameters


setLayerUserOpacity

Set layer user opacity - use null to reset it

Parameters

  • layer ProjectLayer Layer for which to set the user opycity
  • value Array Opacity value (0..1)


getLayerUserOpacity

Get layer user opacity - returns null if no user opacity is set

Parameters


RevisionCompareObject

This class represents the Revision comparison object which holds the information of the actual compared objects

...