Bookshelf Contents Previous Next Glossary Index Search

AlAttributes

Interface to Alias curve and surface attributes.

Synopsis

#include <AlAttributes.h>
class AlAttributes : public AlObject
virtual ~AlAttributes();
virtual AlObjectType type() const;
AlObject* copyWrapper() const;
AlAttributes* nextAttribute() const;

Description

AlAttributes is the base class for a set of classes that allow access to curve and surface attributes. It is not possible to create AlAttributes directly; instead they are created when you use the AlCurve::create*() methods.

An attribute is an alternate way to specify an object. For example, in Alias normally a circle is represented by a NURBS curve that approximates a circle. With attributes instead, a circle is represented by an origin, a radius, etc. Several types of attributes are derived from this class that are used for particular types of objects.

Summary

AlObjectType AlAttributes::type() const

Description

Returns the class identifier 'kAttributeType'.

AlObject* AlAttributes::copyWrapper() const

Description

Makes a copy of the AlAttribute. The returned AlAttribute will reference the same data as the original.

AlAttributes* AlAttributes::nextAttribute() const

Description

This virtual function returns a pointer to the next attribute in the object's list of attributes.



Bookshelf Contents Previous Next Glossary Index Search

[email protected]
Copyright © 1998, Alias|Wavefront, a division of Silicon Graphics Limited. All rights reserved.