eVision C++ API 26.10.0-beta.2.dev
Loading...
Searching...
No Matches
eVision::EObjectData Struct Reference

Describes objects. More...

#include <eVision/Easy/EObjectData.h>

Public Attributes

int32_t Class
 Class code.
int32_t ObjNum
 Identification number.
int32_t ObjNbRun
 Number of runs.
int32_t ObjNbHole
 Number of holes.
uint8_t IsSelected
 Selection flag.
void * hpvReserved1
void * hpvReserved2
bool IsHole
 true if the object is a hole, false otherwise.
void * hpvParent
void * hpvFirstHole
void * hpvNextHole

Detailed Description

Describes objects.

An object is characterized by a class, a unique identification number, the number of its constituent runs, the number of its holes (if the object is a real object, not a hole), a selection flag, an identification flag (real object or hole) and the list of its constituent runs. After the object construction phase (real objects and eventually holes), all the objects are gathered in a single dynamic list. The objects can be accessed by their absolute position in the list as well as by their identification number. This structure pertains to the EasyObject legacy API and should not be used for new developments.

Note
After a sorting operation, the objects retain their identification number, not their absolute position in the list. If need be, the list of runs of an object can be traversed by means of the following functions: GetObjNbRun, ECodedImage::GetObjFirstRunPtr, ECodedImage::GetObjLastRunPtr.

License(s): None

Deprecated
Deprecated in version 23.12. Scheduled to be removed in version 27.6.

Member Data Documentation

◆ Class

int32_t eVision::EObjectData::Class

Class code.

◆ hpvFirstHole

void* eVision::EObjectData::hpvFirstHole

◆ hpvNextHole

void* eVision::EObjectData::hpvNextHole

◆ hpvParent

void* eVision::EObjectData::hpvParent

◆ hpvReserved1

void* eVision::EObjectData::hpvReserved1

◆ hpvReserved2

void* eVision::EObjectData::hpvReserved2

◆ IsHole

bool eVision::EObjectData::IsHole

true if the object is a hole, false otherwise.

◆ IsSelected

uint8_t eVision::EObjectData::IsSelected

Selection flag.

◆ ObjNbHole

int32_t eVision::EObjectData::ObjNbHole

Number of holes.

◆ ObjNbRun

int32_t eVision::EObjectData::ObjNbRun

Number of runs.

◆ ObjNum

int32_t eVision::EObjectData::ObjNum

Identification number.