Skip to content

PickContext

Public Class

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

Initializes a new instance of the PickContext class


Properties

Name

Description


Public Property

Public Property

True if GroupObjects should be added to the pick list


Public Property

pick chord starts on near clipping plane and ends on far clipping plane.


Public Property

Public Property

Public Property

True if the user had activated sub-object selection


Public Property

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

Releases all resources used by the PickContext


Protected Method

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

(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

Fast test to check if a bounding box intersects a pick frustum.


Public Method

Utility for picking 3d point


Public Method

Public Method

Public Method

Public Method

Public Method

Public Method

Utility for picking meshes


Public Method

Utility for picking meshes


Public Method

Utility for picking mesh vertices


Public Method

Public Method

ToString

Returns a string that represents the current object.

(Inherited from Object.)


Public Method

Updates the clipping plane information in pick region. The SetClippingPlanes and View fields must be called before calling UpdateClippingPlanes().