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

ParallelCamera Class Reference

This Class implements a Camera with parallel beams. More...

#include <ParallelCamera.h>

Inheritance diagram for ParallelCamera

Inheritance graph
[legend]
Collaboration diagram for ParallelCamera:

Collaboration graph
[legend]
List of all members.

Public Types

enum  {
  PROPERTY_LOCATION = 0x0300, PROPERTY_LOOKAT = 0x0301, PROPERTY_UP = 0x0302, PROPERTY_VIEWWIDTH = 0x0303,
  PROPERTY_ASPECTRATIO = 0x0304
}

Public Methods

 DECLARE_CLASS (ParallelCamera,Camera)
 ParallelCamera ()
virtual ~ParallelCamera ()
virtual void setProperty (int nProperty,const Variant &value)
virtual void getProperty (int nProperty,Variant &vValue)const
virtual void getRay (Ray *ActiveRay,double x,double y)
virtual void setScreen (int xres,int yres)
virtual bool getScreenCoordinates (const Vector3 &point,double &x,double &y)
virtual Vector3 getLocation ()
void calculate ()

Public Attributes

Vector3 viewFrom
Vector3 viewAt
Vector3 viewUp
double viewWidth
double pixel_aspect_ratio

Protected Attributes

Vector3 rightVec
Vector3 upVec
Vector3 viewVec
double xres
double yres

Detailed Description

This Class implements a Camera with parallel beams.

All beams are vertical to the image plane.


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

counter

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