|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectcom.jme3.post.Filter
com.jme3.post.filters.CrossHatchFilter
public class CrossHatchFilter
入れ子のクラスの概要 |
---|
クラス com.jme3.post.Filter から継承された入れ子のクラス/インタフェース |
---|
Filter.Pass |
コンストラクタの概要 | |
---|---|
CrossHatchFilter()
Creates a crossHatch filter |
|
CrossHatchFilter(ColorRGBA lineColor,
ColorRGBA paperColor)
Creates a crossHatch filter |
メソッドの概要 | |
---|---|
float |
getColorInfluenceLine()
Returns current influence of image colors on lines |
float |
getColorInfluencePaper()
Returns current influence of image colors on paper background |
float |
getFillValue()
Returns line/paper color ratio for blobs |
ColorRGBA |
getLineColor()
Returns line color |
float |
getLineDistance()
Returns minimum distance between lines |
float |
getLineThickness()
Returns the thickness of the lines drawn |
float |
getLuminance1()
Returns treshold for lines 1 |
float |
getLuminance2()
Returns treshold for lines 2 |
float |
getLuminance3()
Returns treshold for lines 3 |
float |
getLuminance4()
Returns treshold for lines 4 |
float |
getLuminance5()
Returns treshold for blobs |
ColorRGBA |
getPaperColor()
Returns paper background color |
void |
setColorInfluenceLine(float colorInfluenceLine)
Sets color influence of original image on lines drawn |
void |
setColorInfluencePaper(float colorInfluencePaper)
Sets color influence of original image on non-line areas |
void |
setFillValue(float fillValue)
Sets line/paper color ratio for areas with values < luminance5, really dark areas get no lines but a filled blob instead |
void |
setLineColor(ColorRGBA lineColor)
Sets color used to draw lines |
void |
setLineDistance(float lineDistance)
Sets minimum distance between lines drawn Primary lines are drawn at 2*lineDistance Secondary lines are drawn at lineDistance |
void |
setLineThickness(float lineThickness)
Sets the thickness of lines drawn |
void |
setLuminanceLevels(float luminance1,
float luminance2,
float luminance3,
float luminance4,
float luminance5)
Sets minimum luminance levels for lines drawn |
void |
setPaperColor(ColorRGBA paperColor)
Sets color used as background |
クラス com.jme3.post.Filter から継承されたメソッド |
---|
getName, isEnabled, read, setEnabled, setName, write |
クラス java.lang.Object から継承されたメソッド |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public CrossHatchFilter()
public CrossHatchFilter(ColorRGBA lineColor, ColorRGBA paperColor)
lineColor
- the colors of the linespaperColor
- the paper colorメソッドの詳細 |
---|
public void setLineColor(ColorRGBA lineColor)
lineColor
- public void setPaperColor(ColorRGBA paperColor)
paperColor
- public void setColorInfluenceLine(float colorInfluenceLine)
colorInfluenceLine
- public void setColorInfluencePaper(float colorInfluencePaper)
colorInfluencePaper
- public void setFillValue(float fillValue)
fillValue
- public void setLuminanceLevels(float luminance1, float luminance2, float luminance3, float luminance4, float luminance5)
luminance1
- Top-left to down right 1luminance2
- Top-right to bottom left 1luminance3
- Top-left to down right 2luminance4
- Top-right to bottom left 2luminance5
- Blobspublic void setLineThickness(float lineThickness)
lineThickness
- public void setLineDistance(float lineDistance)
lineDistance
- public ColorRGBA getLineColor()
public ColorRGBA getPaperColor()
public float getColorInfluenceLine()
public float getColorInfluencePaper()
public float getFillValue()
public float getLineThickness()
public float getLineDistance()
public float getLuminance1()
public float getLuminance2()
public float getLuminance3()
public float getLuminance4()
public float getLuminance5()
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |