RiTMatrix3Factory

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 RiTMatrix3Factory
{
public:
static RiAffineTMatrix3 CreateIdentity();
static RiAffineTMatrix3 CreateInverse( const RiAffineTMatrix3 &m);
static RiAffineTMatrix3 CreateBasisToCanonical( const RiONB3 &basis);
static RiAffineTMatrix3 CreateCanonicalToBasis( const RiONB3 &basis);
static RiAffineTMatrix3 CreateFrameToCanonical( const RiFrame3 &frame);
static RiAffineTMatrix3 CreateCanonicalToFrame( const RiFrame3 &frame);
static RiAffineTMatrix3 CreateTranslate( const RiVector3 &v);
static RiAffineTMatrix3 CreateScale( const RiVector3 &v);
static RiAffineTMatrix3 CreateRotation(const RiVector3 &rotVector, RiReal amountRad);
static RiAffineTMatrix3 CreateDirect(const RiVector3 &c0, const RiVector3 &c1, const RiVector3 &c2, const RiVector3 &c3);
protected:
}; // RiTMatrix3Factory


DESCRIPTION

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


PATTERN

This is a factory for generating RiAffineTMatrix3 and other TMatrix3 (when implemented)


RiAffineTMatrix3 CreateIdentity();

Create an Identity Matrix.

    static RiAffineTMatrix3 CreateIdentity();

RiAffineTMatrix3 CreateInverse( const RiAffineTMatrix3 &m);

Create inverse of matrix m

    static RiAffineTMatrix3 CreateInverse( const RiAffineTMatrix3 &m);

RiAffineTMatrix3 CreateBasisToCanonical( const RiONB3 &basis);

Resulting matrix takes vector written in terms of basis (with canonical origin) to vector written in canonical coords.

    static RiAffineTMatrix3 CreateBasisToCanonical( const RiONB3 &basis);

RiAffineTMatrix3 CreateCanonicalToBasis( const RiONB3 &basis);

Resulting matrix takes vector written in terms of canonical basis to vector written in basis coords.

    static RiAffineTMatrix3 CreateCanonicalToBasis( const RiONB3 &basis);

RiAffineTMatrix3 CreateFrameToCanonical( const RiFrame3 &frame);

Resulting matrix takes vector written in terms of frame to vector written in canonical coords.

    static RiAffineTMatrix3 CreateFrameToCanonical( const RiFrame3 &frame);

RiAffineTMatrix3 CreateCanonicalToFrame( const RiFrame3 &frame);

Resulting matrix takes vector written in terms of canonical basis to vector written in frame coords.

     static RiAffineTMatrix3 CreateCanonicalToFrame( const RiFrame3 &frame);

RiAffineTMatrix3 CreateTranslate( const RiVector3 &v);

Resulting matrix will translate

    static RiAffineTMatrix3 CreateTranslate( const RiVector3 &v);

RiAffineTMatrix3 CreateScale( const RiVector3 &v);

Resulting matrix will scale

    static RiAffineTMatrix3 CreateScale( const RiVector3 &v);

RiAffineTMatrix3 CreateRotation(const RiVector3 &rotVector, RiReal amountRad);

Resulting matrix Rotates (clockwise) around the given vector

    static RiAffineTMatrix3 CreateRotation(const RiVector3 &rotVector, RiReal amountRad);

RiAffineTMatrix3 CreateDirect(const RiVector3 &c0, const RiVector3 &c1, const RiVector3 &c2, const RiVector3 &c3);

Create a matrix based on 4 column vectors

    static RiAffineTMatrix3 CreateDirect(const RiVector3 &c0, const RiVector3 &c1,
					 const RiVector3 &c2, const RiVector3 &c3); 

All Members

public:
static RiAffineTMatrix3 CreateIdentity();
static RiAffineTMatrix3 CreateInverse( const RiAffineTMatrix3 &m);
static RiAffineTMatrix3 CreateBasisToCanonical( const RiONB3 &basis);
static RiAffineTMatrix3 CreateCanonicalToBasis( const RiONB3 &basis);
static RiAffineTMatrix3 CreateFrameToCanonical( const RiFrame3 &frame);
static RiAffineTMatrix3 CreateCanonicalToFrame( const RiFrame3 &frame);
static RiAffineTMatrix3 CreateTranslate( const RiVector3 &v);
static RiAffineTMatrix3 CreateScale( const RiVector3 &v);
static RiAffineTMatrix3 CreateRotation(const RiVector3 &rotVector, RiReal amountRad);
static RiAffineTMatrix3 CreateDirect(const RiVector3 &c0, const RiVector3 &c1, const RiVector3 &c2, const RiVector3 &c3);
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 .