ActiViz .NET  5.8.0
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Private Member Functions | Static Private Member Functions
Kitware.VTK.vtkPicker Class Reference

vtkPicker - superclass for 3D geometric pickers (uses ray cast) More...

Inheritance diagram for Kitware.VTK.vtkPicker:
[legend]
Collaboration diagram for Kitware.VTK.vtkPicker:
[legend]

List of all members.

Public Member Functions

 vtkPicker (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkPicker ()
 Undocumented Block.
vtkActorCollection GetActors ()
 Return a collection of all the actors that were intersected. This collection is not sorted. (This is a convenience method to maintain backward compatibility.)
virtual vtkDataSet GetDataSet ()
 Get a pointer to the dataset that was picked (if any). If nothing was picked then NULL is returned.
virtual vtkAbstractMapper3D GetMapper ()
 Return mapper that was picked (if any).
virtual double[] GetMapperPosition ()
 Return position in mapper (i.e., non-transformed) coordinates of pick point.
virtual void GetMapperPosition (IntPtr data)
 Return position in mapper (i.e., non-transformed) coordinates of pick point.
vtkPoints GetPickedPositions ()
 Return a list of the points the the actors returned by GetProp3Ds were intersected at. The order of this list will match the order of GetProp3Ds.
vtkProp3DCollection GetProp3Ds ()
 Return a collection of all the prop 3D's that were intersected by the pick ray. This collection is not sorted.
virtual double GetTolerance ()
 Specify tolerance for performing pick operation. Tolerance is specified as fraction of rendering window size. (Rendering window size is measured across diagonal.)
override int IsA (string type)
 Undocumented Block.
new vtkPicker NewInstance ()
 Undocumented Block.
override int Pick (double selectionX, double selectionY, double selectionZ, vtkRenderer renderer)
 Perform pick operation with selection point provided. Normally the first two values for the selection point are x-y pixel coordinate, and the third value is =0. Return non-zero if something was successfully picked.
new int Pick (IntPtr selectionPt, vtkRenderer ren)
 Perform pick operation with selection point provided. Normally the first two values for the selection point are x-y pixel coordinate, and the third value is =0. Return non-zero if something was successfully picked.
virtual void SetTolerance (double _arg)
 Specify tolerance for performing pick operation. Tolerance is specified as fraction of rendering window size. (Rendering window size is measured across diagonal.)

Static Public Member Functions

static new vtkPicker New ()
 Undocumented Block.
static new int IsTypeOf (string type)
 Undocumented Block.
static new vtkPicker SafeDownCast (vtkObjectBase o)
 Undocumented Block.

Public Attributes

new const string MRFullTypeName = "Kitware.VTK.vtkPicker"
 Automatically generated type registration mechanics.

Static Public Attributes

static new readonly string MRClassNameKey = "9vtkPicker"
 Automatically generated type registration mechanics.

Protected Member Functions

override void Dispose (bool disposing)
 Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.

Private Member Functions

static internal IntPtr vtkPicker_New (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkPicker_GetActors_01 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkPicker_GetDataSet_02 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkPicker_GetMapper_03 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkPicker_GetMapperPosition_04 (HandleRef pThis)
static internal void vtkPicker_GetMapperPosition_05 (HandleRef pThis, IntPtr data)
static internal IntPtr vtkPicker_GetPickedPositions_06 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkPicker_GetProp3Ds_07 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal double vtkPicker_GetTolerance_08 (HandleRef pThis)
static internal int vtkPicker_IsA_09 (HandleRef pThis, string type)
static internal int vtkPicker_IsTypeOf_10 (string type)
static internal IntPtr vtkPicker_NewInstance_12 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal int vtkPicker_Pick_13 (HandleRef pThis, double selectionX, double selectionY, double selectionZ, HandleRef renderer)
static internal int vtkPicker_Pick_14 (HandleRef pThis, IntPtr selectionPt, HandleRef ren)
static internal IntPtr vtkPicker_SafeDownCast_15 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkPicker_SetTolerance_16 (HandleRef pThis, double _arg)

Static Private Member Functions

static vtkPicker ()
 Automatically generated type registration mechanics.

Detailed Description

vtkPicker - superclass for 3D geometric pickers (uses ray cast)

Description vtkPicker is used to select instances of vtkProp3D by shooting a ray into a graphics window and intersecting with the actor's bounding box. The ray is defined from a point defined in window (or pixel) coordinates, and a point located from the camera's position.

vtkPicker may return more than one vtkProp3D, since more than one bounding box may be intersected. vtkPicker returns an unsorted list of props that were hit, and a list of the corresponding world points of the hits. For the vtkProp3D that is closest to the camera, vtkPicker returns the pick coordinates in world and untransformed mapper space, the prop itself, the data set, and the mapper. For vtkPicker the closest prop is the one whose center point (i.e., center of bounding box) projected on the view ray is closest to the camera. Subclasses of vtkPicker use other methods for computing the pick point.


Constructor & Destructor Documentation

static Kitware.VTK.vtkPicker.vtkPicker ( ) [static, private]

Automatically generated type registration mechanics.

Kitware.VTK.vtkPicker.vtkPicker ( IntPtr  rawCppThis,
bool  callDisposalMethod,
bool  strong 
)

Automatically generated constructor - called from generated code. DO NOT call directly.

Undocumented Block.


Member Function Documentation

override void Kitware.VTK.vtkPicker.Dispose ( bool  disposing) [protected]

Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.

Reimplemented from Kitware.VTK.vtkAbstractPropPicker.

Reimplemented in Kitware.VTK.vtkCellPicker, Kitware.VTK.vtkVolumePicker, and Kitware.VTK.vtkPointPicker.

Return a collection of all the actors that were intersected. This collection is not sorted. (This is a convenience method to maintain backward compatibility.)

Here is the call graph for this function:

Get a pointer to the dataset that was picked (if any). If nothing was picked then NULL is returned.

Here is the call graph for this function:

Return mapper that was picked (if any).

Here is the call graph for this function:

virtual double [] Kitware.VTK.vtkPicker.GetMapperPosition ( ) [virtual]

Return position in mapper (i.e., non-transformed) coordinates of pick point.

virtual void Kitware.VTK.vtkPicker.GetMapperPosition ( IntPtr  data) [virtual]

Return position in mapper (i.e., non-transformed) coordinates of pick point.

Return a list of the points the the actors returned by GetProp3Ds were intersected at. The order of this list will match the order of GetProp3Ds.

Here is the call graph for this function:

Return a collection of all the prop 3D's that were intersected by the pick ray. This collection is not sorted.

Here is the call graph for this function:

virtual double Kitware.VTK.vtkPicker.GetTolerance ( ) [virtual]

Specify tolerance for performing pick operation. Tolerance is specified as fraction of rendering window size. (Rendering window size is measured across diagonal.)

override int Kitware.VTK.vtkPicker.IsA ( string  type) [virtual]
static new int Kitware.VTK.vtkPicker.IsTypeOf ( string  type) [static]
static new vtkPicker Kitware.VTK.vtkPicker.New ( ) [static]

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

Reimplemented in Kitware.VTK.vtkCellPicker, Kitware.VTK.vtkVolumePicker, and Kitware.VTK.vtkPointPicker.

override int Kitware.VTK.vtkPicker.Pick ( double  selectionX,
double  selectionY,
double  selectionZ,
vtkRenderer  renderer 
) [virtual]

Perform pick operation with selection point provided. Normally the first two values for the selection point are x-y pixel coordinate, and the third value is =0. Return non-zero if something was successfully picked.

Reimplemented from Kitware.VTK.vtkAbstractPicker.

Reimplemented in Kitware.VTK.vtkCellPicker.

new int Kitware.VTK.vtkPicker.Pick ( IntPtr  selectionPt,
vtkRenderer  ren 
)

Perform pick operation with selection point provided. Normally the first two values for the selection point are x-y pixel coordinate, and the third value is =0. Return non-zero if something was successfully picked.

Reimplemented from Kitware.VTK.vtkAbstractPicker.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkAbstractPropPicker.

Reimplemented in Kitware.VTK.vtkCellPicker, Kitware.VTK.vtkVolumePicker, and Kitware.VTK.vtkPointPicker.

Here is the call graph for this function:

virtual void Kitware.VTK.vtkPicker.SetTolerance ( double  _arg) [virtual]

Specify tolerance for performing pick operation. Tolerance is specified as fraction of rendering window size. (Rendering window size is measured across diagonal.)

static internal IntPtr Kitware.VTK.vtkPicker.vtkPicker_GetActors_01 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkPicker.vtkPicker_GetDataSet_02 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkPicker.vtkPicker_GetMapper_03 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkPicker.vtkPicker_GetMapperPosition_04 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkPicker.vtkPicker_GetMapperPosition_05 ( HandleRef  pThis,
IntPtr  data 
) [private]
static internal IntPtr Kitware.VTK.vtkPicker.vtkPicker_GetPickedPositions_06 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkPicker.vtkPicker_GetProp3Ds_07 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal double Kitware.VTK.vtkPicker.vtkPicker_GetTolerance_08 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkPicker.vtkPicker_IsA_09 ( HandleRef  pThis,
string  type 
) [private]
static internal int Kitware.VTK.vtkPicker.vtkPicker_IsTypeOf_10 ( string  type) [private]
static internal IntPtr Kitware.VTK.vtkPicker.vtkPicker_New ( ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkPicker.vtkPicker_NewInstance_12 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal int Kitware.VTK.vtkPicker.vtkPicker_Pick_13 ( HandleRef  pThis,
double  selectionX,
double  selectionY,
double  selectionZ,
HandleRef  renderer 
) [private]
static internal int Kitware.VTK.vtkPicker.vtkPicker_Pick_14 ( HandleRef  pThis,
IntPtr  selectionPt,
HandleRef  ren 
) [private]
static internal IntPtr Kitware.VTK.vtkPicker.vtkPicker_SafeDownCast_15 ( HandleRef  o,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkPicker.vtkPicker_SetTolerance_16 ( HandleRef  pThis,
double  _arg 
) [private]

Member Data Documentation

new readonly string Kitware.VTK.vtkPicker.MRClassNameKey = "9vtkPicker" [static]

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkAbstractPropPicker.

Reimplemented in Kitware.VTK.vtkCellPicker, Kitware.VTK.vtkVolumePicker, and Kitware.VTK.vtkPointPicker.

new const string Kitware.VTK.vtkPicker.MRFullTypeName = "Kitware.VTK.vtkPicker"

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkAbstractPropPicker.

Reimplemented in Kitware.VTK.vtkCellPicker, Kitware.VTK.vtkVolumePicker, and Kitware.VTK.vtkPointPicker.


The documentation for this class was generated from the following file: