libjbt

jbt_rgbtexturemap Class Reference

Texture map for texturing colour attributes. More...

#include <texturemap.h>

Inherits jbt_colour.

List of all members.

Public Members


Detailed Description

Texture map for texturing colour attributes.

This class works in concert both with the jbt_attribute hierarchy and the jbt_texturingnode. This class given an image and an attribute type will map attribute queries into the texture map based on the uv coordinate returned by the BlobTree.

Unlike other attribute types this class should not be created to help answer a query. Instead pass the jbt_attribute::Type that you want to texture map onto the surface and then use that same type when you are querying the surface.


Member Function Documentation

jbt_rgbtexturemap::jbt_rgbtexturemap( const jImage&, jbt_attribute::Type = jbt_attribute::DiffuseClr )

Creates a new texture map.


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