coolray.org FAQ Contact Us
CoolRay Banner
CoolRay / Documentation
Main Page   Class Hierarchy   Compound List   Compound Members   Related Pages  

Camera Class Reference

this class is the basis class for all different kind of cameras. More...

#include <Camera.h>

Inheritance diagram for Camera

Inheritance graph
[legend]
Collaboration diagram for Camera:

Collaboration graph
[legend]
List of all members.

Public Types

enum  { PROPERTY_EXPOSURE = 0x0200 }

Public Methods

 DECLARE_ABSTRACT_CLASS (Camera,Object3D)
 Camera ()
virtual ~Camera ()
virtual void setProperty (int nProperty,const Variant &value)
virtual void getProperty (int nProperty,Variant &vValue)const
virtual void acceptOperation (Visitor *pVisitor)
virtual void getRay (Ray *ActiveRay,double x,double y)
virtual void setScreen (int xres,int yres)
virtual Vector3 getLocation ()
virtual bool getScreenCoordinates (const Vector3 &point,double &x,double &y)
virtual void expose (const Color &cLight,Color &cFilm)const

Public Attributes

<Exposure> pExposure

Detailed Description

this class is the basis class for all different kind of cameras.

A camera is a device which translates coordinates from the resulting picture to a ray in the scene. The rendering strategy object calls getRay to trace a point of the image.


The documentation for this class was generated from the following file:
  • Camera.h
You are visitor No.

counter

Copyright (c) 2001 Stefan Michel, All Rights Reserved.
Last modified: