Image Component Library (ICL)
|
Cummulative Options structure. More...
#include <DefineRectanglesMouseHandler.h>
Public Attributes | |
core::Color4D | edgeColor |
edge color for rect visualization | |
core::Color4D | fillColor |
fill color for rect visualization (set alpha to 0 to have no fill) | |
core::Color4D | centerColor |
edge color used for the center visualization | |
core::Color4D | metaColor |
text color for visualization of meta-data | |
int | handleWidth |
handle width (amount of pixels, you can be of an edge and still drag it) | |
bool | visualizeCenter |
if true, the center of each rectangle is visualized | |
bool | visualizeHovering |
if true, the rects boundary are drawn thicker if they are hovered | |
bool | showOffsetText |
if true, the rects upper left pixel's coordinates are shown (as text) | |
bool | showSizeText |
if true, the rects size is shown (as text) | |
bool | showCenterText |
if true, the rects center is shown (as text) | |
bool | showMetaData |
if true, the meta data is shown as (as text) | |
int | lineWidth |
linewidth for visualization | |
float | textSize |
text size used for all texts (note: if this is negative, it's defined in image pixels) | |
Private Member Functions | |
Options (const core::Color4D &edgeColor=core::Color4D(0, 255, 0, 255), const core::Color4D &fillColor=core::Color4D(0, 255, 0, 50), const core::Color4D ¢erColor=core::Color4D(0, 255, 0, 255), const core::Color4D &metaColor=core::Color4D(0, 255, 0, 255), int handleWidth=3, bool visualizeCenter=false, bool visualizeHovering=true, bool showOffsetText=false, bool showSizeText=false, bool showCenterText=false, bool showMetaData=false, int lineWidth=1, float textSize=9) | |
Constructor showing default options. | |
Friends | |
class | DefineRectanglesMouseHandler |
Cummulative Options structure.
icl::qt::DefineRectanglesMouseHandler::Options::Options | ( | const core::Color4D & | edgeColor = core::Color4D(0, 255, 0, 255) , |
const core::Color4D & | fillColor = core::Color4D(0, 255, 0, 50) , |
||
const core::Color4D & | centerColor = core::Color4D(0, 255, 0, 255) , |
||
const core::Color4D & | metaColor = core::Color4D(0, 255, 0, 255) , |
||
int | handleWidth = 3 , |
||
bool | visualizeCenter = false , |
||
bool | visualizeHovering = true , |
||
bool | showOffsetText = false , |
||
bool | showSizeText = false , |
||
bool | showCenterText = false , |
||
bool | showMetaData = false , |
||
int | lineWidth = 1 , |
||
float | textSize = 9 |
||
) | [private] |
Constructor showing default options.
friend class DefineRectanglesMouseHandler [friend] |
edge color used for the center visualization
edge color for rect visualization
fill color for rect visualization (set alpha to 0 to have no fill)
handle width (amount of pixels, you can be of an edge and still drag it)
linewidth for visualization
text color for visualization of meta-data
if true, the rects center is shown (as text)
if true, the meta data is shown as (as text)
if true, the rects upper left pixel's coordinates are shown (as text)
if true, the rects size is shown (as text)
text size used for all texts (note: if this is negative, it's defined in image pixels)
if true, the center of each rectangle is visualized
if true, the rects boundary are drawn thicker if they are hovered