AlMeshNode
 
 
 

A DAG node that refers to a mesh's geometry.

Synopsis

#include <AlMeshNode.h>
class AlMeshNode : public AlDagNode
	virtual	~AlMeshNode();
	virtual AlObject	*copyWrapper() const;
	virtual AlObjectType	type() const;
	AlMesh*	mesh() const;
	AlPolysetNode*	copyAsPolyset() const;

Description

AlCurveNode is the class used to access and manipulate meshes within the dag. This class behaves like other dag nodes (see AlDagNode for a description of the usage and purpose of dag nodes). Users access the geometry of the curve via the 'mesh()' method which returns a pointer to an AlMesh object.

AlMeshNode::~AlMeshNode()

Description

Deletes an AlMeshNode wrapper object. Note that this destructor will not delete the associated mesh. To properly remove a node/geometry from the DAG use AlDagNode::deleteObject().

AlObject * AlMeshNode::copyWrapper() const

Description

Makes an exact copy of the AlMeshNode wrapper.

AlObjectType AlMeshNode::type() const

Description

Returns the class identifier kMeshNodeType.

AlMesh * AlMeshNode::mesh() const

Description

Returns a pointer to the AlMesh data structure, which can be used to access the geometry of the mesh.