ActiViz .NET
5.8.0
|
vtkScenePicker - Picks an entire viewport at one shot. More...
Public Member Functions | |
vtkScenePicker (IntPtr rawCppThis, bool callDisposalMethod, bool strong) | |
Automatically generated constructor - called from generated code. DO NOT call directly. | |
vtkScenePicker () | |
Undocumented Block. | |
virtual void | EnableVertexPickingOff () |
Vertex picking (using the method GetVertexId()), required additional resources and can slow down still render time by 5-10%. Enabled by default. | |
virtual void | EnableVertexPickingOn () |
Vertex picking (using the method GetVertexId()), required additional resources and can slow down still render time by 5-10%. Enabled by default. | |
int | GetCellId (IntPtr displayPos) |
Get cell id at the pick position. Returns -1 if no cell was picked. Makes sense only after Pick has been called. | |
virtual int | GetEnableVertexPicking () |
Vertex picking (using the method GetVertexId()), required additional resources and can slow down still render time by 5-10%. Enabled by default. | |
virtual vtkRenderer | GetRenderer () |
Set the renderer. Scene picks are restricted to the viewport. | |
int | GetVertexId (IntPtr displayPos) |
Get cell id at the pick position. Returns -1 if no cell was picked. Makes sense only after Pick has been called. | |
vtkProp | GetViewProp (IntPtr displayPos) |
Get actor at the pick position. Returns NULL if none. Makes sense only after Pick has been called. | |
override int | IsA (string type) |
Undocumented Block. | |
new vtkScenePicker | NewInstance () |
Undocumented Block. | |
virtual void | SetEnableVertexPicking (int _arg) |
Vertex picking (using the method GetVertexId()), required additional resources and can slow down still render time by 5-10%. Enabled by default. | |
virtual void | SetRenderer (vtkRenderer arg0) |
Set the renderer. Scene picks are restricted to the viewport. | |
Static Public Member Functions | |
static new vtkScenePicker | New () |
Undocumented Block. | |
static new int | IsTypeOf (string type) |
Undocumented Block. | |
static new vtkScenePicker | SafeDownCast (vtkObjectBase o) |
Undocumented Block. | |
Public Attributes | |
new const string | MRFullTypeName = "Kitware.VTK.vtkScenePicker" |
Automatically generated type registration mechanics. | |
Static Public Attributes | |
static new readonly string | MRClassNameKey = "14vtkScenePicker" |
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 | vtkScenePicker_New (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal void | vtkScenePicker_EnableVertexPickingOff_01 (HandleRef pThis) |
static internal void | vtkScenePicker_EnableVertexPickingOn_02 (HandleRef pThis) |
static internal int | vtkScenePicker_GetCellId_03 (HandleRef pThis, IntPtr displayPos) |
static internal int | vtkScenePicker_GetEnableVertexPicking_04 (HandleRef pThis) |
static internal IntPtr | vtkScenePicker_GetRenderer_05 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal int | vtkScenePicker_GetVertexId_06 (HandleRef pThis, IntPtr displayPos) |
static internal IntPtr | vtkScenePicker_GetViewProp_07 (HandleRef pThis, IntPtr displayPos, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal int | vtkScenePicker_IsA_08 (HandleRef pThis, string type) |
static internal int | vtkScenePicker_IsTypeOf_09 (string type) |
static internal IntPtr | vtkScenePicker_NewInstance_11 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal IntPtr | vtkScenePicker_SafeDownCast_12 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal void | vtkScenePicker_SetEnableVertexPicking_13 (HandleRef pThis, int _arg) |
static internal void | vtkScenePicker_SetRenderer_14 (HandleRef pThis, HandleRef arg0) |
Static Private Member Functions | |
static | vtkScenePicker () |
Automatically generated type registration mechanics. |
vtkScenePicker - Picks an entire viewport at one shot.
Description The Scene picker, unline conventional pickers picks an entire viewport at one shot and caches the result, which can be retrieved later. The utility of the class arises during <b>Actor Selection</b>. Let's say you have a couple of polygonal objects in your scene and you wish to have a status bar that indicates the object your mouse is over. Picking repeatedly every time your mouse moves would be very slow. The scene picker automatically picks your viewport every time the camera is changed and caches the information. Additionally, it observes the vtkRenderWindowInteractor to avoid picking during interaction, so that you still maintain your interactivity. In effect, the picker does an additional pick-render of your scene every time you stop interacting with your scene. As an example, see Rendering/TestScenePicker.
Caveats
static Kitware.VTK.vtkScenePicker.vtkScenePicker | ( | ) | [static, private] |
Automatically generated type registration mechanics.
Kitware.VTK.vtkScenePicker.vtkScenePicker | ( | IntPtr | rawCppThis, |
bool | callDisposalMethod, | ||
bool | strong | ||
) |
Automatically generated constructor - called from generated code. DO NOT call directly.
Undocumented Block.
override void Kitware.VTK.vtkScenePicker.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.vtkObject.
virtual void Kitware.VTK.vtkScenePicker.EnableVertexPickingOff | ( | ) | [virtual] |
Vertex picking (using the method GetVertexId()), required additional resources and can slow down still render time by 5-10%. Enabled by default.
virtual void Kitware.VTK.vtkScenePicker.EnableVertexPickingOn | ( | ) | [virtual] |
Vertex picking (using the method GetVertexId()), required additional resources and can slow down still render time by 5-10%. Enabled by default.
int Kitware.VTK.vtkScenePicker.GetCellId | ( | IntPtr | displayPos | ) |
Get cell id at the pick position. Returns -1 if no cell was picked. Makes sense only after Pick has been called.
virtual int Kitware.VTK.vtkScenePicker.GetEnableVertexPicking | ( | ) | [virtual] |
Vertex picking (using the method GetVertexId()), required additional resources and can slow down still render time by 5-10%. Enabled by default.
virtual vtkRenderer Kitware.VTK.vtkScenePicker.GetRenderer | ( | ) | [virtual] |
Set the renderer. Scene picks are restricted to the viewport.
int Kitware.VTK.vtkScenePicker.GetVertexId | ( | IntPtr | displayPos | ) |
Get cell id at the pick position. Returns -1 if no cell was picked. Makes sense only after Pick has been called.
vtkProp Kitware.VTK.vtkScenePicker.GetViewProp | ( | IntPtr | displayPos | ) |
Get actor at the pick position. Returns NULL if none. Makes sense only after Pick has been called.
override int Kitware.VTK.vtkScenePicker.IsA | ( | string | type | ) | [virtual] |
Undocumented Block.
Reimplemented from Kitware.VTK.vtkObject.
static new int Kitware.VTK.vtkScenePicker.IsTypeOf | ( | string | type | ) | [static] |
Undocumented Block.
Reimplemented from Kitware.VTK.vtkObject.
static new vtkScenePicker Kitware.VTK.vtkScenePicker.New | ( | ) | [static] |
Undocumented Block.
Reimplemented from Kitware.VTK.vtkObject.
Undocumented Block.
Reimplemented from Kitware.VTK.vtkObject.
static new vtkScenePicker Kitware.VTK.vtkScenePicker.SafeDownCast | ( | vtkObjectBase | o | ) | [static] |
Undocumented Block.
Reimplemented from Kitware.VTK.vtkObject.
virtual void Kitware.VTK.vtkScenePicker.SetEnableVertexPicking | ( | int | _arg | ) | [virtual] |
Vertex picking (using the method GetVertexId()), required additional resources and can slow down still render time by 5-10%. Enabled by default.
virtual void Kitware.VTK.vtkScenePicker.SetRenderer | ( | vtkRenderer | arg0 | ) | [virtual] |
Set the renderer. Scene picks are restricted to the viewport.
static internal void Kitware.VTK.vtkScenePicker.vtkScenePicker_EnableVertexPickingOff_01 | ( | HandleRef | pThis | ) | [private] |
static internal void Kitware.VTK.vtkScenePicker.vtkScenePicker_EnableVertexPickingOn_02 | ( | HandleRef | pThis | ) | [private] |
static internal int Kitware.VTK.vtkScenePicker.vtkScenePicker_GetCellId_03 | ( | HandleRef | pThis, |
IntPtr | displayPos | ||
) | [private] |
static internal int Kitware.VTK.vtkScenePicker.vtkScenePicker_GetEnableVertexPicking_04 | ( | HandleRef | pThis | ) | [private] |
static internal IntPtr Kitware.VTK.vtkScenePicker.vtkScenePicker_GetRenderer_05 | ( | HandleRef | pThis, |
ref uint | mteStatus, | ||
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal int Kitware.VTK.vtkScenePicker.vtkScenePicker_GetVertexId_06 | ( | HandleRef | pThis, |
IntPtr | displayPos | ||
) | [private] |
static internal IntPtr Kitware.VTK.vtkScenePicker.vtkScenePicker_GetViewProp_07 | ( | HandleRef | pThis, |
IntPtr | displayPos, | ||
ref uint | mteStatus, | ||
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal int Kitware.VTK.vtkScenePicker.vtkScenePicker_IsA_08 | ( | HandleRef | pThis, |
string | type | ||
) | [private] |
static internal int Kitware.VTK.vtkScenePicker.vtkScenePicker_IsTypeOf_09 | ( | string | type | ) | [private] |
static internal IntPtr Kitware.VTK.vtkScenePicker.vtkScenePicker_New | ( | ref uint | mteStatus, |
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal IntPtr Kitware.VTK.vtkScenePicker.vtkScenePicker_NewInstance_11 | ( | HandleRef | pThis, |
ref uint | mteStatus, | ||
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal IntPtr Kitware.VTK.vtkScenePicker.vtkScenePicker_SafeDownCast_12 | ( | HandleRef | o, |
ref uint | mteStatus, | ||
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal void Kitware.VTK.vtkScenePicker.vtkScenePicker_SetEnableVertexPicking_13 | ( | HandleRef | pThis, |
int | _arg | ||
) | [private] |
static internal void Kitware.VTK.vtkScenePicker.vtkScenePicker_SetRenderer_14 | ( | HandleRef | pThis, |
HandleRef | arg0 | ||
) | [private] |
new readonly string Kitware.VTK.vtkScenePicker.MRClassNameKey = "14vtkScenePicker" [static] |
Automatically generated type registration mechanics.
Reimplemented from Kitware.VTK.vtkObject.
new const string Kitware.VTK.vtkScenePicker.MRFullTypeName = "Kitware.VTK.vtkScenePicker" |
Automatically generated type registration mechanics.
Reimplemented from Kitware.VTK.vtkObject.