|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Glyph
| Field Summary | |
|---|---|
static int |
STYLE_ALL
|
static int |
STYLE_CUBE
|
static int |
STYLE_ROMBUS
|
static int |
STYLE_SPHERE
|
| Method Summary | |
|---|---|
void |
addArrow()
Adds an arrow to the glyph. |
java.awt.Color |
getArrowColor(int idx)
Returns the color of the arrow. |
float |
getArrowScale(int idx)
Returns the scale of an arrow. |
float[] |
getArrowVector(int idx)
Returns the vector of an arrow (magnitude is normalized) |
float |
getArrowWidth(int idx)
Returns the width of an arrow. |
double[] |
getLocation()
Returns the location of the glyph. |
boolean |
getLowDetail()
Returns true if the curretly displayed detail is low. |
java.awt.Color |
getMoldColor()
Returns the color of the mold. |
float |
getMoldScale()
Returns the scale of the mold. |
float |
getMoldSize()
Returns the normalized size of the mold. |
int |
getMoldStyle()
Returns the style ID of the mold. |
int |
getNumArrows()
Returns the number of arrows in the glyph. |
boolean |
getVisible()
Returns the current visibility of the glyph. |
void |
removeArrow(int idx)
Removes an arrow from the glyph (at specified index) |
void |
setArrowAntialiasEnable(int idx,
boolean enable)
Enables/disables arrow antialiasing |
void |
setArrowColor(int idx,
java.awt.Color col)
Changes the color of the arrow. |
void |
setArrowScale(int idx,
float scale)
Changes the scale of the arrow. |
void |
setArrowVector(int idx,
float[] vec)
Changes the vector of the arrow. |
void |
setArrowWidth(int idx,
float width)
Change sthe width of the arrow. |
void |
setLocation(double[] trans)
Changes the location of the glyph. |
void |
setLowDetail(boolean lowDetail)
Changes the LOD state of the glyph. |
void |
setMoldColor(java.awt.Color col)
Changes the color of the mold. |
void |
setMoldScale(float scale)
Changes the scale of the mold. |
void |
setMoldSize(float size)
Changes the size of the mold. |
void |
setMoldStyle(int style)
Changes the style of the mold. |
void |
setSelected(boolean selected)
Switch to selected / unselected mold appearance. |
void |
setVisible(boolean visible)
Changes the visibility of the glyph. |
| Field Detail |
|---|
static final int STYLE_CUBE
static final int STYLE_SPHERE
static final int STYLE_ROMBUS
static final int STYLE_ALL
| Method Detail |
|---|
float getMoldScale()
int getMoldStyle()
double[] getLocation()
java.awt.Color getMoldColor()
float getMoldSize()
float getArrowWidth(int idx)
float getArrowScale(int idx)
float[] getArrowVector(int idx)
java.awt.Color getArrowColor(int idx)
boolean getLowDetail()
boolean getVisible()
int getNumArrows()
void setMoldScale(float scale)
void setMoldStyle(int style)
void setLocation(double[] trans)
void setMoldColor(java.awt.Color col)
void setMoldSize(float size)
void setArrowWidth(int idx,
float width)
void setArrowScale(int idx,
float scale)
void setArrowVector(int idx,
float[] vec)
void setArrowColor(int idx,
java.awt.Color col)
void setArrowAntialiasEnable(int idx,
boolean enable)
void setLowDetail(boolean lowDetail)
void setVisible(boolean visible)
void setSelected(boolean selected)
void addArrow()
void removeArrow(int idx)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||