MgcBox3 Class Reference

#include <basic/geometry/geo_rangesensor/MgcBox3.h>

Collaboration diagram for MgcBox3:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MgcBox3 ()
MgcVector3 & Center ()
const MgcVector3 & Center () const
MgcVector3 & Axis (int i)
const MgcVector3 & Axis (int i) const
MgcVector3 * Axes ()
const MgcVector3 * Axes () const
MgcReal & Extent (int i)
const MgcReal & Extent (int i) const
MgcReal * Extents ()
const MgcReal * Extents () const
void ComputeVertices (MgcVector3 akVertex[8]) const

Protected Attributes

MgcVector3 m_kCenter
MgcVector3 m_akAxis [3]
MgcReal m_afExtent [3]

Detailed Description

Definition at line 20 of file MgcBox3.h.


Constructor & Destructor Documentation

MgcBox3::MgcBox3 (   )  [inline]
 

Definition at line 14 of file MgcBox3.inl.


Member Function Documentation

const MgcVector3 * MgcBox3::Axes (   )  const [inline]
 

Definition at line 46 of file MgcBox3.inl.

References m_akAxis.

MgcVector3 * MgcBox3::Axes (   )  [inline]
 

Definition at line 41 of file MgcBox3.inl.

References m_akAxis.

Referenced by MgcContOrientedBox(), and MgcTestIntersection().

const MgcVector3 & MgcBox3::Axis (  int  i  )  const [inline]
 

Definition at line 35 of file MgcBox3.inl.

References m_akAxis.

MgcVector3 & MgcBox3::Axis (  int  i  )  [inline]
 

Definition at line 29 of file MgcBox3.inl.

References m_akAxis.

Referenced by Range_Sensor::AddBoxToDepthMap(), Range_Sensor::AddCylinderToDepthMap(), Range_Sensor::AddSphereToDepthMap(), MgcContOrientedBox(), MgcFindIntersection(), and MgcTestIntersection().

const MgcVector3 & MgcBox3::Center (   )  const [inline]
 

Definition at line 24 of file MgcBox3.inl.

References m_kCenter.

MgcVector3 & MgcBox3::Center (   )  [inline]
 

Definition at line 19 of file MgcBox3.inl.

References m_kCenter.

Referenced by Range_Sensor::AddBoxToDepthMap(), Range_Sensor::AddCylinderToDepthMap(), Range_Sensor::AddSphereToDepthMap(), MgcContOrientedBox(), MgcFindIntersection(), and MgcTestIntersection().

void MgcBox3::ComputeVertices (  MgcVector3  akVertex[8]  )  const
 

Definition at line 16 of file MgcBox3.cpp.

References m_afExtent, m_akAxis, and m_kCenter.

const MgcReal & MgcBox3::Extent (  int  i  )  const [inline]
 

Definition at line 57 of file MgcBox3.inl.

References m_afExtent.

MgcReal & MgcBox3::Extent (  int  i  )  [inline]
 

Definition at line 51 of file MgcBox3.inl.

References m_afExtent.

Referenced by Range_Sensor::AddBoxToDepthMap(), Range_Sensor::AddCylinderToDepthMap(), Range_Sensor::AddSphereToDepthMap(), and MgcTestIntersection().

const MgcReal * MgcBox3::Extents (   )  const [inline]
 

Definition at line 68 of file MgcBox3.inl.

References m_afExtent.

MgcReal * MgcBox3::Extents (   )  [inline]
 

Definition at line 63 of file MgcBox3.inl.

References m_afExtent.

Referenced by MgcContOrientedBox(), MgcFindIntersection(), and MgcTestIntersection().


Member Data Documentation

MgcReal MgcBox3::m_afExtent[3] [protected]
 

Definition at line 43 of file MgcBox3.h.

Referenced by ComputeVertices(), Extent(), and Extents().

MgcVector3 MgcBox3::m_akAxis[3] [protected]
 

Definition at line 42 of file MgcBox3.h.

Referenced by Axes(), Axis(), and ComputeVertices().

MgcVector3 MgcBox3::m_kCenter [protected]
 

Definition at line 41 of file MgcBox3.h.

Referenced by Center(), and ComputeVertices().


The documentation for this class was generated from the following files:
Generated on Sat Apr 1 21:51:15 2006 for Motion Planning Kernel by  doxygen 1.4.6-NO