Represents the drawing parameters needed by ETextLine::Draw and EText::Draw. More...
#include <eVision/EasyOcr/EasyDeepOCR/ETextDrawingParameters.h>
Public Member Functions | |
| ETextDrawingParameters () | |
| Constructs a ETextDrawingParameters. | |
| ETextDrawingParameters (const eVision::EasyDeepOCR::ETextDrawingParameters &other) | |
| Constructs a ETextDrawingParameters. | |
| virtual | ~ETextDrawingParameters () throw () |
| eVision::EasyDeepOCR::ETextDrawingParameters & | operator= (const eVision::EasyDeepOCR::ETextDrawingParameters &other) |
| Assignment operator. | |
| bool | operator== (const eVision::EasyDeepOCR::ETextDrawingParameters &other) const |
| The comparison operator. | |
| void | Load (const std::string &path) |
| Loads the ETextDrawingParameters. | |
| void | Load (eVision::ESerializer *serializer) |
| Loads the ETextDrawingParameters. | |
| void | Save (const std::string &path) |
| Saves the ETextDrawingParameters. | |
| void | Save (eVision::ESerializer *serializer) |
| Saves the ETextDrawingParameters. | |
| void | SetDrawTextBox (bool draw) |
| Specifies whether the position, i.e the box enclosing all the lines, should be drawn. | |
| bool | GetDrawTextBox () const |
| Specifies whether the position, i.e the box enclosing all the lines, should be drawn. | |
| void | SetDrawTextLineBoxes (bool draw) |
| Specifies whether the lineboxes should be drawn. | |
| bool | GetDrawTextLineBoxes () const |
| Specifies whether the lineboxes should be drawn. | |
| void | SetDrawStrings (bool draw) |
| Specifies whether the strings should be drawn. | |
| bool | GetDrawStrings () const |
| Specifies whether the strings should be drawn. | |
| void | SetDrawDirections (bool draw) |
| Specifies whether arrows that indicate the reading direction should be drawn. | |
| bool | GetDrawDirections () const |
| Specifies whether arrows that indicate the reading direction should be drawn. | |
| void | SetArrowLength (float length) |
| Specifies the length of the arrows when drawing the directions. | |
| float | GetArrowLength () const |
| Specifies the length of the arrows when drawing the directions. | |
| ETextDrawingParameters (CppWrapperInternal::InternalConstructor) | |
Public Attributes | |
| CppWrapperInternal::WrappedClass | wrappedClass_ |
Represents the drawing parameters needed by ETextLine::Draw and EText::Draw.
License(s): EasyDeepOCR
| eVision::EasyDeepOCR::ETextDrawingParameters::ETextDrawingParameters | ( | ) |
Constructs a ETextDrawingParameters.
| eVision::EasyDeepOCR::ETextDrawingParameters::ETextDrawingParameters | ( | const eVision::EasyDeepOCR::ETextDrawingParameters & | other | ) |
Constructs a ETextDrawingParameters.
| other | ETextDrawingParameters to be copied. |
|
virtual | ||||||||||||
| eVision::EasyDeepOCR::ETextDrawingParameters::ETextDrawingParameters | ( | CppWrapperInternal::InternalConstructor | ) |
| float eVision::EasyDeepOCR::ETextDrawingParameters::GetArrowLength | ( | ) | const |
Specifies the length of the arrows when drawing the directions.
When this parameter is null or negative, the height of the line boxes is used instead as the line arrow length.
| bool eVision::EasyDeepOCR::ETextDrawingParameters::GetDrawDirections | ( | ) | const |
Specifies whether arrows that indicate the reading direction should be drawn.
| bool eVision::EasyDeepOCR::ETextDrawingParameters::GetDrawStrings | ( | ) | const |
Specifies whether the strings should be drawn.
| bool eVision::EasyDeepOCR::ETextDrawingParameters::GetDrawTextBox | ( | ) | const |
Specifies whether the position, i.e the box enclosing all the lines, should be drawn.
| bool eVision::EasyDeepOCR::ETextDrawingParameters::GetDrawTextLineBoxes | ( | ) | const |
Specifies whether the lineboxes should be drawn.
| void eVision::EasyDeepOCR::ETextDrawingParameters::Load | ( | const std::string & | path | ) |
Loads the ETextDrawingParameters.
| path | Path where to save the ETextDrawingParameters. |
| void eVision::EasyDeepOCR::ETextDrawingParameters::Load | ( | eVision::ESerializer * | serializer | ) |
Loads the ETextDrawingParameters.
| serializer |
| eVision::EasyDeepOCR::ETextDrawingParameters & eVision::EasyDeepOCR::ETextDrawingParameters::operator= | ( | const eVision::EasyDeepOCR::ETextDrawingParameters & | other | ) |
Assignment operator.
| other | Another ETextDrawingParameters to be assigned in the new ETextDrawingParameters. |
| bool eVision::EasyDeepOCR::ETextDrawingParameters::operator== | ( | const eVision::EasyDeepOCR::ETextDrawingParameters & | other | ) | const |
The comparison operator.
| other | The ETextDrawingParameters to be compared to. |
| void eVision::EasyDeepOCR::ETextDrawingParameters::Save | ( | const std::string & | path | ) |
Saves the ETextDrawingParameters.
| path | Path where to save the ETextDrawingParameters. |
| void eVision::EasyDeepOCR::ETextDrawingParameters::Save | ( | eVision::ESerializer * | serializer | ) |
Saves the ETextDrawingParameters.
| serializer |
| void eVision::EasyDeepOCR::ETextDrawingParameters::SetArrowLength | ( | float | length | ) |
Specifies the length of the arrows when drawing the directions.
When this parameter is null or negative, the height of the line boxes is used instead as the line arrow length.
| void eVision::EasyDeepOCR::ETextDrawingParameters::SetDrawDirections | ( | bool | draw | ) |
Specifies whether arrows that indicate the reading direction should be drawn.
| void eVision::EasyDeepOCR::ETextDrawingParameters::SetDrawStrings | ( | bool | draw | ) |
Specifies whether the strings should be drawn.
| void eVision::EasyDeepOCR::ETextDrawingParameters::SetDrawTextBox | ( | bool | draw | ) |
Specifies whether the position, i.e the box enclosing all the lines, should be drawn.
| void eVision::EasyDeepOCR::ETextDrawingParameters::SetDrawTextLineBoxes | ( | bool | draw | ) |
Specifies whether the lineboxes should be drawn.
| CppWrapperInternal::WrappedClass eVision::EasyDeepOCR::ETextDrawingParameters::wrappedClass_ |