File: vtkWin32OpenGLRenderWindowTest.cs

package info (click to toggle)
activiz.net 1%3A1.0~git20111214-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 11,280 kB
  • ctags: 5,957
  • sloc: cs: 28,767; python: 915; cpp: 130; makefile: 35; sh: 11
file content (22 lines) | stat: -rw-r--r-- 540 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
// Class name is always file base name with "Class" appended:
//
/// <summary>
/// VTK test class
/// </summary>
public class vtkWin32OpenGLRenderWindowTestClass
{
  // Static void method with same signature as "Main" is always
  // file base name:
  //
  /// <summary>
  /// VTK test Main method
  /// </summary>
  public static void vtkWin32OpenGLRenderWindowTest(string[] args)
  {
    Kitware.VTK.vtkRenderWindow v = Kitware.VTK.vtkRenderWindow.New();
    System.Console.WriteLine(v.ToString());

    v.Render();
    v.Dispose();
  }
}