RenderTools::NAABB Class Reference

#include <Util.h>

List of all members.

Public Member Functions

 NAABB (const Vec3 &lo=Vec3(FLT_MAX, FLT_MAX, FLT_MAX), const Vec3 &hi=Vec3(-FLT_MAX,-FLT_MAX,-FLT_MAX))
const Vec3getLow () const
const Vec3getHigh () const
Vec3getLow ()
Vec3getHigh ()
Vec3 getSize () const
float getWidth (void) const
float getHeight (void) const
float getDepth (void) const
Vec3 getCenter () const
Vec3 getCorner (int i) const
NAABBoperator= (const NAABB &other)
NAABBoperator*= (const Mat4 &m)
NAABBoperator&= (const NAABB &box)
NAABBoperator&= (const Vec3 &vct)
void reset ()
void render (GLenum method=GL_LINE_LOOP) const
void adjust (const Vec3 &vct)
void adjust (const NAABB &box)
bool operator== (const NAABB &v2) const
void setSize (const Vec3 &size)


Detailed Description

Definition at line 197 of file Util.h.


Constructor & Destructor Documentation

RenderTools::NAABB::NAABB ( const Vec3 lo = Vec3( FLT_MAX, FLT_MAX, FLT_MAX ),
const Vec3 hi = Vec3( -FLT_MAX, -FLT_MAX, -FLT_MAX ) 
) [inline]

Definition at line 199 of file Util.h.


Member Function Documentation

void RenderTools::NAABB::adjust ( const NAABB box  ) 

Definition at line 153 of file Util.cpp.

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

Definition at line 144 of file Util.cpp.

Vec3 RenderTools::NAABB::getCenter (  )  const

Definition at line 159 of file Util.cpp.

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

Definition at line 129 of file Util.cpp.

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

Definition at line 210 of file Util.h.

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

Definition at line 209 of file Util.h.

Vec3& RenderTools::NAABB::getHigh (  )  [inline]

Definition at line 206 of file Util.h.

const Vec3& RenderTools::NAABB::getHigh (  )  const [inline]

Definition at line 204 of file Util.h.

Vec3& RenderTools::NAABB::getLow (  )  [inline]

Definition at line 205 of file Util.h.

const Vec3& RenderTools::NAABB::getLow (  )  const [inline]

Definition at line 203 of file Util.h.

Vec3 RenderTools::NAABB::getSize (  )  const

Definition at line 164 of file Util.cpp.

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

Definition at line 208 of file Util.h.

NAABB& RenderTools::NAABB::operator&= ( const Vec3 vct  )  [inline]

Definition at line 239 of file Util.h.

NAABB& RenderTools::NAABB::operator&= ( const NAABB box  )  [inline]

Definition at line 234 of file Util.h.

NAABB& RenderTools::NAABB::operator*= ( const Mat4 m  )  [inline]

Definition at line 220 of file Util.h.

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

Definition at line 214 of file Util.h.

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

Definition at line 255 of file Util.h.

void RenderTools::NAABB::render ( GLenum  method = GL_LINE_LOOP  )  const

Definition at line 264 of file Util.cpp.

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

Definition at line 244 of file Util.h.

void RenderTools::NAABB::setSize ( const Vec3 size  )  [inline]

Definition at line 259 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