openspace.debugging

Functions overview

Name

Documentation

addCartesianAxes

Adds a set of Cartesian axes to the scene graph node identified by the first string, to illustrate its local coordinate system

removePathControlPoints

Removes the rendered control points

removeRenderedCameraPath

Removes the currently rendered camera path if there is one

renderCameraPath

Render the current camera path from the path navigation system

renderPathControlPoints

Render the control points for the camera path spline as spheres

Functions

addCartesianAxes

Adds a set of Cartesian axes to the scene graph node identified by the first string, to illustrate its local coordinate system. The second (optional) argument is a scale value, in meters.

Parameters
  • nodeIdentifier String

  • scale Number?

Return type: void

Signature
openspace.debugging.addCartesianAxes(nodeIdentifier, scale)

removePathControlPoints

Removes the rendered control points.

Return type: void

Signature
openspace.debugging.removePathControlPoints()

removeRenderedCameraPath

Removes the currently rendered camera path if there is one.

Return type: void

Signature
openspace.debugging.removeRenderedCameraPath()

renderCameraPath

Render the current camera path from the path navigation system. The first optional argument is the number of samples to take along the path (defaults to 100). If a second optional argument is included and set to true, a line indicating the camera view direction along the path will also be rendered. This can be useful when debugging camera orientations. Finally, the third optional argument can be used to set the length (in meter) of the view direction lines.

Parameters
  • nSteps Integer? - Default value: 100

  • renderDirections Boolean? - Default value: false

  • directionLineLength Number? - Default value: 6e7

Return type: void

Signature
openspace.debugging.renderCameraPath(nSteps, renderDirections, directionLineLength)

renderPathControlPoints

Render the control points for the camera path spline as spheres. The optional argument can be used to set the radius of the created spheres.

Parameters
  • radius Number? - Default value: 2000000.0

Return type: void

Signature
openspace.debugging.renderPathControlPoints(radius)