MP5
Image Compression
Quadtree::QuadtreeNode Class Reference

A simple class representing a single node of a Quadtree. More...

+ Collaboration diagram for Quadtree::QuadtreeNode:

Public Attributes

QuadtreeNodenwChild
 pointer to northwest child More...
 
QuadtreeNodeneChild
 pointer to northeast child More...
 
QuadtreeNodeswChild
 pointer to southwest child More...
 
QuadtreeNodeseChild
 pointer to southeast child More...
 
RGBAPixel element
 the pixel stored as this node's "data" More...
 

Detailed Description

A simple class representing a single node of a Quadtree.

You may want to add to this class; in particular, it could probably use a constructor or two...

Member Data Documentation

QuadtreeNode* Quadtree::QuadtreeNode::nwChild

pointer to northwest child

QuadtreeNode* Quadtree::QuadtreeNode::neChild

pointer to northeast child

QuadtreeNode* Quadtree::QuadtreeNode::swChild

pointer to southwest child

QuadtreeNode* Quadtree::QuadtreeNode::seChild

pointer to southeast child

RGBAPixel Quadtree::QuadtreeNode::element

the pixel stored as this node's "data"


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