#include <vgl_orient_box_3d.h>
Definition at line 20 of file vgl_orient_box_3d.h.
Public Member Functions | |
| vgl_orient_box_3d () | |
| vgl_orient_box_3d (vgl_box_3d< Type > box) | |
| constructor with only box definition, the direction will be set to (0,0,1) with no rotation. | |
| vgl_orient_box_3d (vgl_box_3d< Type > box, vnl_quaternion< double > orient) | |
| constructor with box and the orientation. | |
| virtual | ~vgl_orient_box_3d (void) |
| bool | operator== (vgl_orient_box_3d< Type > const &obb) const |
| Type | width () const |
| Type | height () const |
| Type | depth () const |
| Type | volume () const |
| vcl_vector< vgl_point_3d< Type > > | corners () |
| returns the 8 corner points of the box. | |
| bool | contains (Type const &x, Type const &y, Type const &z) const |
| Return true if (x,y,z) is inside this box. | |
| bool | contains (vgl_point_3d< Type > const &p) const |
| Return true if point is inside this box. | |
| vcl_ostream & | print (vcl_ostream &s) const |
| vcl_istream & | read (vcl_istream &s) |
Private Attributes | |
| vgl_box_3d< Type > | box_ |
| regular AABB(axis-aligned bounding box). | |
| vnl_quaternion< double > | orient_ |
| orientation of the box as a quaternion. | |
|
|||||||||
|
Definition at line 23 of file vgl_orient_box_3d.h. |
|
||||||||||
|
constructor with only box definition, the direction will be set to (0,0,1) with no rotation.
Definition at line 11 of file vgl_orient_box_3d.txx. |
|
||||||||||||||||
|
constructor with box and the orientation.
Definition at line 22 of file vgl_orient_box_3d.txx. |
|
||||||||||
|
Definition at line 31 of file vgl_orient_box_3d.h. |
|
||||||||||
|
Return true if point is inside this box.
Definition at line 48 of file vgl_orient_box_3d.h. |
|
||||||||||||||||||||
|
Return true if (x,y,z) is inside this box.
Definition at line 71 of file vgl_orient_box_3d.txx. |
|
|||||||||
|
returns the 8 corner points of the box.
Definition at line 29 of file vgl_orient_box_3d.txx. |
|
|||||||||
|
Definition at line 40 of file vgl_orient_box_3d.h. |
|
|||||||||
|
Definition at line 39 of file vgl_orient_box_3d.h. |
|
||||||||||
|
Definition at line 33 of file vgl_orient_box_3d.h. |
|
||||||||||
|
Definition at line 90 of file vgl_orient_box_3d.txx. |
|
||||||||||
|
Definition at line 96 of file vgl_orient_box_3d.txx. |
|
|||||||||
|
Definition at line 41 of file vgl_orient_box_3d.h. |
|
|||||||||
|
Definition at line 38 of file vgl_orient_box_3d.h. |
|
|||||
|
regular AABB(axis-aligned bounding box).
Definition at line 57 of file vgl_orient_box_3d.h. |
|
|||||
|
orientation of the box as a quaternion.
Definition at line 60 of file vgl_orient_box_3d.h. |
1.4.4