WT_Gouraud_Point_Set_Data Class Reference

#include <gouraud_pointset.h>

Inheritance diagram for WT_Gouraud_Point_Set_Data:

Inheritance graph
[legend]
Collaboration diagram for WT_Gouraud_Point_Set_Data:

Collaboration graph
[legend]
List of all members.

Detailed Description

A base class for a set of WT_Logical_Point objects, each with an assigned WT_RGBA32 color.

Definition at line 31 of file gouraud_pointset.h.

Public Member Functions

 WT_Gouraud_Point_Set_Data ()
 Creates a WT_Gouraud_Point_Set object.
 WT_Gouraud_Point_Set_Data (int count, WT_Logical_Point const *points, WT_RGBA32 const *colors, WT_Boolean copy) throw (WT_Result)
 Creates a WT_Gouraud_Point_Set object from the given data.
virtual ~WT_Gouraud_Point_Set_Data ()
 Destroys a WT_Gouraud_Point_Set object.
WT_RGBA32colors () const
 Returns the array of colors (one per point in the set.).

Protected Attributes

WT_RGBA32m_colors
 The set of colors (one for each point in the set.).
WT_Integer32 m_colors_allocated
 The number of allocated points for the colors.

Friends

class WT_W2D_Class_Factory


Constructor & Destructor Documentation

WT_Gouraud_Point_Set_Data::WT_Gouraud_Point_Set_Data int  count,
WT_Logical_Point const *  points,
WT_RGBA32 const *  colors,
WT_Boolean  copy
throw (WT_Result)
 

Creates a WT_Gouraud_Point_Set object from 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.


The documentation for this class was generated from the following file:
Generated on Tue Jan 6 22:41:19 2009 for Autodesk DWF Whip 2D Toolkit by  doxygen 1.4.5