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.vtkAreaPicker Class Reference

vtkAreaPicker - Picks props behind a selection rectangle on a viewport. More...

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

List of all members.

Public Member Functions

 vtkAreaPicker (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkAreaPicker ()
 Undocumented Block.
virtual int AreaPick (double x0, double y0, double x1, double y1, vtkRenderer renderer)
 Perform pick operation in volume behind the given screen coordinates. Props intersecting the selection frustum will be accessible via GetProp3D. GetPlanes returns a vtkImplicitFunciton suitable for vtkExtractGeometry.
virtual vtkPoints GetClipPoints ()
 Return eight points that define the selection frustum.
virtual vtkDataSet GetDataSet ()
 Get a pointer to the dataset that was picked (if any). If nothing was picked then NULL is returned.
virtual vtkPlanes GetFrustum ()
 Return the six planes that define the selection frustum. The implicit function defined by the planes evaluates to negative inside and positive outside.
virtual vtkAbstractMapper3D GetMapper ()
 Return mapper that was picked (if any).
vtkProp3DCollection GetProp3Ds ()
 Return a collection of all the prop 3D's that were intersected by the pick ray. This collection is not sorted.
override int IsA (string type)
 Undocumented Block.
new vtkAreaPicker NewInstance ()
 Undocumented Block.
virtual int Pick ()
 Perform an AreaPick within the default screen rectangle and renderer.
override int Pick (double x0, double y0, double arg2, vtkRenderer renderer)
 Perform pick operation in volume behind the given screen coordinate. This makes a thin frustum around the selected pixel. Note: this ignores Z in order to pick everying in a volume from z=0 to z=1.
void SetPickCoords (double x0, double y0, double x1, double y1)
 Set the default screen rectangle to pick in.
void SetRenderer (vtkRenderer arg0)
 Set the default renderer to pick on.

Static Public Member Functions

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

Public Attributes

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

Static Public Attributes

static new readonly string MRClassNameKey = "13vtkAreaPicker"
 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 vtkAreaPicker_New (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal int vtkAreaPicker_AreaPick_01 (HandleRef pThis, double x0, double y0, double x1, double y1, HandleRef renderer)
static internal IntPtr vtkAreaPicker_GetClipPoints_02 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkAreaPicker_GetDataSet_03 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkAreaPicker_GetFrustum_04 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkAreaPicker_GetMapper_05 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkAreaPicker_GetProp3Ds_06 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal int vtkAreaPicker_IsA_07 (HandleRef pThis, string type)
static internal int vtkAreaPicker_IsTypeOf_08 (string type)
static internal IntPtr vtkAreaPicker_NewInstance_10 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal int vtkAreaPicker_Pick_11 (HandleRef pThis)
static internal int vtkAreaPicker_Pick_12 (HandleRef pThis, double x0, double y0, double arg2, HandleRef renderer)
static internal IntPtr vtkAreaPicker_SafeDownCast_13 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkAreaPicker_SetPickCoords_14 (HandleRef pThis, double x0, double y0, double x1, double y1)
static internal void vtkAreaPicker_SetRenderer_15 (HandleRef pThis, HandleRef arg0)

Static Private Member Functions

static vtkAreaPicker ()
 Automatically generated type registration mechanics.

Detailed Description

vtkAreaPicker - Picks props behind a selection rectangle on a viewport.

Description The vtkAreaPicker picks all vtkProp3Ds that lie behind the screen space rectangle from x0,y0 and x1,y1. The selection is based upon the bounding box of the prop and is thus not exact.

Like vtkPicker, a pick results in a list of Prop3Ds because many props may lie within the pick frustum. You can also get an AssemblyPath, which in this case is defined to be the path to the one particular prop in the Prop3D list that lies nearest to the near plane.

This picker also returns the selection frustum, defined as either a vtkPlanes, or a set of eight corner vertices in world space. The vtkPlanes version is an ImplicitFunction, which is suitable for use with the vtkExtractGeometry. The six frustum planes are in order: left, right, bottom, top, near, far

Because this picker picks everything within a volume, the world pick point result is ill-defined. Therefore if you ask this class for the world pick position, you will get the centroid of the pick frustum. This may be outside of all props in the prop list.

vtkInteractorStyleRubberBandPick, vtkExtractSelectedFrustum.


Constructor & Destructor Documentation

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

Automatically generated type registration mechanics.

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

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

Undocumented Block.


Member Function Documentation

virtual int Kitware.VTK.vtkAreaPicker.AreaPick ( double  x0,
double  y0,
double  x1,
double  y1,
vtkRenderer  renderer 
) [virtual]

Perform pick operation in volume behind the given screen coordinates. Props intersecting the selection frustum will be accessible via GetProp3D. GetPlanes returns a vtkImplicitFunciton suitable for vtkExtractGeometry.

Reimplemented in Kitware.VTK.vtkRenderedAreaPicker.

override void Kitware.VTK.vtkAreaPicker.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.vtkRenderedAreaPicker.

Return eight points that define the selection frustum.

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 the six planes that define the selection frustum. The implicit function defined by the planes evaluates to negative inside and positive outside.

Here is the call graph for this function:

Return mapper that was picked (if any).

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:

override int Kitware.VTK.vtkAreaPicker.IsA ( string  type) [virtual]

Undocumented Block.

Reimplemented from Kitware.VTK.vtkAbstractPropPicker.

Reimplemented in Kitware.VTK.vtkRenderedAreaPicker.

static new int Kitware.VTK.vtkAreaPicker.IsTypeOf ( string  type) [static]

Undocumented Block.

Reimplemented from Kitware.VTK.vtkAbstractPropPicker.

Reimplemented in Kitware.VTK.vtkRenderedAreaPicker.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

Reimplemented in Kitware.VTK.vtkRenderedAreaPicker.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkAbstractPropPicker.

Reimplemented in Kitware.VTK.vtkRenderedAreaPicker.

virtual int Kitware.VTK.vtkAreaPicker.Pick ( ) [virtual]

Perform an AreaPick within the default screen rectangle and renderer.

override int Kitware.VTK.vtkAreaPicker.Pick ( double  x0,
double  y0,
double  arg2,
vtkRenderer  renderer 
) [virtual]

Perform pick operation in volume behind the given screen coordinate. This makes a thin frustum around the selected pixel. Note: this ignores Z in order to pick everying in a volume from z=0 to z=1.

Reimplemented from Kitware.VTK.vtkAbstractPicker.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkAbstractPropPicker.

Reimplemented in Kitware.VTK.vtkRenderedAreaPicker.

Here is the call graph for this function:

void Kitware.VTK.vtkAreaPicker.SetPickCoords ( double  x0,
double  y0,
double  x1,
double  y1 
)

Set the default screen rectangle to pick in.

Set the default renderer to pick on.

static internal int Kitware.VTK.vtkAreaPicker.vtkAreaPicker_AreaPick_01 ( HandleRef  pThis,
double  x0,
double  y0,
double  x1,
double  y1,
HandleRef  renderer 
) [private]
static internal IntPtr Kitware.VTK.vtkAreaPicker.vtkAreaPicker_GetClipPoints_02 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkAreaPicker.vtkAreaPicker_GetDataSet_03 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkAreaPicker.vtkAreaPicker_GetFrustum_04 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkAreaPicker.vtkAreaPicker_GetMapper_05 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkAreaPicker.vtkAreaPicker_GetProp3Ds_06 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal int Kitware.VTK.vtkAreaPicker.vtkAreaPicker_IsA_07 ( HandleRef  pThis,
string  type 
) [private]
static internal int Kitware.VTK.vtkAreaPicker.vtkAreaPicker_IsTypeOf_08 ( string  type) [private]
static internal IntPtr Kitware.VTK.vtkAreaPicker.vtkAreaPicker_New ( ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkAreaPicker.vtkAreaPicker_NewInstance_10 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal int Kitware.VTK.vtkAreaPicker.vtkAreaPicker_Pick_11 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkAreaPicker.vtkAreaPicker_Pick_12 ( HandleRef  pThis,
double  x0,
double  y0,
double  arg2,
HandleRef  renderer 
) [private]
static internal IntPtr Kitware.VTK.vtkAreaPicker.vtkAreaPicker_SafeDownCast_13 ( HandleRef  o,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkAreaPicker.vtkAreaPicker_SetPickCoords_14 ( HandleRef  pThis,
double  x0,
double  y0,
double  x1,
double  y1 
) [private]
static internal void Kitware.VTK.vtkAreaPicker.vtkAreaPicker_SetRenderer_15 ( HandleRef  pThis,
HandleRef  arg0 
) [private]

Member Data Documentation

new readonly string Kitware.VTK.vtkAreaPicker.MRClassNameKey = "13vtkAreaPicker" [static]

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkAbstractPropPicker.

Reimplemented in Kitware.VTK.vtkRenderedAreaPicker.

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

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkAbstractPropPicker.

Reimplemented in Kitware.VTK.vtkRenderedAreaPicker.


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