Image Component Library (ICL)
Public Attributes | Private Member Functions | Friends | List of all members
icl::qt::DefineRectanglesMouseHandler::Options Class Reference

Cummulative Options structure. More...

#include <DefineRectanglesMouseHandler.h>

Public Attributes

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

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 &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)
 Constructor showing default options. More...
 

Friends

class DefineRectanglesMouseHandler
 

Detailed Description

Cummulative Options structure.

Constructor & Destructor Documentation

◆ 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.

Friends And Related Function Documentation

◆ DefineRectanglesMouseHandler

friend class DefineRectanglesMouseHandler
friend

Member Data Documentation

◆ 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: