OctreeElement Class Reference

Colour octree. More...

#include <bfxpixop.h>

Inheritance diagram for OctreeElement:

SimpleCCObject List of all members.

Public Member Functions

 OctreeElement ()
 ~OctreeElement ()

Public Attributes

INT32 Depth
INT32 R
INT32 G
INT32 B
INT32 Index
INT32 Pixels
INT32 NumChildren
OctreeElementpChildren [8]
OctreeElementpParent
OctreeElementpListNext
OctreeElementpListPrev

Detailed Description

Colour octree.

Author:
Alex_Bligh (Xara Group Ltd) <camelotdev@xara.com>
Date:
12/10/1994

Definition at line 529 of file bfxpixop.h.


Constructor & Destructor Documentation

OctreeElement::OctreeElement  )  [inline]
 

Definition at line 533 of file bfxpixop.h.

00533                     { pParent=pListNext=pListPrev=NULL; for (INT32 c=0; c<8; c++) pChildren[c]=NULL;
00534                       Pixels=Depth=R=G=B=NumChildren=0;Index=-1;};

OctreeElement::~OctreeElement  )  [inline]
 

Definition at line 535 of file bfxpixop.h.

00535                      {
00536             for (INT32 c=0; c<8; c++) if (pChildren[c])
00537             {
00538                 delete (pChildren[c]);
00539                 pChildren[c]=NULL;
00540             }
00541             pParent=pListNext=pListPrev=NULL;Pixels=Depth=R=G=B=NumChildren=0;Index=-1;
00542         };


Member Data Documentation

INT32 OctreeElement::B
 

Definition at line 547 of file bfxpixop.h.

INT32 OctreeElement::Depth
 

Definition at line 542 of file bfxpixop.h.

INT32 OctreeElement::G
 

Definition at line 546 of file bfxpixop.h.

INT32 OctreeElement::Index
 

Definition at line 548 of file bfxpixop.h.

INT32 OctreeElement::NumChildren
 

Definition at line 550 of file bfxpixop.h.

OctreeElement* OctreeElement::pChildren[8]
 

Definition at line 551 of file bfxpixop.h.

INT32 OctreeElement::Pixels
 

Definition at line 549 of file bfxpixop.h.

OctreeElement* OctreeElement::pListNext
 

Definition at line 553 of file bfxpixop.h.

OctreeElement* OctreeElement::pListPrev
 

Definition at line 554 of file bfxpixop.h.

OctreeElement* OctreeElement::pParent
 

Definition at line 552 of file bfxpixop.h.

INT32 OctreeElement::R
 

Definition at line 545 of file bfxpixop.h.


The documentation for this class was generated from the following file:
Generated on Sat Nov 10 03:57:17 2007 for Camelot by  doxygen 1.4.4