Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Spr::SGBBox Class Reference

バウンディングボックスの実装 More...

#include <SGFrame.h>

Collaboration diagram for Spr::SGBBox:

Collaboration graph
[legend]
List of all members.

Public Member Functions

Private Attributes


Detailed Description

バウンディングボックスの実装

Definition at line 8 of file SGFrame.h.


Member Function Documentation

void Spr::SGBBox::SetBBoxCenterExtent Vec3f  c,
Vec3f  e
[inline]
 

バウンディングボックスの設定

Definition at line 13 of file SGFrame.h.

References bboxCenter, and bboxExtent.

void Spr::SGBBox::SetBBoxMinMax Vec3f  bmin,
Vec3f  bmax
[inline]
 

バウンディングボックスの設定

Definition at line 18 of file SGFrame.h.

References bboxCenter, and bboxExtent.

Referenced by AddBBox().

void Spr::SGBBox::AddBBox Vec3f  bmin,
Vec3f  bmax
[inline]
 

バウンディングボックスの追加

Definition at line 23 of file SGFrame.h.

References PTM::VectorImp< SZ, STR, OD >::element_max(), PTM::VectorImp< SZ, STR, OD >::element_min(), GetBBoxMax(), GetBBoxMin(), and SetBBoxMinMax().

Vec3f Spr::SGBBox::GetBBoxCenter  )  [inline]
 

中心

Definition at line 31 of file SGFrame.h.

References bboxCenter.

Vec3f Spr::SGBBox::GetBBoxExtent  )  [inline]
 

大きさ

Definition at line 33 of file SGFrame.h.

References bboxExtent.

Vec3f Spr::SGBBox::GetBBoxMin  )  [inline]
 

小さい端点

Definition at line 35 of file SGFrame.h.

References bboxCenter, and bboxExtent.

Referenced by AddBBox().

Vec3f Spr::SGBBox::GetBBoxMax  )  [inline]
 

大きい端点

Definition at line 37 of file SGFrame.h.

References bboxCenter, and bboxExtent.

Referenced by AddBBox().

void Spr::SGBBox::GetSupport const Vec3f dir,
float &  minS,
float &  maxS
[inline]
 

与えられたベクトルとの内積が最大と最小の点

Definition at line 39 of file SGFrame.h.

References bboxCenter, bboxExtent, Spr::TVec3< T >::X(), Spr::TVec3< T >::Y(), and Spr::TVec3< T >::Z().


Member Data Documentation

Vec3f Spr::SGBBox::bboxCenter [private]
 

BBoxの中心(ローカル系).

Definition at line 9 of file SGFrame.h.

Referenced by GetBBoxCenter(), GetBBoxMax(), GetBBoxMin(), GetSupport(), SetBBoxCenterExtent(), and SetBBoxMinMax().

Vec3f Spr::SGBBox::bboxExtent [private]
 

BBoxの大きさ(ローカル系).

Definition at line 10 of file SGFrame.h.

Referenced by GetBBoxExtent(), GetBBoxMax(), GetBBoxMin(), GetSupport(), SetBBoxCenterExtent(), and SetBBoxMinMax().


The documentation for this class was generated from the following file:
Generated on Sun Apr 16 02:08:14 2006 for Springhead by  doxygen 1.4.1