arbeit
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members

TFRasterize2D01.h File Reference

Go to the source code of this file.

Functions

 rasterize2D (Nrro::NrroIter< T > ni, const gutz::vec2i &posIdx, const STF::tfRangeIdx &valIdx) const


Function Documentation

rasterize2D Nrro::NrroIter< T >  ni,
const gutz::vec2i posIdx,
const STF::tfRangeIdx valIdx
const
 

we will use float precicion for now

min & max for the map

float/double type

integral type

bounding box for the current axies

tf domain positions and deltas for rasterization

temps used in inner loop, so we are not constructing tons of stuff

Rasterize!!!

y axis

x axis

over values (values from this element)

update the map

for each element in map

get existing map value in tfDomain extents

combine over (o) and under (u) values

update map in map type extents

Definition at line 1 of file TFRasterize2D01.h.

References gutz::clamp(), height, STF::tfSType, TFT, width, gutz::vec2< tfSType >::x, x, gutz::vec2< tfSType >::y, and y.


Send questions, comments, and bug reports to:
jmk