FlowEngine 7.530
Photogrammetry Software Development Kit
Loading...
Searching...
No Matches
FlowEngine::MarkerPrinter Class Referencefinal

Utility class to query information and generate tag images to use for marker detection. More...

#include <MarkerPrinter.h>

Static Public Member Functions

static FLE_DLL Index getNumberOfTagFamilies ()
 Returns the number of available tag families for the marker detection algorithm.
 
static FLE_DLL Size getTagFamilySize (Index index)
 
static FLE_DLL Result getTagFamily (Index index, StringBuffer tagFamily)
 
static FLE_DLL Index getNumberOfTagsForFamily (ConstStringBuffer tagFamily)
 
static FLE_DLL Result exportTags (ConstStringBuffer tagFamily, ConstStringBuffer outputDirectory, Index count)
 

Detailed Description

Utility class to query information and generate tag images to use for marker detection.

Member Function Documentation

◆ exportTags()

Result FlowEngine::MarkerPrinter::exportTags ( ConstStringBuffer  tagFamily,
ConstStringBuffer  outputDirectory,
Index  count 
)
static

Saves tag images to a directory for a given family.

Parameters
[in]tagFamilythe tag family that will be searched for. See getTagFamily.
[in]outputDirectorystring buffer containing the path to an existing directory where images will be saved in sequence.
[in]countthe number of patterns to save. Must be in the range (0, getNumberOfTagsForFamily).
Returns
One of the following result codes:
Note
Images are saved with the pattern Markerd.png. Existing images will be overridden;

◆ getNumberOfTagFamilies()

FLE_DLL Index FlowEngine::MarkerPrinter::getNumberOfTagFamilies ( )
static

Returns the number of available tag families for the marker detection algorithm.

◆ getNumberOfTagsForFamily()

Index FlowEngine::MarkerPrinter::getNumberOfTagsForFamily ( ConstStringBuffer  tagFamily)
static
Returns
the number of available tags for a given tag family. May return 0 if the family is not valid.
Parameters
[in]tagFamilythe tag family that will be searched for. See getTagFamily.

◆ getTagFamily()

FLE_DLL Result FlowEngine::MarkerPrinter::getTagFamily ( Index  index,
StringBuffer  tagFamily 
)
static

Get the name of a tag family at a given index. param[in] index the index of the tag family. Must be in the range [0, getNumberOfTagFamilies()) param[in, out] family a string buffer big enough to store the tag family name. Use getTagFamilySize to query for the right size.

Returns
One of the following result codes:

◆ getTagFamilySize()

FLE_DLL Size FlowEngine::MarkerPrinter::getTagFamilySize ( Index  index)
static
Returns
the length of the tag family at the specified index param[in] index the index of the tag family. Must be in the range [0, getNumberOfTagFamilies())