Public Types | Public Member Functions | Public Attributes
Opcode::CollisionAABB Class Reference

#include <Opcode.h>

List of all members.

Public Types

enum  ssv_type { SSV_PSS, SSV_LSS }

Public Member Functions

inline_ CollisionAABB ()
 Constructor.
inline_ CollisionAABB (const AABB &b)
 Constructor.
void CreateSSV ()
inline_ void GetMax (Point &max) const
 Get max point of the box.
inline_ float GetMax (udword axis) const
 Get component of the box's max point along a given axis.
inline_ void GetMin (Point &min) const
 Get min point of the box.
inline_ float GetMin (udword axis) const
 Get component of the box's min point along a given axis.
inline_ BOOL IsInside (const CollisionAABB &box) const
inline_ void SetMinMax (const Point &min, const Point &max)
inline_ ~CollisionAABB ()
 Destructor.

Public Attributes

Point mCenter
 Box center.
Point mExtents
 Box extents.
Point mPoint0
Point mPoint1
 End points of line segment.
float mRadius
ssv_type mType
 Type of SSV.

Detailed Description

Definition at line 31 of file Opcode.h.


Member Enumeration Documentation

Enumerator:
SSV_PSS 
SSV_LSS 

Definition at line 81 of file Opcode.h.


Constructor & Destructor Documentation

Constructor.

Definition at line 35 of file Opcode.h.

Constructor.

Definition at line 37 of file Opcode.h.

Destructor.

Definition at line 39 of file Opcode.h.


Member Function Documentation

Definition at line 85 of file Opcode.h.

inline_ void Opcode::CollisionAABB::GetMax ( Point max) const [inline]

Get max point of the box.

Definition at line 44 of file Opcode.h.

inline_ float Opcode::CollisionAABB::GetMax ( udword  axis) const [inline]

Get component of the box's max point along a given axis.

Definition at line 49 of file Opcode.h.

inline_ void Opcode::CollisionAABB::GetMin ( Point min) const [inline]

Get min point of the box.

Definition at line 42 of file Opcode.h.

inline_ float Opcode::CollisionAABB::GetMin ( udword  axis) const [inline]

Get component of the box's min point along a given axis.

Definition at line 47 of file Opcode.h.

Checks a box is inside another box.

Parameters:
box[in] the other box
Returns:
true if current box is inside input box

Definition at line 67 of file Opcode.h.

Setups an AABB from min & max vectors.

Parameters:
min[in] the min point
max[in] the max point

Definition at line 58 of file Opcode.h.


Member Data Documentation

Box center.

Definition at line 78 of file Opcode.h.

Box extents.

Definition at line 79 of file Opcode.h.

Definition at line 84 of file Opcode.h.

End points of line segment.

Definition at line 84 of file Opcode.h.

Definition at line 83 of file Opcode.h.

Type of SSV.

Definition at line 82 of file Opcode.h.


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


openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Thu Apr 11 2019 03:30:22