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

/msg/src/nodes/fakeshadowsdirectionallight.h

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

#ifndef FAKESHADOWSDIRECTIONALLIGHT_H
#define FAKESHADOWSDIRECTIONALLIGHT_H

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

namespace MSG {

  class FakeShadowsDirectionalLight : public ActiveDirectionalLight {
  public:

    FakeShadowsDirectionalLight(const Point3d& _position,
                          const Color&   _ambient  = Color::defaultAmbientLight,
                          const Color&   _diffuse  = Color::defaultDiffuseLight,
                          const Color&   _specular = Color::defaultSpecularLight);
    // shadow is implicitely on the y=0 plane

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

    virtual void performShadowTransf();

    friend ostream& operator<<(
      ostream& out,
      const FakeShadowsDirectionalLight& directionallight );
  };
}
#endif

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