cgv
|
data structure for the information that is cached per volume slice More...
#include <marching_cubes.h>
Public Member Functions | |
slice_info (unsigned int _resx, unsigned int _resy) | |
void | init () |
bool | flag (int x, int y) const |
int | get_bit_code (int x, int y, int step=1) const |
const T & | value (int x, int y) const |
T & | value (int x, int y) |
void | set_value (int x, int y, T value, T iso_value) |
set value and flag at once | |
const int & | index (int x, int y, int e) const |
int & | index (int x, int y, int e) |
const int & | snap_index (int x, int y) const |
int & | snap_index (int x, int y) |
Public Attributes | |
unsigned int | resx |
unsigned int | resy |
std::vector< T > | values |
std::vector< bool > | flags |
std::vector< int > | indices |
data structure for the information that is cached per volume slice
Definition at line 23 of file marching_cubes.h.
|
inline |
Definition at line 30 of file marching_cubes.h.
|
inline |
Definition at line 43 of file marching_cubes.h.
|
inline |
Definition at line 45 of file marching_cubes.h.
|
inline |
Definition at line 61 of file marching_cubes.h.
|
inline |
Definition at line 60 of file marching_cubes.h.
|
inline |
Definition at line 37 of file marching_cubes.h.
|
inline |
set value and flag at once
Definition at line 54 of file marching_cubes.h.
Referenced by cgv::media::mesh::marching_cubes_base< X, T >::extract_impl().
|
inline |
Definition at line 64 of file marching_cubes.h.
|
inline |
Definition at line 63 of file marching_cubes.h.
|
inline |
Definition at line 52 of file marching_cubes.h.
|
inline |
Definition at line 51 of file marching_cubes.h.
std::vector<bool> cgv::media::mesh::slice_info< T >::flags |
Definition at line 27 of file marching_cubes.h.
std::vector<int> cgv::media::mesh::slice_info< T >::indices |
Definition at line 28 of file marching_cubes.h.
unsigned int cgv::media::mesh::slice_info< T >::resx |
Definition at line 25 of file marching_cubes.h.
unsigned int cgv::media::mesh::slice_info< T >::resy |
Definition at line 25 of file marching_cubes.h.
std::vector<T> cgv::media::mesh::slice_info< T >::values |
Definition at line 26 of file marching_cubes.h.