subclassing pfGroup

New Message Reply Date view Thread view Subject view Author view

Swaminathan (swami++at++evl.eecs.uic.edu)
Wed, 27 Mar 1996 23:11:05 -0600 (CST)


Hi, I implementing a vrml viewer using Performer and the inventor loader.
I'm subclassing pfGroup into pfWWWinline and pfWWWAnchor nodes to help
me have full vrml functionality. Unfortunately, I dont have much
information on subclassing nodes, other than the instances in the pfiv
source code. A specific question is whether to include other functions
besides pfWWWInline::app(pfTraverser *) as detailed in the inventor
loader. Pointers to source code examples of subclassing and comments in
general are greatly appreciated.

bye
Swami

P.S. I've added name, and bounding box fields to extend the pfGroup node
to be a pfWWWInline node. When I load in the inlines, I attach the
subgraphs to the pfWWWinline node using AddChild().

 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
v Swaminathan Narayanan ^
v swami++at++evl.eecs.uic.edu ^
v Office: 996-3002 ^
v Home: 850-3725 ^
v Fax: 413-0447 ^
v http://www.eecs.uic.edu/~snarayan ^
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:52:35 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.