newspeoplefor developersdocumentationdownloads

bbox3_qs Class Reference
[nMap]

#include <bbox_qs.h>

Inheritance diagram for bbox3_qs:

bbox3 List of all members.

Detailed Description

(non-oriented) bounding box streamlined for quadtree navigation by caching up heavily used data

Definition at line 30 of file bbox_qs.h.


Public Member Functions

 bbox3_qs ()
 bbox3_qs (const vector3 &_vmin, const vector3 &_vmax)
 bbox3_qs (const bbox3 &bb)
 bbox3_qs (vector3 *varray, int num)
void reset_qs ()
void set (const vector3 &_vmin, const vector3 &_vmax)
 set from center point and extents
void set (vector3 *varray, int num)
void begin_grow (void)
void grow (const vector3 &v)
void grow (vector3 *varray, int num)
void grow (bbox3_qs *bb)

Public Attributes

float xm
float ym
float zm
float dxhalf
float dyhalf
float dzhalf

Constructor & Destructor Documentation

bbox3_qs::bbox3_qs  )  [inline]
 

Definition at line 36 of file bbox_qs.h.

bbox3_qs::bbox3_qs const vector3 _vmin,
const vector3 _vmax
[inline]
 

Definition at line 37 of file bbox_qs.h.

bbox3_qs::bbox3_qs const bbox3 bb  )  [inline]
 

Definition at line 41 of file bbox_qs.h.

bbox3_qs::bbox3_qs vector3 varray,
int  num
[inline]
 

Definition at line 47 of file bbox_qs.h.


Member Function Documentation

void bbox3_qs::reset_qs  )  [inline]
 

Definition at line 62 of file bbox_qs.h.

void bbox3_qs::set const vector3 _vmin,
const vector3 _vmax
[inline]
 

set from center point and extents

Reimplemented from bbox3.

Definition at line 73 of file bbox_qs.h.

void bbox3_qs::set vector3 varray,
int  num
[inline]
 

Definition at line 80 of file bbox_qs.h.

void bbox3_qs::begin_grow void   )  [inline]
 

Definition at line 96 of file bbox_qs.h.

void bbox3_qs::grow const vector3 v  )  [inline]
 

Definition at line 100 of file bbox_qs.h.

void bbox3_qs::grow vector3 varray,
int  num
[inline]
 

Definition at line 109 of file bbox_qs.h.

void bbox3_qs::grow bbox3_qs bb  )  [inline]
 

Definition at line 116 of file bbox_qs.h.


Member Data Documentation

float bbox3_qs::xm
 

Definition at line 32 of file bbox_qs.h.

float bbox3_qs::ym
 

Definition at line 32 of file bbox_qs.h.

float bbox3_qs::zm
 

Definition at line 32 of file bbox_qs.h.

float bbox3_qs::dxhalf
 

Definition at line 33 of file bbox_qs.h.

float bbox3_qs::dyhalf
 

Definition at line 33 of file bbox_qs.h.

float bbox3_qs::dzhalf
 

Definition at line 33 of file bbox_qs.h.


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

Copyright © 1999-2005 by the contributing authors. Ideas, requests, problems: Send feedback.