aimstil
5.0.5
|
#include <cassert>
#include <vector>
#include "til/labels.h"
#include "til/numeric_array.h"
#include "til/Range.h"
Go to the source code of this file.
Classes | |
class | til::Neighborhood_list |
Neighborhood as a list of vectors. More... | |
class | til::Neighborhood |
class | til::TArgNeighborhood< n000, n001, n002, n010, n011, n012, n020, n021, n022, n100, n101, n102, n110, n111, n112, n120, n121, n122, n200, n201, n202, n210, n211, n212, n220, n221, n222 > |
Template neighborhoods. More... | |
Namespaces | |
til | |
Belongs to package Box Do not include directly, include til/Box.h instead. | |
Macros | |
#define | COFFSET(i, j, k) ((i)+3*(j)+9*(k)+13) |
A macro to quickly index into a 3^3 cube. More... | |
#define | FOR_ALL_NEIGHBORS |
#define | APPY_ALL_NEIGHBORS(macro) |
#define | TNDECARG |
#define | TNARG |
Typedefs | |
typedef TArgNeighborhood< 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0 > | til::TN6 |
Template neighborhood for standard 3D 6-connectivity. More... | |
typedef TArgNeighborhood< 0, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1, 0 > | til::TN18 |
Template neighborhood for standard 3D 18-connectivity Note that the center is not included. More... | |
typedef TArgNeighborhood< 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 > | til::TN26 |
Template neighborhood for standard 3D 26-connectivity Note that the center is not included. More... | |
Functions | |
const Neighborhood | til::N26 (1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1) |
const Neighborhood | til::N6 (0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0) |
const Neighborhood | til::N18 (0, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1, 0) |
#define APPY_ALL_NEIGHBORS | ( | macro | ) |
Definition at line 30 of file Neighborhood.h.
#define COFFSET | ( | i, | |
j, | |||
k | |||
) | ((i)+3*(j)+9*(k)+13) |
A macro to quickly index into a 3^3 cube.
Coordinates vary in [-1;1].
Definition at line 22 of file Neighborhood.h.
Referenced by til::Neighborhood::for_all_neighbors(), and til::Neighborhood_list::init().
#define FOR_ALL_NEIGHBORS |
Definition at line 25 of file Neighborhood.h.
Referenced by til::Neighborhood::for_all_neighbors(), and til::Neighborhood_list::init().
#define TNARG |
Definition at line 399 of file Neighborhood.h.
#define TNDECARG |
Definition at line 389 of file Neighborhood.h.