Main Page   Namespace List   Class Hierarchy   Compound List   File List   Header Files   Namespace Members   Compound Members   File Members   Related Pages  

/msg/src/nodes/group.h

This is the verbatim text of the group.h include file.
/* -*- C++ -*-
 * group.h
 * $Id: group.h,v 1.2 2000/07/21 22:31:44 ghali Exp $
 */

#ifndef GROUP_H
#define GROUP_H

#include <vector>
#include "node.h"
#include "../other/event.h"

namespace MSG {

  class ActiveLight;

  class Group : public Node {
  protected:
    std::vector<Node*> children;
  public:
    Group();
    virtual ~Group();

    virtual void addChild(Node* n);

    virtual void render(std::vector<ActiveLight*>* &activelights,
                        std::vector<TransformGroup*> transforms);

    virtual bool handleEvent(Event* event); // true = event was handled
  };
}
#endif

Generated at Sat Jul 22 00:32:15 2000 for MSG by doxygen 1.0.0 written by Dimitri van Heesch, © 1997-1999