AlAttributes

Interface to Alias curve and surface attributes.

Synopsis

#include <AlAttributes.h>
class AlAttributes : public AlObject
virtual ~AlAttributes();
virtual AlObjectType type() const;
virtual AlAttributes* asAttributesPtr();
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'.

AlAttributes* AlAttributes::asAttributesPtr()

Description

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

AlObject* AlAttributes::copyWrapper() const

Description

This method 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.





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