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

/msg/src/nodes/activedirectionallight.h

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

#ifndef ACTIVEDIRECTIONALLIGHT_H
#define ACTIVEDIRECTIONALLIGHT_H

#include <iostream.h>
#include <GL/glut.h>
#include "../geom/point3d.h"
#include "../other/color.h"
#include "directionallight.h"
#include "activelight.h"

namespace MSG {

  class ActiveDirectionalLight : public DirectionalLight, public ActiveLight {
  public:

    ActiveDirectionalLight(const Point3d& _position,
                     const Color&   _ambient  = Color::defaultAmbientLight,
                     const Color&   _diffuse  = Color::defaultDiffuseLight,
                     const Color&   _specular = Color::defaultSpecularLight);

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

    virtual void performShadowTransf() = 0;

  };
}
#endif

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