occ
Loading...
Searching...
No Matches
occ::geometry::IndexCache Struct Reference

#include <index_cache.h>

Collaboration diagram for occ::geometry::IndexCache:
[legend]

Classes

struct  Layer
 
struct  Row
 

Public Member Functions

 IndexCache (size_t)
 
 IndexCache (size_t x, size_t y)
 
void put (size_t, size_t, size_t, size_t)
 
uint32_t get (size_t, size_t, size_t)
 
void advance_cell ()
 
void advance_row ()
 
void advance_layer ()
 

Public Attributes

size_t size_x
 
size_t size_y
 
Eigen::Matrix< Layer, Eigen::Dynamic, Eigen::Dynamic > layer0
 
Eigen::Matrix< Layer, Eigen::Dynamic, Eigen::Dynamic > layer1
 
Eigen::Matrix< Row, Eigen::Dynamic, 1 > row0
 
Eigen::Matrix< Row, Eigen::Dynamic, 1 > row1
 
std::array< uint32_t, 2 > cell0 {0}
 
std::array< uint32_t, 2 > cell1 {0}
 
std::array< uint32_t, 12 > current_cell {0}
 

Constructor & Destructor Documentation

◆ IndexCache() [1/2]

occ::geometry::IndexCache::IndexCache ( size_t  )

◆ IndexCache() [2/2]

occ::geometry::IndexCache::IndexCache ( size_t  x,
size_t  y 
)

Member Function Documentation

◆ advance_cell()

void occ::geometry::IndexCache::advance_cell ( )

◆ advance_layer()

void occ::geometry::IndexCache::advance_layer ( )

◆ advance_row()

void occ::geometry::IndexCache::advance_row ( )

◆ get()

uint32_t occ::geometry::IndexCache::get ( size_t  ,
size_t  ,
size_t   
)

◆ put()

void occ::geometry::IndexCache::put ( size_t  ,
size_t  ,
size_t  ,
size_t   
)

Member Data Documentation

◆ cell0

std::array<uint32_t, 2> occ::geometry::IndexCache::cell0 {0}

◆ cell1

std::array<uint32_t, 2> occ::geometry::IndexCache::cell1 {0}

◆ current_cell

std::array<uint32_t, 12> occ::geometry::IndexCache::current_cell {0}

◆ layer0

Eigen::Matrix<Layer, Eigen::Dynamic, Eigen::Dynamic> occ::geometry::IndexCache::layer0

◆ layer1

Eigen::Matrix<Layer, Eigen::Dynamic, Eigen::Dynamic> occ::geometry::IndexCache::layer1

◆ row0

Eigen::Matrix<Row, Eigen::Dynamic, 1> occ::geometry::IndexCache::row0

◆ row1

Eigen::Matrix<Row, Eigen::Dynamic, 1> occ::geometry::IndexCache::row1

◆ size_x

size_t occ::geometry::IndexCache::size_x

◆ size_y

size_t occ::geometry::IndexCache::size_y

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