MeVisLabToolboxReference
|
00001 // **InsertLicense** code 00002 //---------------------------------------------------------------------------------- 00005 00010 //---------------------------------------------------------------------------------- 00011 00012 #ifndef __mlVTKCommonWrappers_H 00013 #define __mlVTKCommonWrappers_H 00014 00015 // Include dll-specific settings. 00016 #include "mlInitSystemVTKSupport.h" 00017 #include "mlVTKMLBaseWrapper.h" 00018 00019 #include <vtkObject.h> 00020 #include <vtkDataObject.h> 00021 #include <vtkActor.h> 00022 #include <vtkMapper.h> 00023 #include <vtkSource.h> 00024 #include <vtkRenderer.h> 00025 00027 typedef vtkObject vtkObjectType; 00028 00029 ML_START_NAMESPACE 00030 00038 MLVTK_SUPPORT_EXPORT vtkObject* checkPointer(const std::string &reqConnectType, 00039 vtkObject *vtkObjPtr); 00040 00041 00042 // Termination criterion must be set correctly in Base classes 00043 // by specifying class name == super class name as 3rd macro parameter! 00044 // Otherwise checks for inheritance and base classes will not terminate! 00045 00046 // Type to be wrapped | Pointer to wrapped type | Class name of Base wrapper | Superclass wrapped type | dll-Export macro 00047 ML_CREATE_BASE_WRAPPER_FOR_OBJECT_H(vtkObjectType, vtkObjectType*, vtkObjectTypeWrapper, vtkObjectType, MLVTK_SUPPORT_EXPORT) 00048 00049 00050 MLVTK_SUPPORT_EXPORT int VTKCommonTypesAndWrappersInit(); 00051 00052 ML_END_NAMESPACE 00053 00054 #endif