libjbt

jbt_transformation Class Reference

Object space to world space transformation. More...

#include <transformation.h>

Inherits jbt_ngnode.

List of all members.

Public Members

Protected Members


Detailed Description

Object space to world space transformation.

This class defines a node that can be placed into a BlobTree to transform the object space of the model by an affine transformation.


Member Function Documentation

jbt_transformation::jbt_transformation( jbt_blobtree* = 0 )

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

jbt_transformation::jbt_transformation( const jMat4&, jbt_blobtree* = 0 )

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

void jbt_transformation::scale( jFlt )

Scale the matrix with a uniform scale.

void jbt_transformation::scale( jFlt, 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_transformation::translate( jFlt, jFlt, jFlt )

Translates the matrix.

void jbt_transformation::rotate( int, jFlt )

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

const jMat4& jbt_transformation::transform() const

void jbt_transformation::inverse()

void jbt_transformation::normal( jNorm3& ) [protected]

Reimplemented from jbt_ngnode.

void jbt_transformation::beginQuery( const jVec3& ) [protected]

Reimplemented from jbt_ngnode.

void jbt_transformation::computeBound() [protected]

Reimplemented from jbt_ngnode.

void jbt_transformation::bracket( const jRay&, jbt_brackets& ) [protected]

Reimplemented from jbt_ngnode.

void jbt_transformation::seedPoints( jVec3list& ) const [protected]

Reimplemented from jbt_ngnode.

bool jbt_transformation::spanCSG( const jVec3&, const jVec3& ) [protected]

Reimplemented from jbt_ngnode.

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

Reimplemented from jbt_ngnode.

jgl_algebraic* jbt_transformation::expression( const jMat4& ) const [protected]

Reimplemented from jbt_ngnode.

jbt_blobtree::Type jbt_transformation::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