File: vtkProgrammableAttributeDataFilter_Extra.cs

package info (click to toggle)
activiz.net 1%3A1.0~git20111123-6
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 11,220 kB
  • sloc: cs: 28,767; python: 901; cpp: 130; makefile: 34; sh: 11
file content (25 lines) | stat: -rw-r--r-- 1,113 bytes parent folder | download | duplicates (2)
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);
   }