Public Member Functions | Private Attributes
mbl_chord_3d Class Reference

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

#include <mbl_chord_3d.h>

List of all members.

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_

Detailed Description

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

Definition at line 13 of file mbl_chord_3d.h.


Constructor & Destructor Documentation

mbl_chord_3d::mbl_chord_3d ( ) [inline]

Constructor.

Definition at line 22 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 25 of file mbl_chord_3d.h.


Member Function Documentation

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

Read from binary stream.

Definition at line 63 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 54 of file mbl_chord_3d.h.

int mbl_chord_3d::end_x ( ) const [inline]

X-ordinate of end.

Definition at line 32 of file mbl_chord_3d.h.

int mbl_chord_3d::length ( ) const [inline]

Length.

Definition at line 41 of file mbl_chord_3d.h.

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

Comparison.

Definition at line 71 of file mbl_chord_3d.h.

int mbl_chord_3d::start_x ( ) const [inline]

X-ordinate of start.

Definition at line 29 of file mbl_chord_3d.h.

int mbl_chord_3d::y ( ) const [inline]

y-ordinate.

Definition at line 35 of file mbl_chord_3d.h.

int mbl_chord_3d::z ( ) const [inline]

z-ordinate.

Definition at line 38 of file mbl_chord_3d.h.


Member Data Documentation

int mbl_chord_3d::end_x_ [private]

Definition at line 17 of file mbl_chord_3d.h.

int mbl_chord_3d::start_x_ [private]

Definition at line 16 of file mbl_chord_3d.h.

int mbl_chord_3d::y_ [private]

Definition at line 18 of file mbl_chord_3d.h.

int mbl_chord_3d::z_ [private]

Definition at line 19 of file mbl_chord_3d.h.


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