OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
vtk2osg.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2002-2003 Michael Gronager, UNI-C
3 *
4 * Distributed under the terms of the GNU Library General Public License (LGPL)
5 * as published by the Free Software Foundation.
6 */
7
8
9#ifndef VTK_ACTOR_TO_OSG_H_
10#define VTK_ACTOR_TO_OSG_H_
11
12#include <vtkActor.h>
13#include <vtkCellArray.h>
14
15#include <osg/Geometry>
16#include <osg/Node>
17#include <osg/PrimitiveSet>
18
22osg::Node *VTKActorToOSG(vtkActor *actor);
23
27osg::Geometry *processPrimitive(vtkActor *actor, vtkCellArray *prim_array, osg::PrimitiveSet::Mode prim_type);
28
29#endif // VTK_ACTOR_TO_OSG_H_
osg::Node * VTKActorToOSG(vtkActor *actor)
Translates vtkActor to osg::Node.
Definition vtk2osg.cpp:26
osg::Geometry * processPrimitive(vtkActor *actor, vtkCellArray *prim_array, osg::PrimitiveSet::Mode prim_type)
Process primitives.
Definition vtk2osg.cpp:59