Public Member Functions | Private Attributes | Friends
Labeling< SrcT, DstT >::RegionInfo Class Reference

#include <Labeling.h>

List of all members.

Public Member Functions

void GetCenter (float &x, float &y) const
void GetCenterOfGravity (float &x, float &y) const
void GetMax (int &x, int &y) const
void GetMin (int &x, int &y) const
int GetNumOfPixels (void) const
int GetNumOfRasterSegments (void)
RSPListGetRasterSegmentList (void)
DstT GetResult (void) const
void GetSize (int &x, int &y) const
SrcT GetSourceValue (void) const
void Pop (RasterSegment *&rs)
void Push (RasterSegment *rs)
 RegionInfo ()
void SetCenter (const float x, const float y)
void SetCenterOfGravity (const float x, const float y)
void SetMax (const int x, const int y)
void SetMin (const int x, const int y)
void SetMinMax (const int n_min_x, const int n_min_y, const int n_max_x, const int n_max_y)
void SetNumOfPixels (const int n_num_of_pixels)
void SetResult (const DstT n_result)
void SetSize (const int x, const int y)
void SetSourceValue (const SrcT n_source_value)
 ~RegionInfo ()

Private Attributes

float center_x
float center_y
float gravity_x
float gravity_y
int max_x
int max_y
int min_x
int min_y
int num_of_pixels
RSPList raster_segment_list
DstT result
int size_x
int size_y
SrcT source_value

Friends

bool operator< (const RegionInfo &l, const RegionInfo &r)
std::ostream & operator<< (std::ostream &s, RegionInfo &ri)

Detailed Description

template<class SrcT, class DstT>
class Labeling< SrcT, DstT >::RegionInfo

Definition at line 137 of file Labeling.h.


Constructor & Destructor Documentation

template<class SrcT , class DstT >
Labeling< SrcT, DstT >::RegionInfo::RegionInfo ( ) [inline]

Definition at line 154 of file Labeling.h.

template<class SrcT , class DstT >
Labeling< SrcT, DstT >::RegionInfo::~RegionInfo ( ) [inline]

Definition at line 159 of file Labeling.h.


Member Function Documentation

template<class SrcT , class DstT >
void Labeling< SrcT, DstT >::RegionInfo::GetCenter ( float &  x,
float &  y 
) const [inline]

Definition at line 253 of file Labeling.h.

template<class SrcT , class DstT >
void Labeling< SrcT, DstT >::RegionInfo::GetCenterOfGravity ( float &  x,
float &  y 
) const [inline]

Definition at line 281 of file Labeling.h.

template<class SrcT , class DstT >
void Labeling< SrcT, DstT >::RegionInfo::GetMax ( int &  x,
int &  y 
) const [inline]

Definition at line 274 of file Labeling.h.

template<class SrcT , class DstT >
void Labeling< SrcT, DstT >::RegionInfo::GetMin ( int &  x,
int &  y 
) const [inline]

Definition at line 267 of file Labeling.h.

template<class SrcT , class DstT >
int Labeling< SrcT, DstT >::RegionInfo::GetNumOfPixels ( void  ) const [inline]

Definition at line 247 of file Labeling.h.

template<class SrcT , class DstT >
int Labeling< SrcT, DstT >::RegionInfo::GetNumOfRasterSegments ( void  ) [inline]

Definition at line 322 of file Labeling.h.

template<class SrcT , class DstT >
RSPList& Labeling< SrcT, DstT >::RegionInfo::GetRasterSegmentList ( void  ) [inline]

Definition at line 302 of file Labeling.h.

template<class SrcT , class DstT >
DstT Labeling< SrcT, DstT >::RegionInfo::GetResult ( void  ) const [inline]

Definition at line 294 of file Labeling.h.

template<class SrcT , class DstT >
void Labeling< SrcT, DstT >::RegionInfo::GetSize ( int &  x,
int &  y 
) const [inline]

Definition at line 260 of file Labeling.h.

template<class SrcT , class DstT >
SrcT Labeling< SrcT, DstT >::RegionInfo::GetSourceValue ( void  ) const [inline]

Definition at line 288 of file Labeling.h.

template<class SrcT , class DstT >
void Labeling< SrcT, DstT >::RegionInfo::Pop ( RasterSegment *&  rs) [inline]

Definition at line 314 of file Labeling.h.

template<class SrcT , class DstT >
void Labeling< SrcT, DstT >::RegionInfo::Push ( RasterSegment rs) [inline]

Definition at line 308 of file Labeling.h.

template<class SrcT , class DstT >
void Labeling< SrcT, DstT >::RegionInfo::SetCenter ( const float  x,
const float  y 
) [inline]

Definition at line 187 of file Labeling.h.

template<class SrcT , class DstT >
void Labeling< SrcT, DstT >::RegionInfo::SetCenterOfGravity ( const float  x,
const float  y 
) [inline]

Definition at line 226 of file Labeling.h.

template<class SrcT , class DstT >
void Labeling< SrcT, DstT >::RegionInfo::SetMax ( const int  x,
const int  y 
) [inline]

Definition at line 208 of file Labeling.h.

template<class SrcT , class DstT >
void Labeling< SrcT, DstT >::RegionInfo::SetMin ( const int  x,
const int  y 
) [inline]

Definition at line 201 of file Labeling.h.

template<class SrcT , class DstT >
void Labeling< SrcT, DstT >::RegionInfo::SetMinMax ( const int  n_min_x,
const int  n_min_y,
const int  n_max_x,
const int  n_max_y 
) [inline]

Definition at line 215 of file Labeling.h.

template<class SrcT , class DstT >
void Labeling< SrcT, DstT >::RegionInfo::SetNumOfPixels ( const int  n_num_of_pixels) [inline]

Definition at line 181 of file Labeling.h.

template<class SrcT , class DstT >
void Labeling< SrcT, DstT >::RegionInfo::SetResult ( const DstT  n_result) [inline]

Definition at line 239 of file Labeling.h.

template<class SrcT , class DstT >
void Labeling< SrcT, DstT >::RegionInfo::SetSize ( const int  x,
const int  y 
) [inline]

Definition at line 194 of file Labeling.h.

template<class SrcT , class DstT >
void Labeling< SrcT, DstT >::RegionInfo::SetSourceValue ( const SrcT  n_source_value) [inline]

Definition at line 233 of file Labeling.h.


Friends And Related Function Documentation

template<class SrcT , class DstT >
bool operator< ( const RegionInfo l,
const RegionInfo r 
) [friend]

Definition at line 330 of file Labeling.h.

template<class SrcT , class DstT >
std::ostream& operator<< ( std::ostream &  s,
RegionInfo ri 
) [friend]

Definition at line 337 of file Labeling.h.


Member Data Documentation

template<class SrcT , class DstT >
float Labeling< SrcT, DstT >::RegionInfo::center_x [private]

Definition at line 141 of file Labeling.h.

template<class SrcT , class DstT >
float Labeling< SrcT, DstT >::RegionInfo::center_y [private]

Definition at line 141 of file Labeling.h.

template<class SrcT , class DstT >
float Labeling< SrcT, DstT >::RegionInfo::gravity_x [private]

Definition at line 149 of file Labeling.h.

template<class SrcT , class DstT >
float Labeling< SrcT, DstT >::RegionInfo::gravity_y [private]

Definition at line 149 of file Labeling.h.

template<class SrcT , class DstT >
int Labeling< SrcT, DstT >::RegionInfo::max_x [private]

Definition at line 144 of file Labeling.h.

template<class SrcT , class DstT >
int Labeling< SrcT, DstT >::RegionInfo::max_y [private]

Definition at line 144 of file Labeling.h.

template<class SrcT , class DstT >
int Labeling< SrcT, DstT >::RegionInfo::min_x [private]

Definition at line 143 of file Labeling.h.

template<class SrcT , class DstT >
int Labeling< SrcT, DstT >::RegionInfo::min_y [private]

Definition at line 143 of file Labeling.h.

template<class SrcT , class DstT >
int Labeling< SrcT, DstT >::RegionInfo::num_of_pixels [private]

Definition at line 140 of file Labeling.h.

template<class SrcT , class DstT >
RSPList Labeling< SrcT, DstT >::RegionInfo::raster_segment_list [private]

Definition at line 147 of file Labeling.h.

template<class SrcT , class DstT >
DstT Labeling< SrcT, DstT >::RegionInfo::result [private]

Definition at line 146 of file Labeling.h.

template<class SrcT , class DstT >
int Labeling< SrcT, DstT >::RegionInfo::size_x [private]

Definition at line 142 of file Labeling.h.

template<class SrcT , class DstT >
int Labeling< SrcT, DstT >::RegionInfo::size_y [private]

Definition at line 142 of file Labeling.h.

template<class SrcT , class DstT >
SrcT Labeling< SrcT, DstT >::RegionInfo::source_value [private]

Definition at line 145 of file Labeling.h.


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


jsk_perception
Author(s): Manabu Saito, Ryohei Ueda
autogenerated on Sun Oct 8 2017 02:43:24