Treffer: OpenGL and VTK interface for.NET
Weitere Informationen
VTK (visualization toolkit) is a large and useful object oriented library for data visualization. The current version (4.0) is also distributed for Win32 platform by means of dynamic linked libraries. Its native language is C++. An interface for Java, Python and TCL exists. These languages provide some subset of the VTK functionality only. Therefore the best use is with C++. OpenGL is well known library for graphics output used in large scale of applications. Interface and behavior of the library is defined in specifications available to wild public. Inner implementation of the interface is matter of operating system and/or graphics hardware providers. Currently existing interface implementations are ready to use within various programming languages. There is necessary to automate the process of wrap-class creation because of the VTK size (more then 700 classes). This process consists of two parts-parsing of C++ headers and generating of appropriate wrap-classes. The parser is distributed with VTK and it is used to generate Java, TCL and Python interfaces and so it is possible to use it in the case of C#. It is not possible for the library user to use inheritance and polymorphism when using the manner described above. A possible way is to use two-level wrapping. The level-one wrap-class is unmanaged and provides calling