23 #ifndef __IPSDKGEOMETRY_SKELETONVERTEX2D_H__ 24 #define __IPSDKGEOMETRY_SKELETONVERTEX2D_H__ 28 #pragma warning (push) 29 #pragma warning (disable : 4251) 32 #include <IPSDKSerialization/Engine/BaseSerializationObject.h> 58 inline ipUInt64 getMainPointIdx()
const;
59 inline void setMainPointIdx(
ipUInt64 mainPointIdx);
67 inline void setLeafIdxColl(
const UInt64Vector& leafIdxColl);
68 inline void addLeafIdx(
const ipUInt64 leafIdx);
79 inline void setBranchIdxColl(
const UInt64Vector& branchIdxColl);
80 inline void addBranchIdx(
const ipUInt64 branchIdx);
84 inline ipUInt64 getNbBranches()
const;
88 inline void addPointSourceIndex(
const ipUInt64 pointIdx);
89 inline const UInt64Vector& getPointSourceIndexColl()
const;
95 inline void addSegmentSourceIndex(
const ipUInt64 firstPointIdx,
97 inline const PairIdxColl& getSegmentSourceIndexColl()
const;
241 #pragma warning (pop) 243 #endif // __IPSDKGEOMETRY_SKELETONVERTEX2D_H__ #define IPSDK_DECLARE_SERIAL_WITH_COPY(libraryName, className)
macro enabling serialization on class
Definition: SerializationHdrMacro.h:73
std::pair< ipUInt64, ipUInt64 > PairIdx
pair of point indexes
Definition: Skeleton2dTypes.h:83
UInt64Vector _leafIdxColl
collection of leaf edge points index
Definition: SkeletonVertex2d.h:110
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
ipUInt64 getNbLeafs() const
retrieve number of leafs associated to vertex
Definition: SkeletonVertex2d.h:162
void addSegmentSourceIndex(const ipUInt64 firstPointIdx, const ipUInt64 secondPointIdx)
access to polygon segment source index associated to vertex
Definition: SkeletonVertex2d.h:217
UInt64Vector _branchIdxColl
collection of branch edge vertices index
Definition: SkeletonVertex2d.h:113
void setLeafIdxColl(const UInt64Vector &leafIdxColl)
access to the collection of leaf edge points index associated to vertex
Definition: SkeletonVertex2d.h:150
const PairIdxColl & getSegmentSourceIndexColl() const
access to polygon segment source index associated to vertex
Definition: SkeletonVertex2d.h:224
uint64_t ipUInt64
Base types definition.
Definition: BaseTypes.h:55
const UInt64Vector & getPointSourceIndexColl() const
access to polygon point source index associated to vertex
Definition: SkeletonVertex2d.h:205
std::vector< ipUInt64 > UInt64Vector
stl vector collections
Definition: BaseCollections.h:35
std::vector< PairIdx > PairIdxColl
collection of pair of point indexes
Definition: Skeleton2dTypes.h:86
ipUInt64 getMainPointIdx() const
access to the index of main point associated to vertex
Definition: SkeletonVertex2d.h:126
const UInt64Vector & getBranchIdxColl() const
access to the collection of branch edge vertices index associated to vertex
Definition: SkeletonVertex2d.h:169
Class allowing to represent a vertex into a skeleton associated to a polygon.
Definition: SkeletonVertex2d.h:41
Definition of import/export macro for library.
#define IPSDKGEOMETRY_API
Import/Export macro for library IPSDKGeometry.
Definition: IPSDKGeometryExports.h:25
const UInt64Vector & getLeafIdxColl() const
access to the collection of leaf edge points index associated to vertex
Definition: SkeletonVertex2d.h:138
ipUInt64 getNbBranches() const
retrieve number of branches associated to vertex
Definition: SkeletonVertex2d.h:193
PairIdxColl _segmentSourceIndexColl
collection of polygon segment source index
Definition: SkeletonVertex2d.h:119
void addBranchIdx(const ipUInt64 branchIdx)
access to the collection of branch edge vertices index associated to vertex
Definition: SkeletonVertex2d.h:187
ipUInt64 _mainPointIdx
index of point associated to skeleton vertex
Definition: SkeletonVertex2d.h:107
Predefined types for voronoi skeleton management.
void setMainPointIdx(ipUInt64 mainPointIdx)
access to the index of main point associated to vertex
Definition: SkeletonVertex2d.h:132
UInt64Vector _pointSourceIndexColl
collection of polygon point source index
Definition: SkeletonVertex2d.h:116
Base class for serializable class.
Definition: BaseSerializationObject.h:33
void setBranchIdxColl(const UInt64Vector &branchIdxColl)
access to the collection of branch edge vertices index associated to vertex
Definition: SkeletonVertex2d.h:181
void addPointSourceIndex(const ipUInt64 pointIdx)
access to polygon point source index associated to vertex
Definition: SkeletonVertex2d.h:199
void addLeafIdx(const ipUInt64 leafIdx)
access to the collection of leaf edge points index associated to vertex
Definition: SkeletonVertex2d.h:156