libjbt

jbt_uvtransformation Class Reference

Parametric space transformation matrix. More...

#include <transformation.h>

Inherits jbt_ngnode.

List of all members.

Public Members

Protected Members


Detailed Description

Parametric space transformation matrix.

This class implements a node which will cause the uv coordinates computed by a BlobTree to be transformed.


Member Function Documentation

jbt_uvtransformation::jbt_uvtransformation( jbt_blobtree* =0 )

Create a new transformation node. Pass the BlobTree which is to be transformed by this transformation.

jbt_uvtransformation::jbt_uvtransformation( const jMat3&, jbt_blobtree* = 0 )

Create a new transformation node. Pass the BlobTree which is to be transformed and give the transforamtion.

void jbt_uvtransformation::scale( jFlt )

Scale the matrix with a uniform scale.

void jbt_uvtransformation::scale( jFlt, jFlt )

Scale the matrix with a non-uniform scale. If any component is given as zero, then it is changed to a one.

void jbt_uvtransformation::translate( jFlt, jFlt )

Translates the matrix.

void jbt_uvtransformation::rotate( jFlt )

Rotates the matrix. The angle should be specified in degrees.

void jbt_uvtransformation::uv( jVec2&, jbt_blobtree*, const jMat4& ) [protected]

Reimplemented from jbt_ngnode.

jbt_blobtree::Type jbt_uvtransformation::type() const [protected]

Reimplemented from jbt_ngnode.


The documentation for this class was generated from the following file:
JSP / libjbt v0.1 mtigges@cpsc.ucalgary.ca