|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jzy3d.plot3d.primitives.AbstractDrawable
org.jzy3d.plot3d.primitives.AbstractWireframeable
public abstract class AbstractWireframeable
An AbstractWireframeable
is a AbstractDrawable
that has a wireframe mode for display.
Defining an object as Wireframeable means this object may have a wireframe
mode status (on/off), a wireframe color, and a wireframe width.
As a consequence of being wireframeable, a 3d object may have his faces
displayed or not by setFaceDisplayed().
Field Summary | |
---|---|
protected boolean |
facestatus
|
protected Color |
wfcolor
|
protected boolean |
wfstatus
|
protected float |
wfwidth
|
Fields inherited from class org.jzy3d.plot3d.primitives.AbstractDrawable |
---|
bbox, boundingBoxColor, boundingBoxDisplayed, displayed, hasListeners, legend, legendDisplayed, listeners, transform, transformBefore |
Constructor Summary | |
---|---|
AbstractWireframeable()
Initialize the wireframeable with a white color and width of 1 for wires, hidden wireframe, and displayed faces. |
Method Summary | |
---|---|
boolean |
getFaceDisplayed()
Get the face display status to on or off. |
Color |
getWireframeColor()
Get the wireframe color. |
boolean |
getWireframeDisplayed()
Get the wireframe display status to on or off. |
float |
getWireframeWidth()
Get the wireframe width. |
void |
setFaceDisplayed(boolean status)
Set the face display status to on or off. |
void |
setWireframeColor(Color color)
Set the wireframe color. |
void |
setWireframeDisplayed(boolean status)
Set the wireframe display status to on or off. |
void |
setWireframeWidth(float width)
Set the wireframe width. |
Methods inherited from class org.jzy3d.plot3d.primitives.AbstractDrawable |
---|
addDrawableListener, applyGeometryTransform, call, call, callWithAlphaFactor, dispose, doDrawBounds, doTransform, draw, fireDrawableChanged, fireDrawableChanged, getBarycentre, getBoundingBoxColor, getBounds, getDistance, getLegend, getLongestDistance, getShortestDistance, getTransform, getTransformBefore, hasLegend, isBoundingBoxDisplayed, isDisplayed, isLegendDisplayed, negative, removeDrawableListener, setBoundingBoxColor, setBoundingBoxDisplayed, setDisplayed, setLegend, setLegendDisplayed, setTransform, setTransformBefore, toString, toString, updateBounds |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected Color wfcolor
protected float wfwidth
protected boolean wfstatus
protected boolean facestatus
Constructor Detail |
---|
public AbstractWireframeable()
Method Detail |
---|
public void setWireframeColor(Color color)
public void setWireframeDisplayed(boolean status)
public void setWireframeWidth(float width)
public void setFaceDisplayed(boolean status)
public Color getWireframeColor()
public boolean getWireframeDisplayed()
public float getWireframeWidth()
public boolean getFaceDisplayed()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |