osgEarth 2.1.1
Public Member Functions | Public Attributes

agg::cell Struct Reference

#include <AGG.h>

List of all members.

Public Member Functions

void set (int x, int y, int c, int a)
void set_coord (int x, int y)
void set_cover (int c, int a)
void add_cover (int c, int a)

Public Attributes

int16 x
int16 y
int packed_coord
int cover
int area

Detailed Description

Definition at line 510 of file AGG.h.


Member Function Documentation

void agg::cell::add_cover ( int  c,
int  a 
) [inline]

Definition at line 1445 of file AGG.h.

    {
        cover += c;
        area += a;
    }

Here is the caller graph for this function:

void agg::cell::set ( int  x,
int  y,
int  c,
int  a 
) [inline]

Definition at line 1460 of file AGG.h.

    {
        x = int16(cx);
        y = int16(cy);
        packed_coord = (cy << 16) + cx;
        cover = c;
        area = a;
    }

Here is the caller graph for this function:

void agg::cell::set_coord ( int  x,
int  y 
) [inline]

Definition at line 1452 of file AGG.h.

    {
        x = int16(cx);
        y = int16(cy);
        packed_coord = (cy << 16) + cx;
    }
void agg::cell::set_cover ( int  c,
int  a 
) [inline]

Definition at line 1438 of file AGG.h.

    {
        cover = c;
        area = a;
    }

Here is the caller graph for this function:


Member Data Documentation

Definition at line 516 of file AGG.h.

Definition at line 515 of file AGG.h.

Definition at line 514 of file AGG.h.

Definition at line 512 of file AGG.h.

Definition at line 513 of file AGG.h.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines