Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes
cob_3d_segmentation::PolygonExtraction Class Reference

#include <polygon_extraction.h>

List of all members.

Public Member Functions

template<typename TPoint , typename TPolygon >
void outline (const int w, const int h, std::vector< TPoint > out, TPolygon &poly)
 PolygonExtraction ()
void ppm (const char *fn, const int w, const int h, const int *ch)
virtual ~PolygonExtraction ()

Private Member Functions

bool hasMultiplePositions (unsigned int i)

Static Private Member Functions

template<typename TPoint >
static int getPos (int *ch, const int xx, const int yy, const int w, const int h)
 remember size for var. above

Private Attributes

int * ch_
size_t ch_size_
bool * outline_check_
size_t outline_check_size_
 needed for outline, no need to reallocate every time

Detailed Description

Definition at line 82 of file polygon_extraction.h.


Constructor & Destructor Documentation

Definition at line 71 of file polygon_extraction.cpp.

Definition at line 97 of file polygon_extraction.h.


Member Function Documentation

template<typename TPoint >
int cob_3d_segmentation::PolygonExtraction::getPos ( int *  ch,
const int  xx,
const int  yy,
const int  w,
const int  h 
) [static, private]

remember size for var. above

Definition at line 81 of file polygon_extraction.cpp.

bool cob_3d_segmentation::PolygonExtraction::hasMultiplePositions ( unsigned int  i) [inline, private]

Definition at line 92 of file polygon_extraction.h.

template<typename TPoint , typename TPolygon >
void cob_3d_segmentation::PolygonExtraction::outline ( const int  w,
const int  h,
std::vector< TPoint >  out,
TPolygon &  poly 
)

Definition at line 96 of file polygon_extraction.cpp.

void cob_3d_segmentation::PolygonExtraction::ppm ( const char *  fn,
const int  w,
const int  h,
const int *  ch 
)

Definition at line 225 of file polygon_extraction.cpp.


Member Data Documentation

Definition at line 84 of file polygon_extraction.h.

Definition at line 85 of file polygon_extraction.h.

Definition at line 86 of file polygon_extraction.h.

needed for outline, no need to reallocate every time

Definition at line 87 of file polygon_extraction.h.


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


cob_3d_segmentation
Author(s): Georg Arbeiter
autogenerated on Wed Aug 26 2015 11:03:04