Classes | Macros | Functions
vgl_orient_box_3d.h File Reference

A bounding oriented box. More...

#include <vector>
#include <iosfwd>
#include <vgl/vgl_box_3d.h>
#include <vgl/vgl_point_3d.h>
#include <vnl/vnl_quaternion.h>

Go to the source code of this file.

Classes

class  vgl_orient_box_3d< Type >
 

Macros

#define VGL_ORIENT_BOX_3D_INSTANTIATE(T)   extern "Please #include <vgl/vgl_orient_box_3d.hxx> instead"
 

Functions

template<class Type >
std::ostream & operator<< (std::ostream &s, vgl_orient_box_3d< Type > const &p)
 Write box to stream. More...
 
template<class Type >
std::istream & operator>> (std::istream &is, vgl_orient_box_3d< Type > &p)
 Read box from stream. More...
 

Detailed Description

A bounding oriented box.

This class mimics the properties of an oriented box by keeping a regular axis aligned box and a rotation direction. It keeps a bounding box of the rotated box which is an axis aligned box.

  Modifications
   2010-01-18 Peter Vanroose - added constructor from 4 corner points

Definition in file vgl_orient_box_3d.h.

Macro Definition Documentation

◆ VGL_ORIENT_BOX_3D_INSTANTIATE

#define VGL_ORIENT_BOX_3D_INSTANTIATE (   T)    extern "Please #include <vgl/vgl_orient_box_3d.hxx> instead"

Definition at line 92 of file vgl_orient_box_3d.h.

Function Documentation

◆ operator<<()

template<class Type >
std::ostream & operator<< ( std::ostream &  s,
vgl_orient_box_3d< Type > const &  p 
)

Write box to stream.

Definition at line 143 of file vgl_orient_box_3d.hxx.

◆ operator>>()

template<class Type >
std::istream & operator>> ( std::istream &  is,
vgl_orient_box_3d< Type > &  p 
)

Read box from stream.

Definition at line 150 of file vgl_orient_box_3d.hxx.