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

#include <UT_PolyRaster.h>

Public Member Functions

 UT_PolyRaster ()
 
virtual ~UT_PolyRaster ()
 
void setFilterWidth (fpreal x=1, fpreal y=1)
 
void setWindow (fpreal xl, fpreal xr, fpreal yb, fpreal yt)
 
void setResolution (int xsamp, int ysamp)
 
void initialize ()
 
virtual void sample (int x, int y, fpreal weight)
 
void rasterize (const float v0[2], const float v1[2], const float v2[2], int cliptowindow=1)
 

Protected Attributes

float myXFilter
 
float myYFilter
 
float myIXFilter
 
float myIYFilter
 
float myXSFilter
 
float myYSFilter
 
float myXMin
 
float myXMax
 
float myYMin
 
float myYMax
 
int myXres
 
int myYres
 

Detailed Description

Definition at line 32 of file UT_PolyRaster.h.

Constructor & Destructor Documentation

UT_PolyRaster::UT_PolyRaster ( )
virtual UT_PolyRaster::~UT_PolyRaster ( )
virtual

Member Function Documentation

void UT_PolyRaster::initialize ( )
void UT_PolyRaster::rasterize ( const float  v0[2],
const float  v1[2],
const float  v2[2],
int  cliptowindow = 1 
)
virtual void UT_PolyRaster::sample ( int  x,
int  y,
fpreal  weight 
)
virtual
void UT_PolyRaster::setFilterWidth ( fpreal  x = 1,
fpreal  y = 1 
)
inline

Definition at line 43 of file UT_PolyRaster.h.

void UT_PolyRaster::setResolution ( int  xsamp,
int  ysamp 
)
inline

Definition at line 53 of file UT_PolyRaster.h.

void UT_PolyRaster::setWindow ( fpreal  xl,
fpreal  xr,
fpreal  yb,
fpreal  yt 
)
inline

Definition at line 48 of file UT_PolyRaster.h.

Member Data Documentation

float UT_PolyRaster::myIXFilter
protected

Definition at line 74 of file UT_PolyRaster.h.

float UT_PolyRaster::myIYFilter
protected

Definition at line 74 of file UT_PolyRaster.h.

float UT_PolyRaster::myXFilter
protected

Definition at line 73 of file UT_PolyRaster.h.

float UT_PolyRaster::myXMax
protected

Definition at line 76 of file UT_PolyRaster.h.

float UT_PolyRaster::myXMin
protected

Definition at line 76 of file UT_PolyRaster.h.

int UT_PolyRaster::myXres
protected

Definition at line 77 of file UT_PolyRaster.h.

float UT_PolyRaster::myXSFilter
protected

Definition at line 75 of file UT_PolyRaster.h.

float UT_PolyRaster::myYFilter
protected

Definition at line 73 of file UT_PolyRaster.h.

float UT_PolyRaster::myYMax
protected

Definition at line 76 of file UT_PolyRaster.h.

float UT_PolyRaster::myYMin
protected

Definition at line 76 of file UT_PolyRaster.h.

int UT_PolyRaster::myYres
protected

Definition at line 77 of file UT_PolyRaster.h.

float UT_PolyRaster::myYSFilter
protected

Definition at line 75 of file UT_PolyRaster.h.


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