Hansong Zhang (zhangh++at++cs.unc.edu)
Tue, 16 Apr 1996 00:16:03 -0400 (EDT)
I came to see that pfGeoSet::draw() is not a virtual function.
and thus the problem. Now the question is wether there's any
workaround. (this is a C++ question rather than a performer
question.) Any suggestion is appreciated...
Thanks,
Hansong
p.s. An "easy" solution might be for some nice
performer group member to modify the definition of draw() in
pfGeoSet.h, recompile pfGeode and pfGeoSet, and let me have
the new .o files. Is this possible?
> I subclassed pfGeoSet and toke over the draw() function. In my
> test program, I add objects of the derived class to a pfGeode
> object. The problem is that pfGeoSet's draw() gets called
> instead of that of the derived class.
>
> When I use only libpr, myGeoSet->draw() is called explicitly and the
> whole thing works fine.
- -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- -
Hansong Zhang zhangh++at++www cs unc edu
Walkthrough Group http://www.cs.unc.edu/~zhangh
Department of Computer Science (919)962-1835 (O)
UNC-Chapel Hill (919)914-3973 (H)
"I create abstract systems from pure information, Albert. I'm
a *programmer*... Quantum nonlocality is a bug." -- God
= == = == = == = == = == = == = == = == = == = == = == = == =
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:52:42 PDT