Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

vifa_bbox Class Reference

#include <vifa_bbox.h>

Inheritance diagram for vifa_bbox:

Inheritance graph
[legend]
List of all members.

Detailed Description

Definition at line 21 of file vifa_bbox.h.

Public Member Functions

 vifa_bbox (void)
 vifa_bbox (vifa_bbox const &b)
void touch ()
unsigned long get_time_stamp () const
bool older (vul_timestamp const &t) const
bool older (vul_timestamp const *t) const
void ref ()
void unref ()
int get_references () const
bool is_referenced () const
 vgl_box_2d ()
 vgl_box_2d (doubleconst min_position[2], doubleconst max_position[2])
 vgl_box_2d (vgl_point_2d< double > const &min_pos, vgl_point_2d< double > const &max_pos)
 vgl_box_2d (doublexmin, doublexmax, doubleymin, doubleymax)
 vgl_box_2d (doubleconst ref_point[2], doublewidth, doubleheight, point_type)
 vgl_box_2d (vgl_point_2d< double > const &ref_point, doublewidth, doubleheight, point_type)
bool operator== (vgl_box_2d< double > const &b) const
double width () const
double height () const
double area () const
double volume () const
double min_x () const
double min_y () const
double max_x () const
double max_y () const
vgl_point_2d< double > centroid () const
double centroid_x () const
double centroid_y () const
vgl_point_2d< double > min_point () const
vgl_point_2d< double > max_point () const
bool is_empty () const
void add (vgl_point_2d< double > const &p)
void add (vgl_box_2d< double > const &b)
bool contains (vgl_point_2d< double > const &p) const
bool contains (vgl_box_2d< double > const &b) const
bool contains (doubleconst &x, doubleconst &y) const
void empty ()
void set_min_x (doublem)
void set_min_y (doublem)
void set_max_x (doublem)
void set_max_y (doublem)
void set_centroid_x (doublecx)
void set_centroid_y (doublecy)
void set_width (doublewidth)
void set_height (doubleheight)
void expand_about_centroid (doubleexpand)
void scale_about_centroid (double s)
void scale_about_origin (double s)
void setmin_position (doubleconst min_position[2])
void setmax_position (doubleconst max_position[2])
void set_min_point (vgl_point_2d< double > const &min_pt)
void set_max_point (vgl_point_2d< double > const &max_pt)
void set_centroid (doubleconst c[2])
void set_centroid (vgl_point_2d< double > const &c)
vcl_ostream & print (vcl_ostream &) const
vcl_ostream & write (vcl_ostream &) const
vcl_istream & read (vcl_istream &)
vcl_ostream & operator<< (vcl_ostream &s, vgl_box_2d< double > const &p)
vcl_istream & operator>> (vcl_istream &is, vgl_box_2d< double > &p)
vgl_box_2d< double > vgl_intersection (vgl_box_2d< double > const &a, vgl_box_2d< double > const &b)
vgl_line_segment_2d< T > vgl_clip_line_to_box (vgl_line_2d< T > const &l, vgl_box_2d< T > const &b)

Public Attributes

 centre
 min_pos
 max_pos

Protected Attributes

unsigned long timestamp_
double min_pos_ [2]
double max_pos_ [2]


Constructor & Destructor Documentation

vifa_bbox::vifa_bbox void   )  [inline]
 

Definition at line 27 of file vifa_bbox.h.

vifa_bbox::vifa_bbox vifa_bbox const &  b  )  [inline]
 

Definition at line 29 of file vifa_bbox.h.


Member Function Documentation

void vgl_box_2d< double >::add vgl_box_2d< double > const &  b  )  [inherited]
 

void vgl_box_2d< double >::add vgl_point_2d< double > const &  p  )  [inherited]
 

double vgl_box_2d< double >::area void   )  const [inherited]
 

vgl_point_2d< double > vgl_box_2d< double >::centroid  )  const [inherited]
 

double vgl_box_2d< double >::centroid_x  )  const [inherited]
 

double vgl_box_2d< double >::centroid_y  )  const [inherited]
 

bool vgl_box_2d< double >::contains double const &  x,
double const &  y
const [inherited]
 

bool vgl_box_2d< double >::contains vgl_box_2d< double > const &  b  )  const [inherited]
 

bool vgl_box_2d< double >::contains vgl_point_2d< double > const &  p  )  const [inherited]
 

void vgl_box_2d< double >::empty  )  [inherited]
 

void vgl_box_2d< double >::expand_about_centroid double   expand  )  [inherited]
 

double vgl_box_2d< double >::height  )  const [inherited]
 

bool vgl_box_2d< double >::is_empty  )  const [inherited]
 

vgl_point_2d< double > vgl_box_2d< double >::max_point  )  const [inherited]
 

double vgl_box_2d< double >::max_x  )  const [inherited]
 

double vgl_box_2d< double >::max_y  )  const [inherited]
 

vgl_point_2d< double > vgl_box_2d< double >::min_point  )  const [inherited]
 

double vgl_box_2d< double >::min_x  )  const [inherited]
 

double vgl_box_2d< double >::min_y  )  const [inherited]
 

vcl_ostream & vgl_box_2d< double >::operator<< vcl_ostream &  s,
vgl_box_2d< double > const &  p
[inherited]
 

bool vgl_box_2d< double >::operator== vgl_box_2d< double > const &  b  )  const [inherited]
 

vcl_istream & vgl_box_2d< double >::operator>> vcl_istream &  is,
vgl_box_2d< double > &  p
[inherited]
 

vcl_ostream & vgl_box_2d< double >::print vcl_ostream &   )  const [inherited]
 

vcl_istream & vgl_box_2d< double >::read vcl_istream &   )  [inherited]
 

void vgl_box_2d< double >::scale_about_centroid double  s  )  [inherited]
 

void vgl_box_2d< double >::scale_about_origin double  s  )  [inherited]
 

void vgl_box_2d< double >::set_centroid vgl_point_2d< double > const &  c  )  [inherited]
 

void vgl_box_2d< double >::set_centroid double const   c[2]  )  [inherited]
 

void vgl_box_2d< double >::set_centroid_x double   cx  )  [inherited]
 

void vgl_box_2d< double >::set_centroid_y double   cy  )  [inherited]
 

void vgl_box_2d< double >::set_height double   height  )  [inherited]
 

void vgl_box_2d< double >::set_max_point vgl_point_2d< double > const &  max_pt  )  [inherited]
 

void vgl_box_2d< double >::set_max_x double   m  )  [inherited]
 

void vgl_box_2d< double >::set_max_y double   m  )  [inherited]
 

void vgl_box_2d< double >::set_min_point vgl_point_2d< double > const &  min_pt  )  [inherited]
 

void vgl_box_2d< double >::set_min_x double   m  )  [inherited]
 

void vgl_box_2d< double >::set_min_y double   m  )  [inherited]
 

void vgl_box_2d< double >::set_width double   width  )  [inherited]
 

void vgl_box_2d< double >::setmax_position double const   max_position[2]  )  [inherited]
 

void vgl_box_2d< double >::setmin_position double const   min_position[2]  )  [inherited]
 

vgl_box_2d< double >::vgl_box_2d vgl_point_2d< double > const &  ref_point,
double   width,
double   height,
point_type 
[inherited]
 

vgl_box_2d< double >::vgl_box_2d double const   ref_point[2],
double   width,
double   height,
point_type 
[inherited]
 

vgl_box_2d< double >::vgl_box_2d double   xmin,
double   xmax,
double   ymin,
double   ymax
[inherited]
 

vgl_box_2d< double >::vgl_box_2d vgl_point_2d< double > const &  min_pos,
vgl_point_2d< double > const &  max_pos
[inherited]
 

vgl_box_2d< double >::vgl_box_2d double const   min_position[2],
double const   max_position[2]
[inherited]
 

vgl_box_2d< double >::vgl_box_2d  )  [inherited]
 

vgl_line_segment_2d< T > vgl_box_2d< double >::vgl_clip_line_to_box vgl_line_2d< T > const &  l,
vgl_box_2d< T > const &  b
[inherited]
 

vgl_box_2d< double > vgl_box_2d< double >::vgl_intersection vgl_box_2d< double > const &  a,
vgl_box_2d< double > const &  b
[inherited]
 

double vgl_box_2d< double >::volume  )  const [inherited]
 

double vgl_box_2d< double >::width void   )  const [inherited]
 

vcl_ostream & vgl_box_2d< double >::write vcl_ostream &   )  const [inherited]
 


Member Data Documentation

vgl_box_2d< double >::centre [inherited]
 

vgl_box_2d< double >::max_pos [inherited]
 

double vgl_box_2d< double >::max_pos_[2] [protected, inherited]
 

vgl_box_2d< double >::min_pos [inherited]
 

double vgl_box_2d< double >::min_pos_[2] [protected, inherited]
 


The documentation for this class was generated from the following file:
Generated on Thu Jan 10 14:47:31 2008 for contrib/gel/vifa by  doxygen 1.4.4