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

Class allowing to represent a vertex into a skeleton associated to a polygon. More...

#include <SkeletonVertex2d.h>

Inheritance diagram for ipsdk::geom::SkeletonVertex2d:
ipsdk::BaseSerializationObject ipsdk::BaseDynamicObject

Public Member Functions

ipUInt64 getNbLeafs () const
 retrieve number of leafs associated to vertex
 
ipUInt64 getNbBranches () const
 retrieve number of branches associated to vertex
 
void clear ()
 clear of vertex data
 
Constructors and destructor
 SkeletonVertex2d ()
 
 ~SkeletonVertex2d ()
 
ipUInt64 getMainPointIdx () const
 access to the index of main point associated to vertex
 
void setMainPointIdx (ipUInt64 mainPointIdx)
 access to the index of main point associated to vertex
 
const UInt64VectorgetLeafIdxColl () const
 access to the collection of leaf edge points index associated to vertex
 
UInt64VectorgetLeafIdxColl ()
 access to the collection of leaf edge points index associated to vertex
 
void setLeafIdxColl (const UInt64Vector &leafIdxColl)
 access to the collection of leaf edge points index associated to vertex
 
void addLeafIdx (const ipUInt64 leafIdx)
 access to the collection of leaf edge points index associated to vertex
 
const UInt64VectorgetBranchIdxColl () const
 access to the collection of branch edge vertices index associated to vertex
 
UInt64VectorgetBranchIdxColl ()
 access to the collection of branch edge vertices index associated to vertex
 
void setBranchIdxColl (const UInt64Vector &branchIdxColl)
 access to the collection of branch edge vertices index associated to vertex
 
void addBranchIdx (const ipUInt64 branchIdx)
 access to the collection of branch edge vertices index associated to vertex
 
void addPointSourceIndex (const ipUInt64 pointIdx)
 access to polygon point source index associated to vertex
 
const UInt64VectorgetPointSourceIndexColl () const
 access to polygon point source index associated to vertex
 
UInt64VectorgetPointSourceIndexColl ()
 access to polygon point source index associated to vertex
 
void addSegmentSourceIndex (const ipUInt64 firstPointIdx, const ipUInt64 secondPointIdx)
 access to polygon segment source index associated to vertex
 
const PairIdxCollgetSegmentSourceIndexColl () const
 access to polygon segment source index associated to vertex
 
PairIdxCollgetSegmentSourceIndexColl ()
 access to polygon segment source index associated to vertex
 
- 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

ipUInt64 _mainPointIdx
 index of point associated to skeleton vertex
 
UInt64Vector _leafIdxColl
 collection of leaf edge points index
 
UInt64Vector _branchIdxColl
 collection of branch edge vertices index
 
UInt64Vector _pointSourceIndexColl
 collection of polygon point source index
 
PairIdxColl _segmentSourceIndexColl
 collection of polygon segment source index
 

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 allowing to represent a vertex into a skeleton associated to a polygon.

Author
E.Noirfalise
Date
2016/07/26

A skeleton vertex is defined by :


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