#include <AlPolysetNode.h>
class AlPolysetNode : public AlDagNode
virtual ~AlPolysetNode();
virtual AlObject *copyWrapper() const;
virtual AlObjectType type() const;
virtual AlPolysetNode* asPolysetNodePtr();
AlPolyset* polyset() const;
AlPolyset* polyset(AlTM&) const;
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()
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