TerrainGeoMipMap::Node Class Reference

Node of hierarchy tree. More...

#include <terrain_geomipmap.h>

Inherits HierarchyTreeBase::Node.

Inheritance diagram for TerrainGeoMipMap::Node:

Inheritance graph
[legend]
Collaboration diagram for TerrainGeoMipMap::Node:

Collaboration graph
[legend]
List of all members.

Public Types

typedef Frustum::ClipState ClipState

Public Member Functions

ClipState getFrustumClipState (void)
 gets previously set frustum state - used for frustum culling
void setFrustumClipState (ClipState state)
 sets frustum state - used for frustum culling
void setBoundingBox (const float center[3], const float extent[3])
 sets user-defined 3D bounding box
void getBoundingBox (float center[3], float extent[3]) const
 gets user-defined 3D bounding box stored in this node
const float * getBoundingBoxCenter (void) const
const float * getBoundingBoxExtent (void) const

Private Attributes

ClipState mFrustumClipState
 node outside frustum, inside frustum, or intersect (don't know)
float center [3]
 The center point of user's bounding box.
float extent [3]
 The extent of user's bounding box.

Detailed Description

Node of hierarchy tree.

Contains 3D bounding box and frustum-culling state.

Definition at line 27 of file terrain_geomipmap.h.


Member Typedef Documentation

typedef Frustum::ClipState TerrainGeoMipMap::Node::ClipState
 

Definition at line 29 of file terrain_geomipmap.h.


Member Function Documentation

void TerrainGeoMipMap::Node::getBoundingBox float  center[3],
float  extent[3]
const [inline]
 

gets user-defined 3D bounding box stored in this node

Parameters:
center bounding box's center point
extent bounding box's extent vector (extent for each axis of this box)

Definition at line 61 of file terrain_geomipmap.h.

const float* TerrainGeoMipMap::Node::getBoundingBoxCenter void   )  const [inline]
 

Definition at line 69 of file terrain_geomipmap.h.

References center.

const float* TerrainGeoMipMap::Node::getBoundingBoxExtent void   )  const [inline]
 

Definition at line 72 of file terrain_geomipmap.h.

References extent.

ClipState TerrainGeoMipMap::Node::getFrustumClipState void   )  [inline]
 

gets previously set frustum state - used for frustum culling

Returns:
Frustum::ClipState (in/out/intersect)

Definition at line 35 of file terrain_geomipmap.h.

References mFrustumClipState.

void TerrainGeoMipMap::Node::setBoundingBox const float  center[3],
const float  extent[3]
[inline]
 

sets user-defined 3D bounding box

Parameters:
center bounding box's center point
extent bounding box's extent vector (extent for each axis of this box)

Definition at line 48 of file terrain_geomipmap.h.

void TerrainGeoMipMap::Node::setFrustumClipState ClipState  state  )  [inline]
 

sets frustum state - used for frustum culling

Parameters:
Frustum::ClipState (in/out/intersect)

Definition at line 41 of file terrain_geomipmap.h.

References mFrustumClipState.


Member Data Documentation

float TerrainGeoMipMap::Node::center[3] [private]
 

The center point of user's bounding box.

Definition at line 79 of file terrain_geomipmap.h.

Referenced by getBoundingBoxCenter().

float TerrainGeoMipMap::Node::extent[3] [private]
 

The extent of user's bounding box.

Definition at line 80 of file terrain_geomipmap.h.

Referenced by getBoundingBoxExtent().

ClipState TerrainGeoMipMap::Node::mFrustumClipState [private]
 

node outside frustum, inside frustum, or intersect (don't know)

Definition at line 76 of file terrain_geomipmap.h.

Referenced by getFrustumClipState(), and setFrustumClipState().


The documentation for this class was generated from the following file:
Generated on Wed Apr 12 14:28:30 2006 for bjs by  doxygen 1.4.5