Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

ZCrossSeg Class Reference

A segment on a zero crossing line. More...

#include <zcross_extractor.H>

Collaboration diagram for ZCrossSeg:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ZCrossSeg (Bface *face_in, BarycentricCoord start_bc_in, double start_conf_in, BarycentricCoord end_bc_in, double end_conf_in, bool end_in=false)
ZCrossSeg flip () const
Bfaceget_face () const
BarycentricCoord get_start_bc () const
BarycentricCoord get_end_bc () const
Wpt get_start_pt () const
Wpt get_end_pt () const
double get_start_conf () const
double get_end_conf () const
bool is_end () const
void set_end (bool end_in=true)

Private Attributes

Bfaceface
 The face the segment lies on.
BarycentricCoord start_bc
 The endpoints of the segment in barycentric coordinates.
BarycentricCoord end_bc
double start_conf
 The confidences of the endpoints.
double end_conf
bool end
 End flag.

Detailed Description

A segment on a zero crossing line.

This segment spans exactly one face on the mesh.

These segments are meant to be kept in a sequence (like an array or vector) with the end_pt of one segment corresponding to the start_pt of the next segment in the sequence.

Definition at line 88 of file zcross_extractor.H.


Constructor & Destructor Documentation

ZCrossSeg::ZCrossSeg Bface face_in,
BarycentricCoord  start_bc_in,
double  start_conf_in,
BarycentricCoord  end_bc_in,
double  end_conf_in,
bool  end_in = false
[inline]
 

Definition at line 92 of file zcross_extractor.H.

Referenced by flip().


Member Function Documentation

ZCrossSeg ZCrossSeg::flip  )  const [inline]
 

Definition at line 104 of file zcross_extractor.H.

References end, end_bc, end_conf, face, start_bc, start_conf, and ZCrossSeg().

BarycentricCoord ZCrossSeg::get_end_bc  )  const [inline]
 

Definition at line 111 of file zcross_extractor.H.

References end_bc.

double ZCrossSeg::get_end_conf  )  const [inline]
 

Definition at line 117 of file zcross_extractor.H.

References end_conf.

Wpt ZCrossSeg::get_end_pt  )  const [inline]
 

Definition at line 114 of file zcross_extractor.H.

References end_bc, face, and BarycentricCoord::to_Wpt().

Bface* ZCrossSeg::get_face  )  const [inline]
 

Definition at line 108 of file zcross_extractor.H.

References face.

BarycentricCoord ZCrossSeg::get_start_bc  )  const [inline]
 

Definition at line 110 of file zcross_extractor.H.

References start_bc.

double ZCrossSeg::get_start_conf  )  const [inline]
 

Definition at line 116 of file zcross_extractor.H.

References start_conf.

Wpt ZCrossSeg::get_start_pt  )  const [inline]
 

Definition at line 113 of file zcross_extractor.H.

References face, start_bc, and BarycentricCoord::to_Wpt().

bool ZCrossSeg::is_end  )  const [inline]
 

Definition at line 119 of file zcross_extractor.H.

References end.

void ZCrossSeg::set_end bool  end_in = true  )  [inline]
 

Definition at line 121 of file zcross_extractor.H.

References end.


Member Data Documentation

bool ZCrossSeg::end [private]
 

End flag.

Marks this segment as the end of a contiguous zero crossing line.

Definition at line 134 of file zcross_extractor.H.

Referenced by flip(), is_end(), and set_end().

BarycentricCoord ZCrossSeg::end_bc [private]
 

Definition at line 128 of file zcross_extractor.H.

Referenced by flip(), get_end_bc(), and get_end_pt().

double ZCrossSeg::end_conf [private]
 

Definition at line 130 of file zcross_extractor.H.

Referenced by flip(), and get_end_conf().

Bface* ZCrossSeg::face [private]
 

The face the segment lies on.

Definition at line 126 of file zcross_extractor.H.

Referenced by flip(), get_end_pt(), get_face(), and get_start_pt().

BarycentricCoord ZCrossSeg::start_bc [private]
 

The endpoints of the segment in barycentric coordinates.

Definition at line 128 of file zcross_extractor.H.

Referenced by flip(), get_start_bc(), and get_start_pt().

double ZCrossSeg::start_conf [private]
 

The confidences of the endpoints.

Definition at line 130 of file zcross_extractor.H.

Referenced by flip(), and get_start_conf().


The documentation for this class was generated from the following file:
Generated on Mon Sep 18 11:48:04 2006 for jot by  doxygen 1.4.4