RenderTools::AABB Class Reference

#include <Util.h>

List of all members.

Public Member Functions

 AABB (const Vec3 &size=Vec3(0.0, 0.0, 0.0))
const Vec3getSize (void) const
Vec3getSize (void)
float getWidth (void) const
float getHeight (void) const
float getDepth (void) const
void reset (void)
Vec3 getCorner (int i) const
void render (const Mat4 &mat, GLenum method=GL_LINE_LOOP) const
void adjust (const Vec3 &vct)
void set (const Vec3 &size)
AABBoperator= (const AABB &other)
bool operator== (const AABB &v2) const


Detailed Description

Definition at line 271 of file Util.h.


Constructor & Destructor Documentation

RenderTools::AABB::AABB ( const Vec3 size = Vec3( 0.0, 0.0, 0.0 )  )  [inline]

Definition at line 273 of file Util.h.


Member Function Documentation

void RenderTools::AABB::adjust ( const Vec3 vct  ) 

Definition at line 373 of file Util.cpp.

Vec3 RenderTools::AABB::getCorner ( int  i  )  const

Definition at line 310 of file Util.cpp.

float RenderTools::AABB::getDepth ( void   )  const [inline]

Definition at line 280 of file Util.h.

float RenderTools::AABB::getHeight ( void   )  const [inline]

Definition at line 279 of file Util.h.

Vec3& RenderTools::AABB::getSize ( void   )  [inline]

Definition at line 277 of file Util.h.

const Vec3& RenderTools::AABB::getSize ( void   )  const [inline]

Definition at line 276 of file Util.h.

float RenderTools::AABB::getWidth ( void   )  const [inline]

Definition at line 278 of file Util.h.

AABB& RenderTools::AABB::operator= ( const AABB other  )  [inline]

Definition at line 293 of file Util.h.

bool RenderTools::AABB::operator== ( const AABB v2  )  const [inline]

Definition at line 298 of file Util.h.

void RenderTools::AABB::render ( const Mat4 mat,
GLenum  method = GL_LINE_LOOP 
) const

Definition at line 326 of file Util.cpp.

void RenderTools::AABB::reset ( void   )  [inline]

Definition at line 282 of file Util.h.

void RenderTools::AABB::set ( const Vec3 size  )  [inline]

Definition at line 291 of file Util.h.


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

Generated on Wed Jan 26 00:15:36 2011 for RenderTools by  doxygen 1.5.8