OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
Public Member Functions | Public Attributes | Friends | List of all members
ossimActiveEdgeTableNode Class Reference

#include <ossimActiveEdgeTable.h>

Public Member Functions

 ossimActiveEdgeTableNode (ossim_int32 maxY=0, double slope=0.0, double currentX=0.0)
 
bool operator() (const ossimActiveEdgeTableNode &left, const ossimActiveEdgeTableNode &right) const
 
bool operator< (const ossimActiveEdgeTableNode &right) const
 
bool operator> (const ossimActiveEdgeTableNode &right) const
 

Public Attributes

ossim_int32 theMaxY
 
double theSlope
 
double theCurrentX
 

Friends

std::ostream & operator<< (std::ostream &out, const ossimActiveEdgeTableNode &rhs)
 

Detailed Description

Definition at line 17 of file ossimActiveEdgeTable.h.

Constructor & Destructor Documentation

◆ ossimActiveEdgeTableNode()

ossimActiveEdgeTableNode::ossimActiveEdgeTableNode ( ossim_int32  maxY = 0,
double  slope = 0.0,
double  currentX = 0.0 
)
inline

Definition at line 30 of file ossimActiveEdgeTable.h.

34  :theMaxY(maxY),
35  theSlope(slope),
36  theCurrentX(currentX)
37  {
38  }

Member Function Documentation

◆ operator()()

bool ossimActiveEdgeTableNode::operator() ( const ossimActiveEdgeTableNode left,
const ossimActiveEdgeTableNode right 
) const
inline

Definition at line 39 of file ossimActiveEdgeTable.h.

References theCurrentX.

41  {
42  return (left.theCurrentX < right.theCurrentX);
43  }

◆ operator<()

bool ossimActiveEdgeTableNode::operator< ( const ossimActiveEdgeTableNode right) const
inline

Definition at line 44 of file ossimActiveEdgeTable.h.

References theCurrentX.

45  {
46  return (theCurrentX < right.theCurrentX);
47  }

◆ operator>()

bool ossimActiveEdgeTableNode::operator> ( const ossimActiveEdgeTableNode right) const
inline

Definition at line 48 of file ossimActiveEdgeTable.h.

References theCurrentX.

49  {
50  return (theCurrentX > right.theCurrentX);
51  }

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  out,
const ossimActiveEdgeTableNode rhs 
)
friend

Definition at line 20 of file ossimActiveEdgeTable.h.

22  {
23  return out <<"| maxy="<<rhs.theMaxY<<" |dx="
24  <<rhs.theSlope<<" |"<<"x="
25  <<rhs.theCurrentX << "|"<< std::endl;
26 // return out <<"|dy="<<rhs.theDeltaY<<" |dx="
27 // <<rhs.theSlope<<" |"<<"x="
28 // <<rhs.theCurrentX << "|"<<endl;
29  }

Member Data Documentation

◆ theCurrentX

double ossimActiveEdgeTableNode::theCurrentX

Definition at line 56 of file ossimActiveEdgeTable.h.

Referenced by operator()(), operator<(), and operator>().

◆ theMaxY

ossim_int32 ossimActiveEdgeTableNode::theMaxY

Definition at line 53 of file ossimActiveEdgeTable.h.

◆ theSlope

double ossimActiveEdgeTableNode::theSlope

Definition at line 55 of file ossimActiveEdgeTable.h.


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