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, and so on. Several types of attributes are derived from this class that are used for particular types of objects.

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.