Bookshelf Contents Previous Next Glossary Index Search

AlPolysetNode

Dag node class for polysets.

Synopsis

#include <AlPolysetNode.h>
class AlPolysetNode : public AlDagNode
virtual ~AlPolysetNode();
virtual AlObject *copyWrapper() const;
virtual AlObjectType type() const;
AlPolyset* polyset() const;
AlPolyset* polyset(AlTM&) const;

Description

AlPolysetNode is the class used to access and manipulate polysets 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 (which is done when creating a polyset).

The polyset() method returns a pointer to an AlPolyset object which provides you with the methods used to modify the polyset. Polysets can be created from scratch by calling the AlPolyset::create() method, or read in from a wire file (see AlUniverse documentation).

Summary

AlPolysetNode::~AlPolysetNode()

Description

Deletes an AlPolysetNode wrapper object.

deleteObject()

Description

Deletes the polyset node and the polyset geometry that the polyset node refers to.

AlObject *AlPolysetNode::copyWrapper() const

Description

Makes an exact copy of the AlPolysetNode wrapper.

AlObjectType AlPolysetNode::type() const

Description

Returns the class identifier kPolysetNodeType.

AlPolysetNode* AlPolysetNode::asPolysetNodePtr()

Description

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

AlPolyset* AlPolysetNode::polyset() const

Description

Returns a pointer to the polyset data structure that can be used to access the geometry of the polyset.

AlPolyset* AlPolysetNode::polyset(AlTM& tm) const

Description

Returns a pointer to the polyset data structure that can be used to access the geometry of the polyset. The AlTM will be updated with the polysetNode's TM.

Arguments

> tm - the AlTM to be updated with the polysetNode's TM



Bookshelf Contents Previous Next Glossary Index Search

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