WT_XAML_Gouraud_Polytriangle Class Reference
[GroupDrawable]

#include <XamlGouraud_Polytriangle.h>

List of all members.


Detailed Description

A drawable describing a gouraud-shaded polytriangle.

This is a collection of contiguous triangles, with each vertex assigned a WT_RGBA32 color.

Polytriangle.png

Polytriangle point ordering details

Definition at line 41 of file XamlGouraud_Polytriangle.h.

Public Member Functions

WT_Result parseAttributeList (XamlXML::tAttributeMap &rMap, WT_XAML_File &rFile)
 partial materialization of shell from W2X
WT_Result materializePoint (const WT_Point2D &pt, const WT_RGBA32 &color, WT_XAML_File &rFile)
 materialize a point into the point set

Protected Member Functions

 WT_XAML_Gouraud_Polytriangle ()
 Constructs a WT_XAML_Gouraud_Polytriangle object.
 WT_XAML_Gouraud_Polytriangle (int count, WT_Logical_Point const *points, WT_RGBA32 const *colors, WT_Boolean copy) throw (WT_Result)
 Constructs a WT_XAML_Gouraud_Polytriangle object with the given data.
 WT_XAML_Gouraud_Polytriangle (WT_Gouraud_Polytriangle const &polytri) throw (WT_Result)
 Copy Constructor.
virtual ~WT_XAML_Gouraud_Polytriangle ()
 Destroys a WT_XAML_Gouraud_Polytriangle object.

Friends

class WT_XAML_Class_Factory
class XamlPath


Constructor & Destructor Documentation

WT_XAML_Gouraud_Polytriangle::WT_XAML_Gouraud_Polytriangle int  count,
WT_Logical_Point const *  points,
WT_RGBA32 const *  colors,
WT_Boolean  copy
throw (WT_Result) [inline, protected]
 

Constructs a WT_XAML_Gouraud_Polytriangle object with the given data.

Parameters:
count  The number of points in the array.
points  Pointer to the array of points.
colors  Set of colors (one for each point.)
copy  Whether the points should be copied or if their addresses should be used directly from the array.

Definition at line 61 of file XamlGouraud_Polytriangle.h.


The documentation for this class was generated from the following file:
Generated on Tue Jan 6 22:40:13 2009 for Autodesk DWF Toolkit by  doxygen 1.4.5