|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
org.eclipse.birt.chart.event.ChartEvent
org.eclipse.birt.chart.event.PrimitiveRenderEvent
org.eclipse.birt.chart.event.PolygonRenderEvent
org.eclipse.birt.chart.event.Polygon3DRenderEvent
public final class Polygon3DRenderEvent
A rendering event type for rendering 3D Polygon object.
Field Summary |
---|
Fields inherited from class org.eclipse.birt.chart.event.PrimitiveRenderEvent |
---|
DRAW, FILL, iObjIndex |
Constructor Summary | |
---|---|
Polygon3DRenderEvent(java.lang.Object oSource)
The constructor. |
Method Summary | |
---|---|
PrimitiveRenderEvent |
copy()
|
Fill |
getBackground()
|
double |
getBrightness()
|
Object3D |
getObject3D()
Returns the 3D object associated with this event. |
Location3D[] |
getPoints3D()
|
boolean |
isBehind()
|
boolean |
isDoubleSided()
Returns true if double sided polygons (not enclosing a volume) |
void |
prepare2D(double xOffset,
double yOffset)
Prepares the coordinates to render on 2D plane. |
void |
reset()
Resets the inner state of current event. |
void |
setBackground(Fill ifBackground)
Sets the background fill attributes for the polygon |
void |
setBehind(boolean value)
Sets if this polygon is facing behind(along user's viewing direction). |
void |
setBrightness(double value)
Sets the brightness of this polygon, the value ranges 0.0 - 1.0. |
void |
setDoubleSided(boolean value)
Sets if this polygon is double sided. |
void |
setPoints3D(Location3D[] loa)
Note that setPoints3D must be called with the points in the right order: that is needed for the right orientation of the polygon. |
void |
setPoints3D(Location3D[] loa,
boolean inverted)
Note that setPoints3D must be called with the points in the right order: that is needed for the right orientation of the polygon. |
Methods inherited from class org.eclipse.birt.chart.event.PolygonRenderEvent |
---|
draw, fill, getBounds, getLineAttributes, getOutline, getPoints, setOutline, setPoints |
Methods inherited from class org.eclipse.birt.chart.event.PrimitiveRenderEvent |
---|
compareRegular, compareTo, compareTransposed, getDepth, getLabel, isEnabled, setDepth, setEnable |
Methods inherited from class org.eclipse.birt.chart.event.ChartEvent |
---|
setSourceObject |
Methods inherited from class java.util.EventObject |
---|
getSource, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Polygon3DRenderEvent(java.lang.Object oSource)
Method Detail |
---|
public boolean isDoubleSided()
public void setDoubleSided(boolean value)
value
- public boolean isBehind()
public void setBehind(boolean value)
public void setBackground(Fill ifBackground)
PolygonRenderEvent
setBackground
in class PolygonRenderEvent
public Fill getBackground()
getBackground
in class PolygonRenderEvent
public double getBrightness()
public void setBrightness(double value)
public final void setPoints3D(Location3D[] loa) throws ChartException
la
- Sets the co-ordinates for each point that defines the polygon
ChartException
public final void setPoints3D(Location3D[] loa, boolean inverted) throws ChartException
la
- Sets the co-ordinates for each point that defines the polygoninverted
- Inverts the orientation of the surface if true
ChartException
public Location3D[] getPoints3D()
public void prepare2D(double xOffset, double yOffset)
I3DRenderEvent
prepare2D
in interface I3DRenderEvent
public PrimitiveRenderEvent copy()
copy
in class PolygonRenderEvent
public void reset()
ChartEvent
reset
in class PolygonRenderEvent
public Object3D getObject3D()
I3DRenderEvent
getObject3D
in interface I3DRenderEvent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |