Table of contents

CTextureDetectionResultUnit

The CTextureDetectionResultUnit class represents an intermediate result unit for texture detection. It is derived from the CIntermediateResultUnit class and contains the x-direction spacing and y-direction spacing of the texture stripes.

Definition

Namespace: dynamsoft::intermediate_results

Assembly: DynamsoftCore

Inheritance: CIntermediateResultUnit -> CTextureDetectionResultUnit

class CTextureDetectionResultUnit : public CIntermediateResultUnit

Methods

Method Description
GetXSpacing Gets x-direction spacing of the texture stripes.
GetYSpacing Gets y-direction spacing of the texture stripes.
SetXSpacing Sets x-direction spacing of the texture stripes.
SetYSpacing Sets y-direction spacing of the texture stripes.
Methods Inherited from CIntermediateResultUnit:  
GetHashId Gets the hash ID of the unit.
GetOriginalImageHashId Gets the hash ID of the original image.
GetOriginalImageTag Gets the tag of the original image.
GetType Gets the type of the intermediate result unit.
Clone Creates a copy of the intermediate result unit.
SetHashId Sets the hash ID of the unit.
SetOriginalImageHashId Sets the hash ID of the original image.
SetOriginalImageTag Sets the tag of the original image.
Retain Increases the reference count of the unit.
Release Decreases the reference count of the unit.
GetTransformMatrix Gets the transformation matrix via CTransformMatrixType.
SetTransformMatrix Sets the transformation matrix via CTransformMatrixType.

GetXSpacing

Gets x-direction spacing of the texture stripes.

virtual int GetXSpacing() 

Return value

Returns the x-direction spacing of the texture stripes.

GetYSpacing

Gets y-direction spacing of the texture stripes.

virtual int GetYSpacing() 

Return value

Returns the y-direction spacing of the texture stripes.

SetXSpacing

Sets the x-direction spacing of the texture stripes.

virtual void SetXSpacing(int xSpacing) = 0;

Parameters

[in] xSpacing The x-direction spacing of the texture stripes.

SetYSpacing

Sets the y-direction spacing of the texture stripes.

virtual void SetYSpacing(int ySpacing) = 0;

Parameters

[in] ySpacing The y-direction spacing of the texture stripes.

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article: