Public Member Functions | Private Attributes
vgl_cylinder< Type > Class Template Reference

#include <vgl_cylinder.h>

List of all members.

Public Member Functions

 vgl_cylinder (void)
 Default constructor.
 vgl_cylinder (const Type v[8])
 vgl_cylinder (Type cx, Type cy, Type cz, Type rad, Type len)
 vgl_cylinder (vgl_point_3d< Type > cntr, Type rad, Type len)
 vgl_cylinder (vgl_point_3d< Type > cntr, Type rad, Type len, vgl_vector_3d< Type > orient)
 ~vgl_cylinder (void)
vgl_point_3d< Type > center () const
 getters.
Type radius () const
Type length () const
vgl_vector_3d< Type > orientation () const
void set_center (vgl_point_3d< Type > cntr)
 setters.
void set_radius (Type rad)
void set_length (Type len)
void set_orientation (vgl_vector_3d< Type > orient)
bool operator== (vgl_cylinder< Type > const &cyl) const
 operations.
vcl_ostream & print (vcl_ostream &s) const
 Writes "<vgl_cylinder center=(x0,y0,z0), radius=r, length=l, direction=(x1,y1,z1)>" to stream.

Private Attributes

vgl_point_3d< Type > center_
Type radius_
Type length_
vgl_vector_3d< Type > orient_

Detailed Description

template<class Type>
class vgl_cylinder< Type >

Definition at line 22 of file vgl_cylinder.h.


Constructor & Destructor Documentation

template<class Type>
vgl_cylinder< Type >::vgl_cylinder ( void  ) [inline]

Default constructor.

Definition at line 31 of file vgl_cylinder.h.

template<class Type>
vgl_cylinder< Type >::vgl_cylinder ( const Type  v[8]) [inline]

Definition at line 33 of file vgl_cylinder.h.

template<class Type>
vgl_cylinder< Type >::vgl_cylinder ( Type  cx,
Type  cy,
Type  cz,
Type  rad,
Type  len 
) [inline]

Definition at line 36 of file vgl_cylinder.h.

template<class Type>
vgl_cylinder< Type >::vgl_cylinder ( vgl_point_3d< Type >  cntr,
Type  rad,
Type  len 
) [inline]

Definition at line 39 of file vgl_cylinder.h.

template<class Type>
vgl_cylinder< Type >::vgl_cylinder ( vgl_point_3d< Type >  cntr,
Type  rad,
Type  len,
vgl_vector_3d< Type >  orient 
) [inline]

Definition at line 42 of file vgl_cylinder.h.

template<class Type>
vgl_cylinder< Type >::~vgl_cylinder ( void  ) [inline]

Definition at line 45 of file vgl_cylinder.h.


Member Function Documentation

template<class Type>
vgl_point_3d<Type> vgl_cylinder< Type >::center ( ) const [inline]

getters.

Definition at line 48 of file vgl_cylinder.h.

template<class Type>
Type vgl_cylinder< Type >::length ( ) const [inline]

Definition at line 50 of file vgl_cylinder.h.

template<class Type>
bool vgl_cylinder< Type >::operator== ( vgl_cylinder< Type > const &  cyl) const

operations.

template<class Type>
vgl_vector_3d<Type> vgl_cylinder< Type >::orientation ( ) const [inline]

Definition at line 51 of file vgl_cylinder.h.

template<class T >
vcl_ostream & vgl_cylinder< T >::print ( vcl_ostream &  s) const

Writes "<vgl_cylinder center=(x0,y0,z0), radius=r, length=l, direction=(x1,y1,z1)>" to stream.

Definition at line 20 of file vgl_cylinder.txx.

template<class Type>
Type vgl_cylinder< Type >::radius ( ) const [inline]

Definition at line 49 of file vgl_cylinder.h.

template<class Type>
void vgl_cylinder< Type >::set_center ( vgl_point_3d< Type >  cntr) [inline]

setters.

Definition at line 54 of file vgl_cylinder.h.

template<class Type>
void vgl_cylinder< Type >::set_length ( Type  len) [inline]

Definition at line 56 of file vgl_cylinder.h.

template<class Type>
void vgl_cylinder< Type >::set_orientation ( vgl_vector_3d< Type >  orient) [inline]

Definition at line 57 of file vgl_cylinder.h.

template<class Type>
void vgl_cylinder< Type >::set_radius ( Type  rad) [inline]

Definition at line 55 of file vgl_cylinder.h.


Member Data Documentation

template<class Type>
vgl_point_3d<Type> vgl_cylinder< Type >::center_ [private]

Definition at line 24 of file vgl_cylinder.h.

template<class Type>
Type vgl_cylinder< Type >::length_ [private]

Definition at line 26 of file vgl_cylinder.h.

template<class Type>
vgl_vector_3d<Type> vgl_cylinder< Type >::orient_ [private]

Definition at line 27 of file vgl_cylinder.h.

template<class Type>
Type vgl_cylinder< Type >::radius_ [private]

Definition at line 25 of file vgl_cylinder.h.


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