Cummulative Options structure.
More...
#include <DefineRectanglesMouseHandler.h>
|
| 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. More...
|
|
Cummulative Options structure.
◆ Options()
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.
◆ DefineRectanglesMouseHandler
◆ canDeleteRects
bool icl::qt::DefineRectanglesMouseHandler::Options::canDeleteRects |
defines whether rectangles can be deleted using right click
◆ centerColor
core::Color4D icl::qt::DefineRectanglesMouseHandler::Options::centerColor |
edge color used for the center visualization
◆ edgeColor
core::Color4D icl::qt::DefineRectanglesMouseHandler::Options::edgeColor |
edge color for rect visualization
◆ fillColor
core::Color4D icl::qt::DefineRectanglesMouseHandler::Options::fillColor |
fill color for rect visualization (set alpha to 0 to have no fill)
◆ handleWidth
int icl::qt::DefineRectanglesMouseHandler::Options::handleWidth |
handle width (amount of pixels, you can be of an edge and still drag it)
◆ lineWidth
int icl::qt::DefineRectanglesMouseHandler::Options::lineWidth |
linewidth for visualization
◆ metaColor
core::Color4D icl::qt::DefineRectanglesMouseHandler::Options::metaColor |
text color for visualization of meta-data
◆ showCenterText
bool icl::qt::DefineRectanglesMouseHandler::Options::showCenterText |
if true, the rects center is shown (as text)
◆ showMetaData
bool icl::qt::DefineRectanglesMouseHandler::Options::showMetaData |
if true, the meta data is shown as (as text)
◆ showOffsetText
bool icl::qt::DefineRectanglesMouseHandler::Options::showOffsetText |
if true, the rects upper left pixel's coordinates are shown (as text)
◆ showSizeText
bool icl::qt::DefineRectanglesMouseHandler::Options::showSizeText |
if true, the rects size is shown (as text)
◆ textSize
float icl::qt::DefineRectanglesMouseHandler::Options::textSize |
text size used for all texts (note: if this is negative, it's defined in image pixels)
◆ visualizeCenter
bool icl::qt::DefineRectanglesMouseHandler::Options::visualizeCenter |
if true, the center of each rectangle is visualized
◆ visualizeHovering
bool icl::qt::DefineRectanglesMouseHandler::Options::visualizeHovering |
if true, the rects boundary are drawn thicker if they are hovered
◆ xStepping
int icl::qt::DefineRectanglesMouseHandler::Options::xStepping |
can be set to force a given stepping for defined rectangles (x-direction)
◆ yStepping
int icl::qt::DefineRectanglesMouseHandler::Options::yStepping |
can be set to force a given stepping for defined rectangles (x-direction)
The documentation for this class was generated from the following file: