public final class Engine3D extends java.lang.Object implements IConstants
Modifier and Type | Field and Description |
---|---|
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.
|
ABOVE, ANCILLARY_AXIS, ANCILLARY_BASE, ARRAY, AUTO, AVERAGE, AXIS, BACKWARD, BASE, BASE_AXIS, BELOW, BIG_NUMBER_PRIMITIVE_ARRAY, 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, NUMBER_PRIMITIVE_ARRAY, 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 and Description |
---|
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) |
Modifier and Type | Method and Description |
---|---|
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)
Transforms 3D polygons and sort their rendering order, and antialias.
|
java.util.List |
processEvent(java.util.List renderingEvents,
double xOffset,
double yOffset,
boolean antialiasing)
Transforms 3D polygons and sort their rendering order, and antialias.
|
PrimitiveRenderEvent |
processEvent(PrimitiveRenderEvent event,
double xOffset,
double yOffset) |
void |
reset()
Resets the engine to default state.
|
void |
translate(Vector v)
Translates the view frame.
|
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
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
- 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
- xOffset
- yOffset
- public java.util.List processEvent(java.util.List renderingEvents, double xOffset, double yOffset, boolean antialiasing)
renderingEvents
- xOffset
- yOffset
- antialiasing
- 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)
event
- public static Object3D getObjectFromEvent(java.lang.Object event, boolean bParent)
Copyright © 2005-2008 Actuate Corp. All rights reserved.