Public Member Functions | Public Attributes | Static Public Attributes | Private Attributes | Static Private Attributes
AprilTags::Segment Class Reference

Represents a line fit to a set of pixels whose gradients are similiar. More...

#include <Segment.h>

List of all members.

Public Member Functions

int getId () const
 ID of Segment.
float getLength () const
float getTheta () const
float getX0 () const
float getX1 () const
float getY0 () const
float getY1 () const
void printSegment ()
 Print endpoint coordinates of this segment.
 Segment ()
float segmentLength ()
 Returns the length of the Segment.
void setLength (float newValue)
void setTheta (float newValue)
void setX0 (float newValue)
void setX1 (float newValue)
void setY0 (float newValue)
void setY1 (float newValue)

Public Attributes

std::vector< Segment * > children

Static Public Attributes

static float const minimumLineLength = 4
 In pixels. Calculated based on minimum plausible decoding size for Tag9 family.
static int const minimumSegmentSize = 4
 Minimum number of pixels in a segment before we'll fit a line to it.

Private Attributes

float length
int segmentId
float theta
float x0
float x1
float y0
float y1

Static Private Attributes

static int idCounter = 0

Detailed Description

Represents a line fit to a set of pixels whose gradients are similiar.

Definition at line 10 of file Segment.h.


Constructor & Destructor Documentation

Definition at line 8 of file Segment.cc.


Member Function Documentation

int AprilTags::Segment::getId ( ) const [inline]

ID of Segment.

Definition at line 42 of file Segment.h.

float AprilTags::Segment::getLength ( ) const [inline]

Definition at line 32 of file Segment.h.

float AprilTags::Segment::getTheta ( ) const [inline]

Definition at line 29 of file Segment.h.

float AprilTags::Segment::getX0 ( ) const [inline]

Definition at line 17 of file Segment.h.

float AprilTags::Segment::getX1 ( ) const [inline]

Definition at line 23 of file Segment.h.

float AprilTags::Segment::getY0 ( ) const [inline]

Definition at line 20 of file Segment.h.

float AprilTags::Segment::getY1 ( ) const [inline]

Definition at line 26 of file Segment.h.

Print endpoint coordinates of this segment.

Definition at line 15 of file Segment.cc.

Returns the length of the Segment.

Definition at line 11 of file Segment.cc.

void AprilTags::Segment::setLength ( float  newValue) [inline]

Definition at line 33 of file Segment.h.

void AprilTags::Segment::setTheta ( float  newValue) [inline]

Definition at line 30 of file Segment.h.

void AprilTags::Segment::setX0 ( float  newValue) [inline]

Definition at line 18 of file Segment.h.

void AprilTags::Segment::setX1 ( float  newValue) [inline]

Definition at line 24 of file Segment.h.

void AprilTags::Segment::setY0 ( float  newValue) [inline]

Definition at line 21 of file Segment.h.

void AprilTags::Segment::setY1 ( float  newValue) [inline]

Definition at line 27 of file Segment.h.


Member Data Documentation

Definition at line 44 of file Segment.h.

int AprilTags::Segment::idCounter = 0 [static, private]

Definition at line 51 of file Segment.h.

float AprilTags::Segment::length [private]

Definition at line 49 of file Segment.h.

const float AprilTags::Segment::minimumLineLength = 4 [static]

In pixels. Calculated based on minimum plausible decoding size for Tag9 family.

Definition at line 15 of file Segment.h.

Minimum number of pixels in a segment before we'll fit a line to it.

Definition at line 14 of file Segment.h.

Definition at line 50 of file Segment.h.

float AprilTags::Segment::theta [private]

Definition at line 48 of file Segment.h.

float AprilTags::Segment::x0 [private]

Definition at line 47 of file Segment.h.

float AprilTags::Segment::x1 [private]

Definition at line 47 of file Segment.h.

float AprilTags::Segment::y0 [private]

Definition at line 47 of file Segment.h.

float AprilTags::Segment::y1 [private]

Definition at line 47 of file Segment.h.


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


apriltags
Author(s): Mitchell Wills
autogenerated on Thu Aug 27 2015 12:23:28