Manta Interactive Ray Tracer Development Mailing List

Text archives Help


Re: [Manta] Manta::Group


Chronological Thread 
  • From: Li-Ta Lo <ollie@lanl.gov>
  • To: manta@sci.utah.edu
  • Subject: Re: [Manta] Manta::Group
  • Date: Thu, 21 Feb 2008 12:37:25 -0700
  • Organization: Los Alamos National Lab


On Thu, 2008-02-21 at 12:24 -0700, James Bigler wrote:
> 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.
> 

What operations can we "do" to the Manta::Objects? I can't find
a method/class that can do something like translate/rotate an 
Manta::Object.

Ollie







Archive powered by MHonArc 2.6.16.

Top of page