IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Public Member Functions | Protected Attributes | List of all members
ipsdk::StructuringElementXY Class Reference

Class encapsulating a 2d structuring element spanning along x and y axis. More...

#include <StructuringElementXY.h>

Inheritance diagram for ipsdk::StructuringElementXY:
ipsdk::BaseStructuringElement ipsdk::BaseSerializationObject ipsdk::BaseDynamicObject

Public Member Functions

eStructuringElementType getStructuringElementType () const
 retrieve structuring element type associated to object
 
ipUInt32 getNbData () const
 retrieve number of data associated to object
 
bool exists (const OffsetXY &offset) const
 check whether a given offset exists into collection
 
void insert (const OffsetXY &offset)
 insert an offset into collection More...
 
void remove (const OffsetXY &offset)
 remove an existing offset from collection More...
 
void setDataColl (const XYOffsetColl &dataColl)
 set data collection associated to object
 
const XYOffsetCollgetDataColl () const
 retrieve data collection associated to object
 
void clear ()
 remove all data form structuring element
 
Constructors and destructors
 StructuringElementXY ()
 
 ~StructuringElementXY ()
 
const ipUInt32 getSizeX () const
 retrieve kernel size along x and y axis
 
const ipUInt32 getSizeY () const
 retrieve kernel size along x and y axis
 
const ipInt32 getMinX () const
 retrieve kernel minimum offsets along x and y axis
 
const ipInt32 getMinY () const
 retrieve kernel minimum offsets along x and y axis
 
const ipInt32 getMaxX () const
 retrieve kernel maximum offsets along x and y axis
 
const ipInt32 getMaxY () const
 retrieve kernel maximum offsets along x and y axis
 
const ipUInt32 getStartingSizeX () const
 retrieve starting size for kernel along x and y axis (absolute value of lower negative offset or 0)
 
const ipUInt32 getStartingSizeY () const
 retrieve starting size for kernel along x and y axis (absolute value of lower negative offset or 0)
 
const ipUInt32 getEndingSizeX () const
 retrieve ending size for kernel along x and y axis (upper positive offset or 0)
 
const ipUInt32 getEndingSizeY () const
 retrieve ending size for kernel along x and y axis (upper positive offset or 0)
 
- Public Member Functions inherited from ipsdk::BaseStructuringElement
 BaseStructuringElement ()
 
virtual ~BaseStructuringElement ()=0
 
- Public Member Functions inherited from ipsdk::BaseSerializationObject
 BaseSerializationObject ()
 Default constructor.
 
virtual ~BaseSerializationObject ()=0
 destructor
 
- Public Member Functions inherited from ipsdk::BaseDynamicObject
virtual const std::string & getClassName () const
 method allowing to retrieve object class name
 
virtual BaseDynamicObjectcreateNew () const =0
 method allowing to create new instance of current object type
 
virtual DynamicObjectPtr createShared () const =0
 method allowing to create new shared instance of current object type
 
virtual bool hasCopySupport () const =0
 check whether objet has copy support
 
virtual BaseDynamicObjectduplicate () const =0
 method allowing to duplicate current object More...
 
virtual DynamicObjectPtr duplicateShared () const =0
 method allowing shared duplication of current object More...
 
 BaseDynamicObject ()
 
virtual ~BaseDynamicObject ()=0
 

Protected Attributes

XYOffsetColl _dataColl
 collection of data associated to kernel
 
ipInt32 _minX
 
ipInt32 _minY
 
ipUInt32 _sizeX
 
ipUInt32 _sizeY
 

Additional Inherited Members

- Static Public Member Functions inherited from ipsdk::BaseSerializationObject
static ipUInt32 getVersion ()
 method allowing to retrieve class version information for serialization
 
- Static Public Member Functions inherited from ipsdk::BaseDynamicObject
static const std::string & getTypeName ()
 method allowing to retrieve name associated to class
 
- Protected Member Functions inherited from ipsdk::BaseSerializationObject
virtual BoolResult write (BaseOArchive &ar) const
 method allowing to ensure serialization write part for object
 
virtual BoolResult read (BaseIArchive &ar)
 method allowing to ensure serialization read part for object
 
- Protected Member Functions inherited from ipsdk::BaseDynamicObject
virtual void initCtorCopy (const BaseDynamicObject &object)
 
virtual void copy (const BaseDynamicObject &object)
 method allowing to copy data from another object
 

Detailed Description

Class encapsulating a 2d structuring element spanning along x and y axis.

Author
E. Noirfalise
Date
2014/09/19

Member Function Documentation

◆ insert()

void ipsdk::StructuringElementXY::insert ( const OffsetXY offset)

insert an offset into collection

Exceptions
ipsdk::IPSDKBaseDataExceptionif exists(offset) == true

◆ remove()

void ipsdk::StructuringElementXY::remove ( const OffsetXY offset)

remove an existing offset from collection

Exceptions
ipsdk::IPSDKBaseDataExceptionif exists(offset) == false

Member Data Documentation

◆ _minX

ipInt32 ipsdk::StructuringElementXY::_minX
protected

minimum offsets along x and y axis

◆ _minY

ipInt32 ipsdk::StructuringElementXY::_minY
protected

minimum offsets along x and y axis

◆ _sizeX

ipUInt32 ipsdk::StructuringElementXY::_sizeX
protected

kernel size along x and y axis

◆ _sizeY

ipUInt32 ipsdk::StructuringElementXY::_sizeY
protected

kernel size along x and y axis


The documentation for this class was generated from the following file: