mbl_chord_3d Class Reference

#include <mbl_chord_3d.h>

List of all members.


Detailed Description

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

Definition at line 12 of file mbl_chord_3d.h.


Public Member Functions

 mbl_chord_3d ()
 Constructor.
 mbl_chord_3d (int start_x, int end_x, int y, int z)
 Constructor.
int start_x () const
 X-ordinate of start.
int end_x () const
 X-ordinate of end.
int y () const
 y-ordinate.
int z () const
 z-ordinate.
int length () const
 Length.
void b_write (vsl_b_ostream &bfs) const
 Write to binary stream.
void b_read (vsl_b_istream &bfs)
 Read from binary stream.
bool operator== (const mbl_chord_3d &c) const
 Comparison.

Private Attributes

int start_x_
int end_x_
int y_
int z_

Constructor & Destructor Documentation

mbl_chord_3d::mbl_chord_3d (  )  [inline]

Constructor.

Definition at line 21 of file mbl_chord_3d.h.

mbl_chord_3d::mbl_chord_3d ( int  start_x,
int  end_x,
int  y,
int  z 
) [inline]

Constructor.

Definition at line 24 of file mbl_chord_3d.h.


Member Function Documentation

int mbl_chord_3d::start_x (  )  const [inline]

X-ordinate of start.

Definition at line 28 of file mbl_chord_3d.h.

int mbl_chord_3d::end_x (  )  const [inline]

X-ordinate of end.

Definition at line 31 of file mbl_chord_3d.h.

int mbl_chord_3d::y (  )  const [inline]

y-ordinate.

Definition at line 34 of file mbl_chord_3d.h.

int mbl_chord_3d::z (  )  const [inline]

z-ordinate.

Definition at line 37 of file mbl_chord_3d.h.

int mbl_chord_3d::length (  )  const [inline]

Length.

Definition at line 40 of file mbl_chord_3d.h.

void mbl_chord_3d::b_write ( vsl_b_ostream bfs  )  const [inline]

Write to binary stream.

Definition at line 53 of file mbl_chord_3d.h.

void mbl_chord_3d::b_read ( vsl_b_istream bfs  )  [inline]

Read from binary stream.

Definition at line 62 of file mbl_chord_3d.h.

bool mbl_chord_3d::operator== ( const mbl_chord_3d c  )  const [inline]

Comparison.

Definition at line 70 of file mbl_chord_3d.h.


Member Data Documentation

int mbl_chord_3d::start_x_ [private]

Definition at line 15 of file mbl_chord_3d.h.

int mbl_chord_3d::end_x_ [private]

Definition at line 16 of file mbl_chord_3d.h.

int mbl_chord_3d::y_ [private]

Definition at line 17 of file mbl_chord_3d.h.

int mbl_chord_3d::z_ [private]

Definition at line 18 of file mbl_chord_3d.h.


The documentation for this class was generated from the following file:
Generated on Thu Jan 8 05:10:44 2009 for contrib/mul/mbl by  doxygen 1.5.1