HISE Docs

Table


The Table object can be created with TableProcessor.getTable() , and provides access and functions for the tables complex data object.

Class methods

addTablePoint

Adds a new table point (x and y are normalized coordinates).

Table.addTablePoint(float x, float y)



getCurrentlyDisplayedIndex

Returns the current ruler position (from 0 to 1).

Table.getCurrentlyDisplayedIndex()



getTablePointsAsArray

Returns an array containing all table points ([[x0, y0, curve0], ...]).

Table.getTablePointsAsArray()



getTableValueNormalised

Returns the value of the table at the given input (0.0 ... 1.0).

Table.getTableValueNormalised(double normalisedInput)



linkTo

Makes this table refer to the given table.

Table.linkTo(var otherTable)



reset

Resets the table with the given index to a 0..1 line.

Table.reset()



setContentCallback

Sets a callback that is being executed when a point is added / removed / changed.

Table.setContentCallback(var contentFunction)



setDisplayCallback

Sets a callback that is being executed when the ruler position changes.

Table.setDisplayCallback(var displayFunction)



setTablePoint

Sets the point with the given index to the values.

Table.setTablePoint(int pointIndex, float x, float y, float curve)



setTablePointsFromArray

Sets the table points from a multidimensional array ([x0, y0, curve0], ...]).

Table.setTablePointsFromArray(var pointList)