//====================================================================
//#
//#  vtkActorToPF.h                                   ##   ##
//#                                                   ##   ## 
//#  Authors: Paul Rajlich, Rob Stein, Randy Heiland  #######
//#  Email: prajlich@ncsa.uiuc.edu                    ##   ##
//#  Date created:                                    ##   ##
//#
//#  Description: function prototypes
//#
//====================================================================
//# Copyright (C) 1998 Board of Trustees of the University of Illinois
//====================================================================

#ifndef VTK_ACTOR_TO_PF_H
#define VTK_ACTOR_TO_PF_H

//**************
//*INCLUDE FILES
//**************

#include <Performer/pf/pfChannel.h>
#include <Performer/pf/pfLightSource.h>
#include <Performer/pf/pfTraverser.h>
#include <Performer/pf/pfGeode.h>
#include <Performer/pf/pfSCS.h>
#include <Performer/pr/pfGeoSet.h>
#include <Performer/pfutil.h>
#include "vtkCommon.h"
#include "vtkGraphics.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <unistd.h>
#include <fcntl.h>

//*******
//DEFINES
//*******

const int POINTS = 0;
const int LINES = 1;
const int POLYS = 2;
const int STRIPS = 3;

//*******************
//FUNCTION PROTOTYPES
//*******************

pfGeode* vtkActorToPF(vtkActor *actor, pfGeode *geode = NULL,
                      int verbose=0, int lighting=1);
void processPrimitive(vtkActor *actor, vtkCellArray *primArray,
                      int primType, pfGeode *geode,
                      int verbose=0, int lighting=1);

#endif
