|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jzy3d.plot3d.primitives.AbstractDrawable org.jzy3d.plot3d.primitives.AbstractWireframeable
public abstract class AbstractWireframeable
An AbstractWireframeable
is a drawable object 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().
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, dispose, draw, getBarycentre, getBounds, getDistance, getFace, getLongestDistance, getShortestDistance, getTransform, hasFace, isDisplayed, isFace2dDisplayed, removeDrawableListener, setDisplayed, setLegend, setLegendDisplayed, setTransform, toString, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AbstractWireframeable()
Method Detail |
---|
public void setWireframeColor(Color color)
setWireframeColor
in interface IWireframeable
public void setWireframeDisplayed(boolean status)
setWireframeDisplayed
in interface IWireframeable
public void setWireframeWidth(float width)
setWireframeWidth
in interface IWireframeable
public void setFaceDisplayed(boolean status)
setFaceDisplayed
in interface IWireframeable
public Color getWireframeColor()
getWireframeColor
in interface IWireframeable
public boolean getWireframeDisplayed()
getWireframeDisplayed
in interface IWireframeable
public float getWireframeWidth()
getWireframeWidth
in interface IWireframeable
public boolean getFaceDisplayed()
getFaceDisplayed
in interface IWireframeable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |