Classes | Defines | Functions
core/vgl/algo/vgl_ellipsoid_3d.h File Reference

Ellipsoid in 3D, defined by centre point, rotation, 3 axis halflengths. More...

#include <vgl/vgl_point_3d.h>
#include <vgl/algo/vgl_rotation_3d.h>
#include <vcl_iosfwd.h>

Go to the source code of this file.

Classes

class  vgl_ellipsoid_3d< T >

Defines

#define VGL_ELLIPSOID_3D_INSTANTIATE(T)   extern "please include vgl/vgl_ellipsoid_3d.txx first"

Functions

template<class T >
vcl_ostream & operator<< (vcl_ostream &os, vgl_ellipsoid_3d< T > const &e)
 Writes "<vgl_ellipsoid_3d center=(x0,y0,z0), orientation, size=(x_hl,y_hl,z_hl)" to stream.

Detailed Description

Ellipsoid in 3D, defined by centre point, rotation, 3 axis halflengths.

Consider this ellipsoid as being constructed from the unit sphere by first extruding along the X, Y and Z axes by the extrusion factors x_halflength(), y_halflength() and z_halflength(), then rotating around the origin by the given vgl_rotation_3d, and finally translating such that the point (0,0,0) moves to the given centre point.

Author:
Peter Vanroose, Leuven, Belgium
Date:
12 June 2009
    Modifications
     Jun 2009 created
   

Definition in file vgl_ellipsoid_3d.h.


Define Documentation

#define VGL_ELLIPSOID_3D_INSTANTIATE (   T)    extern "please include vgl/vgl_ellipsoid_3d.txx first"

Definition at line 79 of file vgl_ellipsoid_3d.h.


Function Documentation

template<class T >
vcl_ostream& operator<< ( vcl_ostream &  os,
vgl_ellipsoid_3d< T > const &  e 
)

Writes "<vgl_ellipsoid_3d center=(x0,y0,z0), orientation, size=(x_hl,y_hl,z_hl)" to stream.

Definition at line 77 of file vgl_ellipsoid_3d.h.