AlTextureNode

Dag node class for solid textures.

Synopsis

#include <AlTextureNode.h>
class AlTextureNode : public AlDagNode
virtual AlObjectType type() const;
virtual AlTextureNode* asTextureNodePtr();
virtual AlObject* copyWrapper() const;
AlTexture* texture() const;
AlTexture* texture(AlTM&) const;

Description

AlTextureNode is the class used to access and manipulate the transformations on solid textures within the dag. This class behaves like other dag nodes (see AlDagNode for a description of the usage and purpose of dag nodes) except that you are not able to instantiate or create one.

Summary

AlObject* AlTextureNode::copyWrapper() const

Description

Return an exact duplicate of this AlTextureNode.

AlObjectType AlTextureNode::type() const

Description

Returns the class identifier kTextureNodeType.

AlTextureNode* AlTextureNode::asTextureNodePtr()

Description

This virtual function returns a non-null pointer to itself, indicating that it is safe to cast to an object of this class.

AlTexture* AlTextureNode::texture() const

Description

Returns a pointer to the texture data structure which can be used to access the geometry of the texture. Returns NULL if this object is invalid or if there is no texture attached to this node.

AlTexture* AlTextureNode::texture(AlTM& tm) const

Description

Returns a pointer to the texture data structure that can be used to access the fields of the texture. The AlTM will be updated with the textureNode's TM.

Arguments

> tm - the transformation matrix to be updated





aliasdocs@aw.sgi.com
Copyright © 1996, Alias|Wavefront, a Silicon Graphics Company. All rights reserved.