|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectsyn3d.data.SceneGraphData
syn3d.data.SceneGraphDoubleData
public abstract class SceneGraphDoubleData
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class syn3d.data.SceneGraphData |
|---|
SceneGraphData.SourceHolder |
| Field Summary | |
|---|---|
protected double[] |
params
|
| Fields inherited from class syn3d.data.SceneGraphData |
|---|
delegateListener, editable, sources |
| Constructor Summary | |
|---|---|
SceneGraphDoubleData()
|
|
| Method Summary | |
|---|---|
void |
apply()
Apply data to the node |
java.lang.Object |
clone()
|
void |
DataSourceIndexRangeChanged(DataSource ds,
long startIndex,
long lastIndex)
Called when the range of valid index changed |
void |
DataSourceValueChanged(DataSource ds,
long minIndex,
long maxIndex)
Called when at least a value changed in the data source. |
void |
dispose()
Cleanup anything that could possibly help the garbage collector. |
double |
getValue(int index)
Get value |
void |
set(double[] values,
DataSource[] d)
|
void |
setValue(int index,
double v)
Set value |
void |
updateFrom(SceneGraphData dataCopy)
Inverse operation from clone() Update this data from the content of another one |
| Methods inherited from class syn3d.data.SceneGraphData |
|---|
DataSourceInfoChanged, DataSourceOrderChanged, DataSourceReplaced, DataSourceValueRangeChanged, getDataSource, getDelegateListener, init, isEditable, length, notificationEnd, removeSceneGraphData, setDataSource, setDelegateListener, setEditable |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected double[] params
| Constructor Detail |
|---|
public SceneGraphDoubleData()
| Method Detail |
|---|
public double getValue(int index)
index - = field number 0..length-1
public void setValue(int index,
double v)
index - = field number 0..length-1v - = new value for this field
public void set(double[] values,
DataSource[] d)
public void apply()
SceneGraphData
apply in class SceneGraphData
public void DataSourceIndexRangeChanged(DataSource ds,
long startIndex,
long lastIndex)
DataSourceListener
DataSourceIndexRangeChanged in interface DataSourceListenerDataSourceIndexRangeChanged in class SceneGraphDatads - The data source that changedstartIndex - The new start IndexlastIndex - The new last index
public void DataSourceValueChanged(DataSource ds,
long minIndex,
long maxIndex)
DataSourceListener
DataSourceValueChanged in interface DataSourceListenerDataSourceValueChanged in class SceneGraphDatads - The data source that changedminIndex - Lower bound of the range where values changedmaxIndex - Higher bound of the range where values changed
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class SceneGraphDatajava.lang.CloneNotSupportedExceptionpublic void updateFrom(SceneGraphData dataCopy)
SceneGraphData
updateFrom in class SceneGraphDatapublic void dispose()
SceneGraphData
dispose in class SceneGraphData
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||