ShellToRegionMapper

Fields

struct vhash_s *

m_RegionToShellHash

struct vhash_s *

m_ShellToRegionHash

struct vhash_s *

m_ShellToSegmentHash

Functions

ShellToRegionMapper

void

AddRegion

HC_KEY

GetOriginalShell

int

GetRegionsFromOriginalShell

void

BuildSegmentTreeRecursive

void

MapSegmentTree

void

AddSegmentMapping

Detailed Description

class ShellToRegionMapper

Public Functions

ShellToRegionMapper()
void AddRegion(HC_KEY originalshell, HC_KEY newshell, int regionnum, bool check = true)
HC_KEY GetOriginalShell(HC_KEY newshell, int regionnum)
int GetRegionsFromOriginalShell(HC_KEY originalshell, HC_KEY **newshells, int &regionnum)
void BuildSegmentTreeRecursive(HC_KEY okey, HC_KEY nkey)
void MapSegmentTree(HC_KEY modelkey)
void AddSegmentMapping(HC_KEY originalshell, HC_KEY segmentkey)

Public Members

struct vhash_s *m_RegionToShellHash
struct vhash_s *m_ShellToRegionHash
struct vhash_s *m_ShellToSegmentHash