RiTMatrix2Factory

This stract class that represents a homegeneous transform matrix and its inverse.

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

Quick Index

DESCRIPTION
PATTERN

Class Summary

class RiTMatrix2Factory
{
public:
static RiAffineTMatrix2 CreateIdentity();
static RiAffineTMatrix2 CreateInverse( const RiAffineTMatrix2 &m);
static RiAffineTMatrix2 CreateTranslate( const RiVector2 &v);
static RiAffineTMatrix2 CreateScale( const RiVector2 &v);
static RiAffineTMatrix2 CreateRotation(RiReal amountRad);
static RiAffineTMatrix2 CreateDirect(const RiVector2 &c0, const RiVector2 &c1, const RiVector2 &c2);
protected:
}; // RiTMatrix2Factory


DESCRIPTION

Used to generate RiAffineTMatrix2 via calls to build matrices via Create* calls.


PATTERN

This is a factory for generating RiAffineTMatrix2 and other TMatrix2 (when implemented)


RiAffineTMatrix2 CreateIdentity();

Create an Identity Matrix.

    static RiAffineTMatrix2 CreateIdentity();

RiAffineTMatrix2 CreateInverse( const RiAffineTMatrix2 &m);

Create inverse of matrix m

    static RiAffineTMatrix2 CreateInverse( const RiAffineTMatrix2 &m);

RiAffineTMatrix2 CreateTranslate( const RiVector2 &v);

Resulting matrix will translate

    static RiAffineTMatrix2 CreateTranslate( const RiVector2 &v);

RiAffineTMatrix2 CreateScale( const RiVector2 &v);

Resulting matrix will scale

    static RiAffineTMatrix2 CreateScale( const RiVector2 &v);

RiAffineTMatrix2 CreateRotation(RiReal amountRad);

Resulting matrix Rotates (clockwise) around the origin

    static RiAffineTMatrix2 CreateRotation(RiReal amountRad);

RiAffineTMatrix2 CreateDirect(const RiVector2 &c0, const RiVector2 &c1, const RiVector2 &c2);

Create a matrix based on 3 column vectors

    static RiAffineTMatrix2 CreateDirect(const RiVector2 &c0, const RiVector2 &c1,
					 const RiVector2 &c2); 

All Members

public:
static RiAffineTMatrix2 CreateIdentity();
static RiAffineTMatrix2 CreateInverse( const RiAffineTMatrix2 &m);
static RiAffineTMatrix2 CreateTranslate( const RiVector2 &v);
static RiAffineTMatrix2 CreateScale( const RiVector2 &v);
static RiAffineTMatrix2 CreateRotation(RiReal amountRad);
static RiAffineTMatrix2 CreateDirect(const RiVector2 &c0, const RiVector2 &c1, const RiVector2 &c2);
protected:

Ancestors

Class does not inherit from any other class.


Descendants

Class is not inherited by any others.


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