Classes | Functions
contrib/mul/vil3d/vil3d_chord.h File Reference

Horizontal line used in 3D images, with integer co-ordinates. More...

#include <vsl/vsl_binary_io.h>
#include <vcl_vector.h>
#include <vcl_iostream.h>

Go to the source code of this file.

Classes

class  vil3d_chord
 Horizontal line used in 3D images, with integer co-ordinates. More...

Functions

unsigned vil3d_volume (const vcl_vector< vil3d_chord > &chords)
 Computes number of voxels in region.
vcl_ostream & operator<< (vcl_ostream &os, const vil3d_chord &c)
 Print.
void vsl_b_write (vsl_b_ostream &bfs, const vil3d_chord &t)
 Save.
void vsl_b_write (vsl_b_ostream &bfs, const vcl_vector< vil3d_chord > &t)
 Save.
void vsl_b_read (vsl_b_istream &bfs, vil3d_chord &t)
 Load.
void vsl_b_read (vsl_b_istream &bfs, vcl_vector< vil3d_chord > &t)
 Load.
void vsl_print_summary (vcl_ostream &os, const vil3d_chord &t)
 Print.

Detailed Description

Horizontal line used in 3D images, with integer co-ordinates.

Author:
Tim Cootes

Definition in file vil3d_chord.h.


Function Documentation

vcl_ostream& operator<< ( vcl_ostream &  os,
const vil3d_chord c 
) [inline]

Print.

Definition at line 90 of file vil3d_chord.h.

unsigned vil3d_volume ( const vcl_vector< vil3d_chord > &  chords) [inline]

Computes number of voxels in region.

Assumes chords do not overlap

Definition at line 56 of file vil3d_chord.h.

void vsl_b_read ( vsl_b_istream bfs,
vil3d_chord t 
) [inline]

Load.

Definition at line 110 of file vil3d_chord.h.

void vsl_b_read ( vsl_b_istream bfs,
vcl_vector< vil3d_chord > &  t 
) [inline]

Load.

Definition at line 116 of file vil3d_chord.h.

void vsl_b_write ( vsl_b_ostream bfs,
const vil3d_chord t 
) [inline]

Save.

Definition at line 96 of file vil3d_chord.h.

void vsl_b_write ( vsl_b_ostream bfs,
const vcl_vector< vil3d_chord > &  t 
) [inline]

Save.

Definition at line 102 of file vil3d_chord.h.

void vsl_print_summary ( vcl_ostream &  os,
const vil3d_chord t 
) [inline]

Print.

Definition at line 126 of file vil3d_chord.h.