PickContext
Utility for determining if objects are picked
Inheritance Hierarchy
System.Object
Rhino.Input.Custom.PickContext
Namespace: Rhino.Input.Custom
Assembly: RhinoCommon (in RhinoCommon.dll)
Syntax
public class PickContext : IDisposable
The PickContext type exposes the following members.
Constructors
Name
Description
Public Method
PickContext
Initializes a new instance of the PickContext class
Properties
Name
Description
Public Property
GetObjectUsed
Public Property
PickGroupsEnabled
True if GroupObjects should be added to the pick list
Public Property
PickLine
pick chord starts on near clipping plane and ends on far clipping plane.
Public Property
PickMode
Public Property
PickStyle
Public Property
SubObjectSelectionEnabled
True if the user had activated sub-object selection
Public Property
View
This view can be a model view or a page view. When view is a page view, then you need to distinguish between the viewports MainViewport() and ActiveViewport(). When m_view is a model view, both MainViewport() and ActiveViewport() return the world view’s viewport.
Methods
Name
Description
Public Method
Dispose.
Releases all resources used by the PickContext
Protected Method
Dispose(Boolean)
Releases the unmanaged resources used by the PickContext and optionally releases the managed resources
Public Method
Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected Method
Finalize
(Overrides Object.Finalize..)
Public Method
GetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public Method
GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected Method
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public Method
PickFrustumTest(BoundingBox, Boolean.)
Fast test to check if a bounding box intersects a pick frustum.
Public Method
PickFrustumTest(Point3d, Double., Double.)
Utility for picking 3d point
Public Method
PickFrustumTest(BezierCurve, Double., Double., Double.)
Public Method
PickFrustumTest(Line, Double., Double., Double.)
Public Method
PickFrustumTest(NurbsCurve, Double., Double., Double.)
Public Method
PickFrustumTest(.Point3d., Int32., Double., Double.)
Public Method
PickFrustumTest(PointCloud, Int32., Double., Double.)
Public Method
PickFrustumTest(Mesh, PickContext.MeshPickStyle, Point3d., Double., Double., PickContext.MeshHitFlag., Int32.)
Utility for picking meshes
Public Method
PickFrustumTest(Mesh, PickContext.MeshPickStyle, Point3d., Point2d., Point2d., Double., Double., PickContext.MeshHitFlag., Int32.)
Utility for picking meshes
Public Method
PickMeshTopologyVertices
Utility for picking mesh vertices
Public Method
SetPickTransform
Public Method
ToString
Returns a string that represents the current object.
(Inherited from Object.)
Public Method
UpdateClippingPlanes
Updates the clipping plane information in pick region. The SetClippingPlanes and View fields must be called before calling UpdateClippingPlanes().