//C++ header - fIVE|Analyse - Copyright (C) 2002-2003 Michael Gronager, UNI-C //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. #ifndef VTKACTORTOOSG_H #define VTKACTORTOOSG_H #ifdef _OSG #include #include #include #include #include #include #include "VE_Installer/include/VEConfig.h" namespace VE_SceneGraph { // vtkActorToOSG - translates vtkActor to osg::Geode. If geode is NULL, new one // will be created. Optional verbose parameter prints debugging and // performance information. VE_SCENEGRAPH_EXPORTS osg::ref_ptr< osg::Geode > vtkActorToOSG(vtkActor* actor, osg::ref_ptr< osg::Geode > geode = NULL, int verbose=0); VE_SCENEGRAPH_EXPORTS osg::ref_ptr< osg::Geometry > processPrimitive(vtkActor *a, vtkCellArray *prims, int pType, int v); } #endif #endif