ReadFramework
rdf::PixelTabStop Class Reference

#include <Pixel.h>

Inheritance diagram for rdf::PixelTabStop:
Collaboration diagram for rdf::PixelTabStop:

Public Types

enum  Type {
  type_none, type_left, type_right, type_isolated,
  type_end
}
 

Public Member Functions

 PixelTabStop (const Type &type=type_none)
 
double orientation () const
 Returns the angle corresponding to the tab stop. Hence, if this angle is applied to the pixel's orientation, the vector points into the tab stops empty region (away from the textline). More...
 
Type type () const
 
- Public Member Functions inherited from rdf::BaseElement
 BaseElement (const QString &id=QString())
 This class keeps an ID to keep track of transformed elements during a processing chain. You can e.g. generate Pixel elements from MserBlobs. After filtering, processing etc. you can map back to the (pixel accurate) MserBlob using this ID. More...
 
void setId (const QString &id)
 Sets the (preferably unique) ID. If no ID is set, a unqiue ID is generated and assigned. More...
 
QString id () const
 Returns the elment's id. More...
 
virtual QString toString () const
 
virtual void scale (double factor)
 

Static Public Member Functions

static PixelTabStop create (const QSharedPointer< Pixel > &pixel, const QVector< QSharedPointer< PixelEdge > > &edges)
 

Protected Attributes

Type mType
 
- Protected Attributes inherited from rdf::BaseElement
QString mId
 

Member Enumeration Documentation

Enumerator
type_none 
type_left 
type_right 
type_isolated 
type_end 

Constructor & Destructor Documentation

rdf::PixelTabStop::PixelTabStop ( const Type type = type_none)

Member Function Documentation

PixelTabStop rdf::PixelTabStop::create ( const QSharedPointer< Pixel > &  pixel,
const QVector< QSharedPointer< PixelEdge > > &  edges 
)
static

Here is the caller graph for this function:

double rdf::PixelTabStop::orientation ( ) const

Returns the angle corresponding to the tab stop. Hence, if this angle is applied to the pixel's orientation, the vector points into the tab stops empty region (away from the textline).

Returns
PixelTabStop::Type rdf::PixelTabStop::type ( ) const

Member Data Documentation

Type rdf::PixelTabStop::mType
protected

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