[vtkusers] HELP!!! vtkActorToPF for vtk4.0

Paul John Rajlich prajlich at ncsa.uiuc.edu
Mon Feb 11 16:24:59 EST 2002


Song,

using the old declaration will work just fine. However, you should be
calling vtkActorToPF(), vtkActorToGeoSets() is intended only as a helper
function for vtkActorToPF().

-Paul

----------------------------------------------------------------------
              Paul J. Rajlich - prajlich at ncsa.uiuc.edu
               Visualization and Virtual Environments
           National Center for Supercomputing Applications
               http://brighton.ncsa.uiuc.edu/~prajlich/
----------------------------------------------------------------------

On Mon, 11 Feb 2002, Song Li wrote:

> Hi, Paul,
>    Thanks a lot !
>    I have another question: in my old version of vtkActorToPF.h, the function
> vtkActorToGeoSets is defined as:
>    void vtkActorToGeoSets(vtkActor *actor, pfGeoSet *gsets[], int verbose=0);
> 
>    while in new version, it doesn't give a value to verbose so I need to
> specify it when call the function, just wondering what is the purpose of this
> change, will simply using the old defination(to fit my old code) works??
>    Anyway, really appraciate your work, wish you and all friends a happy
> chinese new year :-)
> 
> 
> Paul John Rajlich wrote:
> 
> > Song,
> >
> > I have posted a new version of vtkActorToPF that compiles to vtk 4.0 and
> > also to earlier versions of vtk based on a compile flag.
> >
> > Go here:
> >
> > http://brighton.ncsa.uiuc.edu/~prajlich/vtkActorToPF/
> >
> > For those wondering what vtkActorToPF is, it is a small library that
> > allows you to compute using VTK but render using SGI's OpenGL Performer (a
> > scenegraph API). The most common use is for VR systems since vtkActorToPF
> > can be used with the Performer interfaces supported by CAVElib and
> > vrJuggler.
> >
> > -Paul
> >
> > ----------------------------------------------------------------------
> >               Paul J. Rajlich - prajlich at ncsa.uiuc.edu
> >                Visualization and Virtual Environments
> >            National Center for Supercomputing Applications
> >               http://brighton.ncsa.uiuc.edu/~prajlich/
> > ----------------------------------------------------------------------
> >
> > On Thu, 7 Feb 2002, Song Li wrote:
> >
> > > Hi, there,
> > >   Does anybody has new vtkActorToPF(VTK to Performer converter written
> > > by Paul Rajlich, Rob Stein and Randy Heiland from NCSA) which fit VTK4.0
> > > ????????? since the copy I have use incompatible components (with
> > > version 3.2) such as vtkNormals,vtkScalars::GetColor() so
> > > frequently......:-(
> > >
> > >    Thanks.
> > >
> > > --
> > > Song Li
> > > VRAC(Virtual Reality Application Center),Iowa State University
> > > Email: lisong at vrac.iastate.edu
> > > Homepage: http://www.vrac.iastate.edu/~lisong
> > >
> > >
> > >
> 
> --
> Song Li
> VRAC(Virtual Reality Application Center),Iowa State University
> Email: lisong at vrac.iastate.edu
> Homepage: http://www.vrac.iastate.edu/~lisong
> 
> 
> 




More information about the vtkusers mailing list