Manta Interactive Ray Tracer Development Mailing List

Text archives Help


Re: [Manta] Manta::Group


Chronological Thread 
  • From: James Bigler <bigler@cs.utah.edu>
  • Cc: manta@sci.utah.edu
  • Subject: Re: [Manta] Manta::Group
  • Date: Thu, 21 Feb 2008 12:24:11 -0700

On Feb 21, 2008, at 12:20 PM, Li-Ta Lo wrote:

Hi,

I am not so sure if I understand it right. Is Manta::Group designed in
according to the Composite design pattern? I mean Manta:Group is a
container for subclasses of Manta:Object and it can also recursively
contain instances of itself?

I'm not sure what you mean by Composite design pattern, but think of Group as a bucket of Objects, where any action that you can do on an object is performed sequentially on all Objects in the Group.

James





Archive powered by MHonArc 2.6.16.

Top of page