HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RU_PolyFill Class Reference

#include <RU_PolyFill.h>

Public Member Functions

 RU_PolyFill (RU_PolyFillMethod method=RU_POLYFILL_NORMAL, int num_threads=1)
 
 ~RU_PolyFill ()
 
void clearGeometry ()
 
void initialize (const GEO_Detail *gdp)
 
void append (const GEO_Detail *gdp)
 
void initializeFeather (const GEO_Detail *gdp)
 
void addTriangle (float x0, float y0, float x1, float y1, float x2, float y2)
 
void addFeatherTriangle (float x0, float y0, float x1, float y1, float x2, float y2, int quad_index)
 
void setResolution (int imagex, int imagey, int tilex, int tiley, float tolx=0.001F)
 
void doSorting ()
 
void setSampling (int xs, int ys)
 
void setDropoff (int size, float(*dropfunc)(float))
 
void setDropoff (RU_FeatherDropoff dropoff)
 
void setDropoffRamp (UT_Ramp &ramp)
 
void scanConvert (TIL_TileList *tilelist, int tx, int ty, const UT_Vector4 &color, int thread_index)
 

Public Attributes

UT_FloatArray myFeatherLUT
 

Detailed Description

Definition at line 55 of file RU_PolyFill.h.

Constructor & Destructor Documentation

RU_PolyFill::RU_PolyFill ( RU_PolyFillMethod  method = RU_POLYFILL_NORMAL,
int  num_threads = 1 
)
RU_PolyFill::~RU_PolyFill ( )

Member Function Documentation

void RU_PolyFill::addFeatherTriangle ( float  x0,
float  y0,
float  x1,
float  y1,
float  x2,
float  y2,
int  quad_index 
)
void RU_PolyFill::addTriangle ( float  x0,
float  y0,
float  x1,
float  y1,
float  x2,
float  y2 
)
void RU_PolyFill::append ( const GEO_Detail gdp)
void RU_PolyFill::clearGeometry ( )
void RU_PolyFill::doSorting ( )
void RU_PolyFill::initialize ( const GEO_Detail gdp)
void RU_PolyFill::initializeFeather ( const GEO_Detail gdp)
void RU_PolyFill::scanConvert ( TIL_TileList tilelist,
int  tx,
int  ty,
const UT_Vector4 color,
int  thread_index 
)
void RU_PolyFill::setDropoff ( int  size,
float(*)(float dropfunc 
)
void RU_PolyFill::setDropoff ( RU_FeatherDropoff  dropoff)
inline

Definition at line 87 of file RU_PolyFill.h.

void RU_PolyFill::setDropoffRamp ( UT_Ramp ramp)
void RU_PolyFill::setResolution ( int  imagex,
int  imagey,
int  tilex,
int  tiley,
float  tolx = 0.001F 
)
void RU_PolyFill::setSampling ( int  xs,
int  ys 
)

Member Data Documentation

UT_FloatArray RU_PolyFill::myFeatherLUT

Definition at line 172 of file RU_PolyFill.h.


The documentation for this class was generated from the following file: