Public Member Functions | Private Attributes
cob_3d_mapping::ScanlinePolygonFill< T > Class Template Reference

#include <scanline_polygon_fill.h>

List of all members.

Public Member Functions

void addEdge (T id, float x1, float y1, float x2, float y2)
bool addPolygon (T id, const Eigen::Vector3f &normal, float d)
void draw (std::vector< std::vector< T > > &out)
void fill (std::vector< std::vector< T > > &out)
 ScanlinePolygonFill (int width, int height)
int x2w (float x) const
int y2h (float y) const

Private Attributes

int h
std::map< T, ScanlinePolygonpolys
int w
float xmax
float xmin
float ymax
float ymin
std::list< ScanlineEdge< T > > yque
float zmax
float zmin
float zthr

Detailed Description

template<typename T = int>
class cob_3d_mapping::ScanlinePolygonFill< T >

Definition at line 145 of file scanline_polygon_fill.h.


Constructor & Destructor Documentation

template<typename T = int>
cob_3d_mapping::ScanlinePolygonFill< T >::ScanlinePolygonFill ( int  width,
int  height 
) [inline]

Definition at line 148 of file scanline_polygon_fill.h.


Member Function Documentation

template<typename T = int>
void cob_3d_mapping::ScanlinePolygonFill< T >::addEdge ( id,
float  x1,
float  y1,
float  x2,
float  y2 
) [inline]

Definition at line 160 of file scanline_polygon_fill.h.

template<typename T = int>
bool cob_3d_mapping::ScanlinePolygonFill< T >::addPolygon ( id,
const Eigen::Vector3f &  normal,
float  d 
) [inline]

Definition at line 165 of file scanline_polygon_fill.h.

template<typename T >
void cob_3d_mapping::ScanlinePolygonFill< T >::draw ( std::vector< std::vector< T > > &  out)

Definition at line 73 of file scanline_polygon_fill.hpp.

template<typename T >
void cob_3d_mapping::ScanlinePolygonFill< T >::fill ( std::vector< std::vector< T > > &  out)

Definition at line 103 of file scanline_polygon_fill.hpp.

template<typename T = int>
int cob_3d_mapping::ScanlinePolygonFill< T >::x2w ( float  x) const [inline]

Definition at line 172 of file scanline_polygon_fill.h.

template<typename T = int>
int cob_3d_mapping::ScanlinePolygonFill< T >::y2h ( float  y) const [inline]

Definition at line 177 of file scanline_polygon_fill.h.


Member Data Documentation

template<typename T = int>
int cob_3d_mapping::ScanlinePolygonFill< T >::h [private]

Definition at line 190 of file scanline_polygon_fill.h.

template<typename T = int>
std::map<T,ScanlinePolygon> cob_3d_mapping::ScanlinePolygonFill< T >::polys [private]

Definition at line 199 of file scanline_polygon_fill.h.

template<typename T = int>
int cob_3d_mapping::ScanlinePolygonFill< T >::w [private]

Definition at line 189 of file scanline_polygon_fill.h.

template<typename T = int>
float cob_3d_mapping::ScanlinePolygonFill< T >::xmax [private]

Definition at line 192 of file scanline_polygon_fill.h.

template<typename T = int>
float cob_3d_mapping::ScanlinePolygonFill< T >::xmin [private]

Definition at line 191 of file scanline_polygon_fill.h.

template<typename T = int>
float cob_3d_mapping::ScanlinePolygonFill< T >::ymax [private]

Definition at line 194 of file scanline_polygon_fill.h.

template<typename T = int>
float cob_3d_mapping::ScanlinePolygonFill< T >::ymin [private]

Definition at line 193 of file scanline_polygon_fill.h.

template<typename T = int>
std::list<ScanlineEdge<T> > cob_3d_mapping::ScanlinePolygonFill< T >::yque [private]

Definition at line 198 of file scanline_polygon_fill.h.

template<typename T = int>
float cob_3d_mapping::ScanlinePolygonFill< T >::zmax [private]

Definition at line 196 of file scanline_polygon_fill.h.

template<typename T = int>
float cob_3d_mapping::ScanlinePolygonFill< T >::zmin [private]

Definition at line 195 of file scanline_polygon_fill.h.

template<typename T = int>
float cob_3d_mapping::ScanlinePolygonFill< T >::zthr [private]

Definition at line 197 of file scanline_polygon_fill.h.


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


cob_3d_fov_segmentation
Author(s): Georg Arbeiter
autogenerated on Wed Aug 26 2015 11:04:19