Module imp3d

Interface Pickable

All Known Subinterfaces:
CollectionDisplayable
All Known Implementing Classes:
Arrange, Box, CollectionDisplay, CollectionDisplayHandler, CollectionMesh, CollectionMeshHandler, CollectionPoint, CollectionPointHandler, Cone, Cylinder, FirmamentNode, FlexNode, FloatArrayHandler, Frustum, FrustumBase, FrustumIrregular, GPP, GridClonerNode, GRSVertex, GWedge, Horn, Hydra, Lamella, LeafLineImpl, LeafMeshImpl, LeafPointImpl, Legend, LightModelVisualizer, LightNode, Line, Mark, MeshNode, NullWithShaderNode, NumericLabel, NURBSSurface, Parallelogram, Patch, PhiBall, Plane, Point, PointCloudD, PointCloudImpl, Polygon, PrismRectangular, SensorNode, Sky, Sphere, SphereSegment, SphereSegmentSolid, Supershape, TextBlock, TextLabel, TextLabelBase, Tree, Vertex, VoronoiCell, VoxelSpaceNode

public interface Pickable
Pickable is implemented by shapes which know how to compute intersections of a ray with themselves.
Author:
Ole Kniemeyer
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    pick(Object object, boolean asNode, Point3d origin, Vector3d direction, Matrix4d transformation, PickList list)
    Computes intersections of a given ray with this shape.
  • Method Details

    • pick

      void pick(Object object, boolean asNode, Point3d origin, Vector3d direction, Matrix4d transformation, PickList list)
      Computes intersections of a given ray with this shape.
      Parameters:
      object - the object of which this shape is an attribute
      asNode - true iff object is a node
      origin - the origin of the ray, in local coordinates
      direction - the direction of the ray, in local coordinates
      transformation - the transformation from local coordinates to world coordinates
      list - the list to which intersections have to be added