Reference·Java · nl.bimbase.bimworks.client.apisJava

BcfApi

CLASS in nl.bimbase.bimworks.client.apis.

API catalogue · nl.bimbase.bimworks.client.apis · CLASS

Java#
public class BcfApi

BCF related API calls

Inheritance and interfaces#

Members#

Member Kind Description
BcfApi(BimWorksClient) CONSTRUCTOR
augment(UUID, Path) METHOD
createBcf(Set<UUID>, ArrayNode) METHOD Create a BCF file with one topic per viewpoint. Each topic carries visualizationInfo.perspectiveCamera.{position,direction,up}, components with `selectio…

BcfApi(BimWorksClient)#

Java#
public BcfApi(nl.bimbase.bimworks.client.BimWorksClient bimWorksClient)

Parameters#

Name Type Description
bimWorksClient BimWorksClient

augment(UUID, Path)#

Java#
public java.io.InputStream augment(java.util.UUID versionUuid, java.nio.file.Path inputFile) throws nl.bimbase.bimworks.client.BimWorksException

Parameters#

Name Type Description
versionUuid java.util.UUID
inputFile java.nio.file.Path

createBcf(Set<UUID>, ArrayNode)#

Java#
public java.io.InputStream createBcf(java.util.Set<java.util.UUID> versionUuids, com.fasterxml.jackson.databind.node.ArrayNode topics) throws nl.bimbase.bimworks.client.BimWorksException

Create a BCF file with one topic per viewpoint. Each topic carries visualizationInfo.perspectiveCamera.{position,direction,up}, components with selection and coloring arrays (both may be empty, but must be present), and defaultSnapshot (a base64 PNG) — the server reads all of them unconditionally and answers with an empty response when one is missing. The caller closes the stream.

Parameters#

Name Type Description
versionUuids java.util.Set<java.util.UUID>
topics com.fasterxml.jackson.databind.node.ArrayNode

Inherited members#

  • java.lang.Object#equals(java.lang.Object)
  • java.lang.Object#toString()
  • java.lang.Object#wait(long)
  • java.lang.Object#wait(long,int)
  • java.lang.Object#wait()
  • java.lang.Object#finalize()
  • java.lang.Object#getClass()
  • java.lang.Object#hashCode()
  • java.lang.Object#clone()
  • java.lang.Object#notify()
  • java.lang.Object#notifyAll()
  • getBimWorksClient()