java.lang.Object
de.grogra.imp3d.Visitor3D
de.grogra.pointcloud.navigation.PickRayVisitor
- All Implemented Interfaces:
Visitor
,PickVisitor
,PickVisitor3D
The only difference with imp3d.PickRayVisitor is that this one ignores the Grahp.IGNORED_EDGE
-
Field Summary
Modifier and TypeFieldDescriptionprotected final Vector3d
protected PickList
protected final Point3d
Fields inherited from class de.grogra.imp3d.Visitor3D
layer, resolution, state, transformation
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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
(Object object, boolean asNode, Path path) This method has to be implemented by subclasses.protected void
visitLeaveImpl
(Object object, boolean asNode, Path path) This method has to be implemented by subclasses.Methods inherited from class de.grogra.imp3d.Visitor3D
getCurrentTransformation, getGraphState, init, setResolution, visitEnter, visitEnter, visitInstanceEnter, visitInstanceLeave, visitLeave
-
Field Details
-
list
-
origin
-
direction
-
-
Constructor Details
-
PickRayVisitor
public PickRayVisitor()
-
-
Method Details
-
pick
- Specified by:
pick
in interfacePickVisitor3D
-
visitEnterImpl
Description copied from class:Visitor3D
This method has to be implemented by subclasses. It is invoked whenobject
is entered.- Specified by:
visitEnterImpl
in classVisitor3D
- Parameters:
object
- the object being enteredasNode
- isobject
a node or an edge?path
- the path toobject
ifobject
is a node, the path to the node whereobject
points to ifobject
is an edge
-
visitLeaveImpl
Description copied from class:Visitor3D
This method has to be implemented by subclasses. It is invoked whenobject
is left.- Specified by:
visitLeaveImpl
in classVisitor3D
- Parameters:
object
- the object being leftasNode
- isobject
a node or an edge?path
- the path toobject
ifobject
is a node, the path to the node whereobject
points to ifobject
is an edge
-
pickLines
-
pickLine
-
pickPoint
-
pickPoint
-