Package one.empty3.library
Class ColorTexture
- java.lang.Object
-
- one.empty3.library.ITexture
-
- one.empty3.library.ColorTexture
-
- All Implemented Interfaces:
MatrixPropertiesObject
public class ColorTexture extends ITexture
-
-
Field Summary
-
Fields inherited from class one.empty3.library.ITexture
COLOR_IDENT, COLOR_MIROR_X, COLOR_MIROR_XY, COLOR_MIROR_Y, COLOR_ROT_090, COLOR_ROT_180, COLOR_ROT_270, colorMask, onTextureEnds, repeatX, repeatY
-
-
Constructor Summary
Constructors Constructor Description ColorTexture()
ColorTexture(int colorAt)
ColorTexture(java.awt.Color c)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.Color
color()
void
color(java.awt.Color c)
MatrixPropertiesObject
copy()
StructureMatrix<java.awt.Color>
getColor()
int
getColorAt(double x, double y)
StructureMatrix
getDeclaredProperty(java.lang.String name)
java.awt.Color
getMaillageTexturedColor(int numQuadX, int numQuadY, double x, double y)
void
iterate()
void
setColor(StructureMatrix<java.awt.Color> color)
void
timeNext()
void
timeNext(long milli)
-
Methods inherited from class one.empty3.library.ITexture
declarations, declareProperties, getColorMask, getCoord, getDeformMap, getRepeatX, getRepeatY, setColorMask, setDeformMap, setRepeatX, setRepeatY
-
-
-
-
Method Detail
-
color
public java.awt.Color color()
-
color
public void color(java.awt.Color c)
-
iterate
public void iterate() throws EOFVideoException
- Overrides:
iterate
in classITexture
- Throws:
EOFVideoException
-
getColorAt
public int getColorAt(double x, double y)
- Specified by:
getColorAt
in classITexture
-
getDeclaredProperty
public StructureMatrix getDeclaredProperty(java.lang.String name)
- Specified by:
getDeclaredProperty
in interfaceMatrixPropertiesObject
- Overrides:
getDeclaredProperty
in classITexture
-
copy
public MatrixPropertiesObject copy() throws CopyRepresentableError, java.lang.IllegalAccessException, java.lang.InstantiationException
- Throws:
CopyRepresentableError
java.lang.IllegalAccessException
java.lang.InstantiationException
-
getMaillageTexturedColor
public java.awt.Color getMaillageTexturedColor(int numQuadX, int numQuadY, double x, double y)
-
getColor
public StructureMatrix<java.awt.Color> getColor()
-
setColor
public void setColor(StructureMatrix<java.awt.Color> color)
-
-