WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rating: Thread Rating: 15 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #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
 

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 03:00 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC