8 #ifndef GlobeEngine_KPatchBase_h
9 #define GlobeEngine_KPatchBase_h
41 void copyArraysToShort();
46 double saturatedError;
57 short* indexMap_x_s[8];
58 short* indexMap_y_s[8];
Definition: KPatchBase.h:17
void createIndexArrays(int _points_per_edge, int _indexCount)
Definition: KPatchBase.cpp:75
Definition: KPatchBase.h:21
Definition: KPatchBase.h:20
Definition: KPatchBase.h:20
Definition: KPatchBase.h:21
Definition: KPatchBase.h:21
Definition: KPatchBase.h:20
TriangulationMode
Definition: KPatchBase.h:22
Definition: KPatchBase.h:13
KPatchBase()
Definition: KPatchBase.cpp:12
static KPatchBase::PatchMode getModeForPointsPerSide(int _pointPerSide)
Definition: KPatchBase.cpp:396
Definition: KPatchBase.h:20
~KPatchBase()
Definition: KPatchBase.cpp:26
const int * getIndexArrayX(PatchOrientation _type) const
Definition: KPatchBase.cpp:478
Definition: KPatchBase.h:21
Definition: KPatchBase.h:20
Definition: KPatchBintree.h:26
const short * getIndexArrayXus(PatchOrientation _type) const
Definition: KPatchBase.cpp:541
Definition: KPatchBase.h:20
Definition: KPatchBase.h:21
Definition: KPatchBase.h:20
Definition: KPatchBase.h:22
static int calculateIndexCount(int _points_per_edge)
Definition: KPatchBase.cpp:448
void clear()
Definition: KPatchBase.cpp:45
const short * getIndexArrayYus(PatchOrientation _type) const
Definition: KPatchBase.cpp:555
Definition: KPatchBase.h:21
Definition: KPatchBase.h:21
void create()
Definition: KPatchBase.cpp:70
PatchOrientation
Definition: KPatchBase.h:20
PatchMode
Definition: KPatchBase.h:21
static int calculatePointsPerSide(KPatchBase::PatchMode _mode)
Definition: KPatchBase.cpp:348
const int * getIndexArrayY(PatchOrientation _type) const
Definition: KPatchBase.cpp:492
Definition: KPatchBase.h:22
int getIndexCount() const
Definition: KPatchBase.cpp:473
Definition: KPatchBase.h:20