Public Member Functions | Private Attributes
vil3d_chord Class Reference

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

#include <vil3d_chord.h>

List of all members.

Public Member Functions

 vil3d_chord ()
 Constructor.
 vil3d_chord (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 vil3d_chord &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 14 of file vil3d_chord.h.


Constructor & Destructor Documentation

vil3d_chord::vil3d_chord ( ) [inline]

Constructor.

Definition at line 23 of file vil3d_chord.h.

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

Constructor.

Definition at line 26 of file vil3d_chord.h.


Member Function Documentation

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

Read from binary stream.

Definition at line 76 of file vil3d_chord.h.

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

Write to binary stream.

Definition at line 67 of file vil3d_chord.h.

int vil3d_chord::end_x ( ) const [inline]

X-ordinate of end.

Definition at line 33 of file vil3d_chord.h.

int vil3d_chord::length ( ) const [inline]

Length.

Definition at line 42 of file vil3d_chord.h.

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

Comparison.

Definition at line 84 of file vil3d_chord.h.

int vil3d_chord::start_x ( ) const [inline]

X-ordinate of start.

Definition at line 30 of file vil3d_chord.h.

int vil3d_chord::y ( ) const [inline]

y-ordinate.

Definition at line 36 of file vil3d_chord.h.

int vil3d_chord::z ( ) const [inline]

z-ordinate.

Definition at line 39 of file vil3d_chord.h.


Member Data Documentation

int vil3d_chord::end_x_ [private]

Definition at line 18 of file vil3d_chord.h.

int vil3d_chord::start_x_ [private]

Definition at line 17 of file vil3d_chord.h.

int vil3d_chord::y_ [private]

Definition at line 19 of file vil3d_chord.h.

int vil3d_chord::z_ [private]

Definition at line 20 of file vil3d_chord.h.


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