-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathvtkProgrammableAttributeDataFilter_Extra.cs
More file actions
25 lines (22 loc) · 1.09 KB
/
vtkProgrammableAttributeDataFilter_Extra.cs
File metadata and controls
25 lines (22 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/// <summary>
/// Managed/.NET signature for handlers of the SetExecuteMethod callback.
/// </summary>
public delegate void ExecuteMethodHandler(IntPtr arg);
[DllImport(vtkGraphicsEL_dll, EntryPoint = "vtkProgrammableAttributeDataFilter_SetExecuteMethod")]
internal static extern void vtkProgrammableAttributeDataFilter_SetExecuteMethod(HandleRef pThis, ExecuteMethodHandler handler, IntPtr arg);
/// <summary>
/// Specify the function to use to operate on the point attribute data. Note
/// that the function takes a single (void *) argument.
/// </summary>
public void SetExecuteMethod(ExecuteMethodHandler handler, IntPtr arg)
{
vtkProgrammableAttributeDataFilter_SetExecuteMethod(this.GetCppThis(), handler, arg);
}
/// <summary>
/// Specify the function to use to operate on the point attribute data. Note
/// that the function takes a single (void *) argument.
/// </summary>
public void SetExecuteMethod(ExecuteMethodHandler handler)
{
vtkProgrammableAttributeDataFilter_SetExecuteMethod(this.GetCppThis(), handler, IntPtr.Zero);
}