DzPolyShape Class Reference
[Object and Geometry Objects]

DzShape subclass for polygonal mesh geometry. More...

Inheritance diagram for DzPolyShape:

DzShape DzElement DzBase QObject Object DzMRMShape List of all members.

Methods

DzPolyShape createShapeFromGroup (String groupName)
DzGeometry getGeometry ()
DzPolyMesh getPolyMesh ()
void rebuildBaseMap (Number whichUVSet)
void setPolyMesh (DzPolyMesh geom)

Constructors

 DzPolyShape ()

Detailed Description

DzShape subclass for polygonal mesh geometry.


Constructor & Destructor Documentation

DzPolyShape::DzPolyShape (  ) 

Default Constructor.


Member Function Documentation

DzPolyShape DzPolyShape::createShapeFromGroup ( String  groupName  ) 

Parameters:
groupName Name of the face group in the polymesh to create the new shape from
Returns:
A pointer to the a new shape created from the given group in the shape's polymesh or null if no such group exists. The caller takes ownership of the new shape and should delete it when done.

DzGeometry DzPolyShape::getGeometry (  ) 

Returns:
The geometry this shape references.

Reimplemented from DzShape.

DzPolyMesh DzPolyShape::getPolyMesh (  ) 

Returns:
The poly mesh geometry held by this shape.

void DzPolyShape::rebuildBaseMap ( Number  whichUVSet  ) 

Replaces the map on the base poly mesh of this shape.

Parameters:
whichUVSet the index of the uv set to set as the base map.

Reimplemented from DzShape.

void DzPolyShape::setPolyMesh ( DzPolyMesh  geom  ) 

Sets the poly mesh geometry that is held by this shape. DzPolyShape takes ownership of this geometry - any previous geometry object held by the shape is deleted.


Generated on Thu Sep 24 12:21:14 2009

Copyright © 2002 - 2009 DAZ 3D, Inc.