View Single Post
  #1  
Old 11-03-2004, 11:38 PM
vjosh vjosh is offline
Member
 
Join Date: Sep 2004
Posts: 17
Creating Subclasses of Vizard Classes

Hey,

I might be in a little over my head here, but is there any convenient way to make a class that inherits all the <node3d> methods? Lets say I'm designing a class that contains a Vizard <node3d> object as one of its data members. Is there a way to allow clients to transform the object in an instance of the class without making them reach in and directly access the object itself? (I suppose another inconvenient alternative is to define wrapper methods that do nothing but call the corresponding method on the <node3d> object, but I'd rather use inheritance if it isn't too much trouble.) There's also another potential complication: I want the <node3d> object contained within the class to be an object created on-the-fly with viz.startlayer/viz.endlayer.

Thanks ahead of time!

-Josh
Reply With Quote