fusionsc.hfcam.HFCam

class fusionsc.hfcam.HFCam(cam)

Methods

__init__(cam)

addPoints(points, r[, depthTolerance])

Converts the given point cloud of energy packets into a 2D heat flux distribution and adds it to the accumulator buffer.

clear()

Resets the heat-flux accumulator buffer to 0 Note Has asynchronous variant '.asnc(...)' that returns Promise[...]

clone()

Creates a new camera which is an exact copy of this one (including the heat flux buffer contents)

get()

Obtains the contents of the heat flux accumulator buffer.

getData()

Downloads the data (projection and buffers) backing this camera instance Note Has asynchronous variant '.asnc(...)' that returns Promise[...]

Methods

HFCam.__init__(cam)
HFCam.addPoints(points, r, depthTolerance=0.001) Any

Converts the given point cloud of energy packets into a 2D heat flux distribution and adds it to the accumulator buffer.

Parameters:
  • points: Array-like of shape [3, …] containing the haet samples

  • r: Radius of each heat packet (in m)

  • depthTolerance: How far points are allowed to sit behind the geometry surface to still be considered ‘visible’

Note Has asynchronous variant ‘.asnc(…)’ that returns Promise[…]

HFCam.clear() Any

Resets the heat-flux accumulator buffer to 0 Note Has asynchronous variant ‘.asnc(…)’ that returns Promise[…]

HFCam.clone()

Creates a new camera which is an exact copy of this one (including the heat flux buffer contents)

HFCam.get() Any

Obtains the contents of the heat flux accumulator buffer.

Note Has asynchronous variant ‘.asnc(…)’ that returns Promise[…]

HFCam.getData() Any

Downloads the data (projection and buffers) backing this camera instance Note Has asynchronous variant ‘.asnc(…)’ that returns Promise[…]