|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.birt.chart.computation.Engine3D
public final class Engine3D
Engine3D
Field Summary | |
---|---|
static byte |
OUT_OF_RANGE_BOTH
Indicates the both points are out of range in clipping. |
static byte |
OUT_OF_RANGE_END
Indicates the ending point is out of range in clipping. |
static byte |
OUT_OF_RANGE_NONE
Indicates the both points are in range in clipping. |
static byte |
OUT_OF_RANGE_START
Indicates the starting point is out of range in clipping. |
Fields inherited from interface org.eclipse.birt.chart.computation.IConstants |
---|
ABOVE, ANCILLARY_AXIS, ANCILLARY_BASE, AUTO, AVERAGE, AXIS, BACKWARD, BASE, BASE_AXIS, BELOW, BOOLEAN, BOTTOM, CENTER, COLLECTION, DATE_TIME, DESIGN_TIME, EMPTY_STRING, EQUAL, FORWARD, HORIZONTAL, INSIDE, LABELS, LEFT, LEGEND_ENTRY, LEGEND_GROUP_NAME, LEGEND_MINSLICE_ENTRY, LEGEND_SEPERATOR, LESS, LINE_EXPAND_DOUBLE_SIZE, LINE_EXPAND_SIZE, LINEAR, LOG_10, LOGARITHMIC, MAJOR, MAX, MIN, MINOR, MORE, NON_PRIMITIVE_ARRAY, NULL_STRING, NUMERICAL, ONE_SPACE, ORTHOGONAL, ORTHOGONAL_AXIS, OTHER, OUTSIDE, PERCENT, POSITION_MASK, POSITION_MOVE_ABOVE, POSITION_MOVE_BELOW, POSITION_MOVE_LEFT, POSITION_MOVE_RIGHT, PRIMITIVE_ARRAY, RIGHT, RUN_TIME, SOME_NULL, TEXT, THREE_D, TICK_ABOVE, TICK_ACROSS, TICK_BELOW, TICK_LEFT, TICK_NONE, TICK_RIGHT, TICK_SIDE1, TICK_SIDE2, TICK_SIZE, TOP, TWO_5_D, TWO_D, UNDEFINED, UNDEFINED_STRING, USER_INTERFACE, VALUE, VERTICAL |
Constructor Summary | |
---|---|
Engine3D(Rotation3D rotation,
Vector lightDirection,
double viewerWidth,
double viewerHeight)
|
|
Engine3D(Rotation3D rotation,
Vector lightDirection,
double viewerWidth,
double viewerHeight,
double viewingDistance,
double modelingDistance,
double hitherDistance,
double yonDistance,
double perspectiveDistance)
|
Method Summary | |
---|---|
byte |
checkClipping(Vector start,
Vector end)
Clipping the lines according to viewing volumn. |
static Object3D |
getObjectFromEvent(java.lang.Object event)
|
static Object3D |
getObjectFromEvent(java.lang.Object event,
boolean bParent)
|
static Object3D |
getParentObject(java.lang.Object event)
|
WrappedInstruction |
getSharedEdge(I3DRenderEvent event1,
I3DRenderEvent event2,
double xOffset,
double yOffset)
|
Vector |
getViewReferencePoint()
|
PrimitiveRenderEvent |
processEvent_noclip(PrimitiveRenderEvent event,
double xOffset,
double yOffset)
|
java.util.List |
processEvent(java.util.List renderingEvents,
double xOffset,
double yOffset)
|
PrimitiveRenderEvent |
processEvent(PrimitiveRenderEvent event,
double xOffset,
double yOffset)
|
void |
reset()
Resets the engine to default state. |
void |
translate(Vector v)
Translates the view frame. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final byte OUT_OF_RANGE_NONE
public static final byte OUT_OF_RANGE_END
public static final byte OUT_OF_RANGE_START
public static final byte OUT_OF_RANGE_BOTH
Constructor Detail |
---|
public Engine3D(Rotation3D rotation, Vector lightDirection, double viewerWidth, double viewerHeight, double viewingDistance, double modelingDistance, double hitherDistance, double yonDistance, double perspectiveDistance)
rotation
- lightDirection
- viewerWidth
- viewerHeight
- viewingDistance
- hitherDistance
- yonDistance
- public Engine3D(Rotation3D rotation, Vector lightDirection, double viewerWidth, double viewerHeight)
rotation
- lightDirection
- viewerWidth
- viewerHeight
- Method Detail |
---|
public void reset()
public void translate(Vector v)
v
- public byte checkClipping(Vector start, Vector end)
start
- end
-
public PrimitiveRenderEvent processEvent(PrimitiveRenderEvent event, double xOffset, double yOffset)
renderingEvents
-
public PrimitiveRenderEvent processEvent_noclip(PrimitiveRenderEvent event, double xOffset, double yOffset)
renderingEvents
-
public java.util.List processEvent(java.util.List renderingEvents, double xOffset, double yOffset)
renderingEvents
-
public WrappedInstruction getSharedEdge(I3DRenderEvent event1, I3DRenderEvent event2, double xOffset, double yOffset)
public Vector getViewReferencePoint()
public static Object3D getObjectFromEvent(java.lang.Object event)
public static Object3D getParentObject(java.lang.Object event)
public static Object3D getObjectFromEvent(java.lang.Object event, boolean bParent)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |