RiOrthoCamera


[ Camera | Source | Search | Keywords | Summary | Ancestors | All Members | Descendants ]

Quick Index

DESCRIPTION

Class Summary

class RiOrthoCamera : public RiRayCamera
{
public:
// Constructors and assignment
RiOrthoCamera();
RiOrthoCamera(const RiVector3 &eye, const RiVector3 &viewDir, const RiVector3 &uDir, const RiVector3 &vDir, RiReal front );
// Members
void Transform(const RiAffineTMatrix3 &);
RiRay3 GetRay( const RiVector2& screenCoord, const RiVector2& lensCoord ) const;
protected:
}; // RiOrthoCamera


DESCRIPTION


RiOrthoCamera();

Default Constructor eye (0,0,0) viewDir (0,1,0) Direction of viewing rays uDir (1,0,0) Vector from center to right edge. Image goes from -uDir to uDir vDir (0,0,1) Vector from center to top edge. Image goes from -vDir to vDir front (0)

    RiOrthoCamera();

RiOrthoCamera(const RiVector3 &eye, const RiVector3 &viewDir, const RiVector3 &uDir, const RiVector3 &vDir, RiReal front );

General Constructor
in eye
Center of the image plane
in viewDir
Direction of viewing rays
in uDir
Vector from center to right edge. Image goes from -uDir to uDir
in vDir
Vector from center to top edge. Image goes from -vDir to vDir
in front
front clipping plane in world units, not affected by the matrix.

    RiOrthoCamera(const RiVector3 &eye, const RiVector3 &viewDir,
		  const RiVector3 &uDir, const RiVector3 &vDir, RiReal front = 0);

void Transform(const RiAffineTMatrix3 &);

general manipulation of the camera. Some cameras may not allow a scale or perhaps even a rotation (Cylindrical panoramic), these need to catch or ignore this component of the matrix.

    virtual void Transform(const RiAffineTMatrix3 &);

RiRay3 GetRay( const RiVector2& screenCoord, const RiVector2& lensCoord ) const;

Screen coord is in the range[0,1]^2. (0,0) is lower-left corner. lensCoord is a seed in [0,1]^2 for lens sampling and is ignored for this RiRayCamera

    virtual RiRay3 GetRay( const RiVector2& screenCoord, const RiVector2& lensCoord ) const;

All Members

public:
// Members
void Transform(const RiAffineTMatrix3 &); // pure virtual
// Members
RiRay3 GetRay( const RiVector2& screenCoord, const RiVector2& lensCoord ) const; // pure virtual
protected:

Ancestors

Inheritance chain for RiOrthoCamera:


Descendants

Class is not inherited by any others.


Generated from source by the Cocoon utilities on Fri Feb 25 15:14:58 2000 .