|
Bullet Collision Detection & Physics Library
|
Axis aligned box. More...
#include <gim_box_collision.h>

Public Member Functions | |
| GIM_AABB () | |
| GIM_AABB (const btVector3 &V1, const btVector3 &V2, const btVector3 &V3) | |
| GIM_AABB (const btVector3 &V1, const btVector3 &V2, const btVector3 &V3, GREAL margin) | |
| GIM_AABB (const GIM_AABB &other) | |
| GIM_AABB (const GIM_AABB &other, btScalar margin) | |
| void | invalidate () |
| void | increment_margin (btScalar margin) |
| void | copy_with_margin (const GIM_AABB &other, btScalar margin) |
| template<typename CLASS_POINT > | |
| void | calc_from_triangle (const CLASS_POINT &V1, const CLASS_POINT &V2, const CLASS_POINT &V3) |
| template<typename CLASS_POINT > | |
| void | calc_from_triangle_margin (const CLASS_POINT &V1, const CLASS_POINT &V2, const CLASS_POINT &V3, btScalar margin) |
| void | appy_transform (const btTransform &trans) |
| Apply a transform to an AABB. More... | |
| void | merge (const GIM_AABB &box) |
| Merges a Box. More... | |
| template<typename CLASS_POINT > | |
| void | merge_point (const CLASS_POINT &point) |
| Merges a point. More... | |
| void | get_center_extend (btVector3 ¢er, btVector3 &extend) const |
| Gets the extend and center. More... | |
| void | find_intersection (const GIM_AABB &other, GIM_AABB &intersection) const |
| Finds the intersecting box between this box and the other. More... | |
| bool | has_collision (const GIM_AABB &other) const |
| bool | collide_ray (const btVector3 &vorigin, const btVector3 &vdir) |
| Finds the Ray intersection parameter. More... | |
| void | projection_interval (const btVector3 &direction, btScalar &vmin, btScalar &vmax) const |
| ePLANE_INTERSECTION_TYPE | plane_classify (const btVector4 &plane) const |
| bool | overlapping_trans_conservative (const GIM_AABB &box, btTransform &trans1_to_0) |
| bool | overlapping_trans_cache (const GIM_AABB &box, const GIM_BOX_BOX_TRANSFORM_CACHE &transcache, bool fulltest) |
| transcache is the transformation cache from box to this AABB More... | |
| bool | collide_plane (const btVector4 &plane) |
| Simple test for planes. More... | |
| bool | collide_triangle_exact (const btVector3 &p1, const btVector3 &p2, const btVector3 &p3, const btVector4 &triangle_plane) |
| test for a triangle, with edges More... | |
Public Attributes | |
| btVector3 | m_min |
| btVector3 | m_max |
Axis aligned box.
Definition at line 201 of file gim_box_collision.h.
|
inline |
Definition at line 207 of file gim_box_collision.h.
Definition at line 211 of file gim_box_collision.h.
|
inline |
Definition at line 224 of file gim_box_collision.h.
|
inline |
Definition at line 245 of file gim_box_collision.h.
Definition at line 250 of file gim_box_collision.h.
|
inline |
Apply a transform to an AABB.
Definition at line 330 of file gim_box_collision.h.
|
inline |
Definition at line 293 of file gim_box_collision.h.
|
inline |
Definition at line 308 of file gim_box_collision.h.
|
inline |
Simple test for planes.
Definition at line 522 of file gim_box_collision.h.
Finds the Ray intersection parameter.
| aabb | Aligned box |
| vorigin | A vec3f with the origin of the ray |
| vdir | A vec3f with the direction of the ray |
Definition at line 409 of file gim_box_collision.h.
|
inline |
test for a triangle, with edges
Definition at line 530 of file gim_box_collision.h.
Definition at line 281 of file gim_box_collision.h.
Finds the intersecting box between this box and the other.
Definition at line 378 of file gim_box_collision.h.
Gets the extend and center.
Definition at line 371 of file gim_box_collision.h.
|
inline |
Definition at line 390 of file gim_box_collision.h.
|
inline |
Definition at line 271 of file gim_box_collision.h.
|
inline |
Definition at line 261 of file gim_box_collision.h.
|
inline |
Merges a Box.
Definition at line 346 of file gim_box_collision.h.
|
inline |
Merges a point.
Definition at line 359 of file gim_box_collision.h.
|
inline |
transcache is the transformation cache from box to this AABB
Definition at line 468 of file gim_box_collision.h.
|
inline |
Definition at line 460 of file gim_box_collision.h.
|
inline |
Definition at line 443 of file gim_box_collision.h.
|
inline |
Definition at line 432 of file gim_box_collision.h.
| btVector3 GIM_AABB::m_max |
Definition at line 205 of file gim_box_collision.h.
| btVector3 GIM_AABB::m_min |
Definition at line 204 of file gim_box_collision.h.
1.8.13