DisplacementMap.
| Modifier and Type | Field and Description |
|---|---|
| private float[] | |
| private BooleanProperty | |
| private IntegerProperty | height
The height of the map, in pixels. |
| private FloatMap | |
| private boolean | |
| private IntegerProperty | width
The width of the map, in pixels. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | FloatMap(int
the width of the map, in pixels width, int the height of the map, in pixels height)Creates a new instance of FloatMap with the specified width and height. |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| pack-priv FloatMap | |
| pack-priv final BooleanProperty | |
| public final int | |
| pack-priv FloatMap | |
| public final int | |
| public final IntegerProperty | |
| pack-priv boolean | |
| private void | |
| private void | |
| public final void | |
| public void | setSample(int
the x location x, int the y location y, int the band to set (must be 0, 1, 2, or 3) band, float the sample value to set s)Sets the sample for a specific band at the given (x,y) location. |
| public void | setSamples(int
the x location x, int the y location y, float the sample value to set for the first band s0)Sets the sample for the first band at the given (x,y) location. |
| public void | setSamples(int
the x location x, int the y location y, float the sample value to set for the first band s0, float the sample value to set for the second band s1)Sets the sample for the first two bands at the given (x,y) location. |
| public void | setSamples(int
the x location x, int the y location y, float the sample value to set for the first band s0, float the sample value to set for the second band s1, float the sample value to set for the third band s2)Sets the sample for the first three bands at the given (x,y) location. |
| public void | setSamples(int
the x location x, int the y location y, float the sample value to set for the first band s0, float the sample value to set for the second band s1, float the sample value to set for the third band s2, float the sample value to set for the fourth band s3)Sets the sample for each of the four bands at the given (x,y) location. |
| public final void | |
| pack-priv void | |
| private void | |
| private void | |
| public final IntegerProperty |
| buf | back to summary |
|---|---|
| private float[] buf | |
| effectDirty | back to summary |
|---|---|
| private BooleanProperty effectDirty | |
| height | back to summary |
|---|---|
| private IntegerProperty height The height of the map, in pixels.
Min: 1
Max: 4096
Default: 1
Identity: n/a
| |
| map | back to summary |
|---|---|
| private FloatMap map | |
| mapBufferDirty | back to summary |
|---|---|
| private boolean mapBufferDirty | |
| width | back to summary |
|---|---|
| private IntegerProperty width The width of the map, in pixels.
Min: 1
Max: 4096
Default: 1
Identity: n/a
| |
| FloatMap | back to summary |
|---|---|
| public FloatMap() Creates a new instance of FloatMap with default parameters. | |
| FloatMap | back to summary |
|---|---|
| public FloatMap(int width, int height) Creates a new instance of FloatMap with the specified width and height.
| |
| clearDirty | back to summary |
|---|---|
| private void clearDirty() | |
| copy | back to summary |
|---|---|
| pack-priv FloatMap copy() | |
| effectDirtyProperty | back to summary |
|---|---|
| pack-priv final BooleanProperty effectDirtyProperty() | |
| getHeight | back to summary |
|---|---|
| public final int getHeight() | |
| getImpl | back to summary |
|---|---|
| pack-priv FloatMap getImpl() | |
| getWidth | back to summary |
|---|---|
| public final int getWidth() | |
| heightProperty | back to summary |
|---|---|
| public final IntegerProperty heightProperty() | |
| isEffectDirty | back to summary |
|---|---|
| pack-priv boolean isEffectDirty() | |
| markDirty | back to summary |
|---|---|
| private void markDirty() | |
| setEffectDirty | back to summary |
|---|---|
| private void setEffectDirty(boolean value) | |
| setHeight | back to summary |
|---|---|
| public final void setHeight(int value) | |
| setSample | back to summary |
|---|---|
| public void setSample(int x, int y, int band, float s) Sets the sample for a specific band at the given (x,y) location.
| |
| setSamples | back to summary |
|---|---|
| public void setSamples(int x, int y, float s0) Sets the sample for the first band at the given (x,y) location.
| |
| setSamples | back to summary |
|---|---|
| public void setSamples(int x, int y, float s0, float s1) Sets the sample for the first two bands at the given (x,y) location.
| |
| setSamples | back to summary |
|---|---|
| public void setSamples(int x, int y, float s0, float s1, float s2) Sets the sample for the first three bands at the given (x,y) location.
| |
| setSamples | back to summary |
|---|---|
| public void setSamples(int x, int y, float s0, float s1, float s2, float s3) Sets the sample for each of the four bands at the given (x,y) location.
| |
| setWidth | back to summary |
|---|---|
| public final void setWidth(int value) | |
| sync | back to summary |
|---|---|
| pack-priv void sync() | |
| update | back to summary |
|---|---|
| private void update() | |
| updateBuffer | back to summary |
|---|---|
| private void updateBuffer() | |
| widthProperty | back to summary |
|---|---|
| public final IntegerProperty widthProperty() | |