de.grogra.imp3d
| Modifier and Type | Field and Description |
|---|---|
protected Vector3d |
direction |
protected PickList |
list |
protected Point3d |
origin |
layer, state, transformation| Constructor and Description |
|---|
PickRayVisitor() |
| Modifier and Type | Method and Description |
|---|---|
void |
pick(View3D view,
int x,
int y,
Point3d origin,
Vector3d direction,
PickList list) |
static void |
pickLine(Point3d basis,
Vector3d axis,
Point3d origin,
Vector3d direction,
Matrix4d transformation,
PickList list,
int tolerance) |
static void |
pickLines(LineArray lines,
Point3d origin,
Vector3d direction,
Matrix4d transformation,
PickList list,
int tolerance) |
static void |
pickPoint(Point3d origin,
Vector3d direction,
Matrix4d transformation,
PickList list,
int tolerance) |
static void |
pickPoint(Point3d origin,
Vector3d direction,
Point3d point,
Matrix4d transformation,
PickList list,
int tolerance) |
protected void |
visitEnterImpl(java.lang.Object object,
boolean asNode,
Path path)
This method has to be implemented by subclasses.
|
protected void |
visitLeaveImpl(java.lang.Object object,
boolean asNode,
Path path)
This method has to be implemented by subclasses.
|
getCurrentTransformation, getGraphState, init, visitEnter, visitEnter, visitInstanceEnter, visitInstanceLeave, visitLeaveprotected final Vector3d direction
protected PickList list
protected final Point3d origin
public static void pickLine(Point3d basis, Vector3d axis, Point3d origin, Vector3d direction, Matrix4d transformation, PickList list, int tolerance)
public static void pickLines(LineArray lines, Point3d origin, Vector3d direction, Matrix4d transformation, PickList list, int tolerance)
public static void pickPoint(Point3d origin, Vector3d direction, Matrix4d transformation, PickList list, int tolerance)
public static void pickPoint(Point3d origin, Vector3d direction, Point3d point, Matrix4d transformation, PickList list, int tolerance)
protected void visitEnterImpl(java.lang.Object object,
boolean asNode,
Path path)
Visitor3Dobject is entered.visitEnterImpl in class Visitor3Dobject - the object being enteredasNode - is object a node or an edge?path - the path to object if object
is a node, the path to the node where object points to
if object is an edgeprotected void visitLeaveImpl(java.lang.Object object,
boolean asNode,
Path path)
Visitor3Dobject is left.visitLeaveImpl in class Visitor3Dobject - the object being leftasNode - is object a node or an edge?path - the path to object if object
is a node, the path to the node where object points to
if object is an edge