#include <VoxelSurface.h>
|
| | VoxelSurface (void) |
| |
| | VoxelSurface (float dx, int *N, float *min) |
| |
| | VoxelSurface (const char *path) |
| |
| | ~VoxelSurface (void) |
| |
| void | Save (const char *path) |
| |
| void | SetOccupancy (void) |
| |
| void | UpdateBdpoint (void) |
| |
| void | MakeSurface (void) |
| |
| void | DistanceTransform (void) |
| |
| void | DistanceUpdateForward (int i, int j, int k) |
| |
| void | DistanceUpdateBackward (int i, int j, int k) |
| |
| void | MakeNormal (int mode, int r, double alpha0) |
| |
| bool | AngularCriterion (vec3 n1, vec3 n2, double alpha) |
| |
| ivec3 | SymmetricPoint (vec3 normal, ivec3 p, ivec3 q) |
| |
| void | MakePrewittFilters (bool show) |
| | compute gradient using 3D Prewitt mask More...
|
| |
| void | ComputeGradientMap (int r, unsigned char *gMap) |
| |
| unsigned char | ComputeGradient (int i, int j, int k) |
| |
| bool | IsSurface (int i, int j, int k) |
| |
| unsigned char | IsInside (float *X) |
| |
| point | Index2Point (int index) |
| |
◆ VoxelSurface() [1/3]
| VoxelSurface::VoxelSurface |
( |
void |
| ) |
|
◆ VoxelSurface() [2/3]
| VoxelSurface::VoxelSurface |
( |
float |
dx, |
|
|
int * |
N, |
|
|
float * |
min |
|
) |
| |
◆ VoxelSurface() [3/3]
| VoxelSurface::VoxelSurface |
( |
const char * |
path | ) |
|
◆ ~VoxelSurface()
| VoxelSurface::~VoxelSurface |
( |
void |
| ) |
|
◆ AngularCriterion()
| bool VoxelSurface::AngularCriterion |
( |
vec3 |
n1, |
|
|
vec3 |
n2, |
|
|
double |
alpha |
|
) |
| |
◆ ComputeGradient()
| unsigned char VoxelSurface::ComputeGradient |
( |
int |
i, |
|
|
int |
j, |
|
|
int |
k |
|
) |
| |
◆ ComputeGradientMap()
| void VoxelSurface::ComputeGradientMap |
( |
int |
r, |
|
|
unsigned char * |
gMap |
|
) |
| |
◆ DistanceTransform()
| void VoxelSurface::DistanceTransform |
( |
void |
| ) |
|
two pass distance transform using first-neighbor Chamfer distance (3-4-5)
refer G. Borgefors, "Distance transformations in arbitrary dimensions," CVGIP 1984.
◆ DistanceUpdateBackward()
| void VoxelSurface::DistanceUpdateBackward |
( |
int |
i, |
|
|
int |
j, |
|
|
int |
k |
|
) |
| |
|
inline |
◆ DistanceUpdateForward()
| void VoxelSurface::DistanceUpdateForward |
( |
int |
i, |
|
|
int |
j, |
|
|
int |
k |
|
) |
| |
|
inline |
◆ Index2Point()
| point VoxelSurface::Index2Point |
( |
int |
index | ) |
|
◆ IsInside()
| unsigned char VoxelSurface::IsInside |
( |
float * |
X | ) |
|
◆ IsSurface()
| bool VoxelSurface::IsSurface |
( |
int |
i, |
|
|
int |
j, |
|
|
int |
k |
|
) |
| |
◆ MakeNormal()
| void VoxelSurface::MakeNormal |
( |
int |
mode, |
|
|
int |
r, |
|
|
double |
alpha0 |
|
) |
| |
normal estimation by adaptive distance gradient filtering (ADGF)
refer F. Flin et al., "Adaptive estimation of normals and surface area for discrete \n
3D objects: Application to snow binary data from X-ray tomography," IP 2005.
◆ MakePrewittFilters()
| void VoxelSurface::MakePrewittFilters |
( |
bool |
show | ) |
|
compute gradient using 3D Prewitt mask
◆ MakeSurface()
| void VoxelSurface::MakeSurface |
( |
void |
| ) |
|
◆ Save()
| void VoxelSurface::Save |
( |
const char * |
path | ) |
|
◆ SetOccupancy()
| void VoxelSurface::SetOccupancy |
( |
void |
| ) |
|
◆ SymmetricPoint()
| ivec3 VoxelSurface::SymmetricPoint |
( |
vec3 |
normal, |
|
|
ivec3 |
p, |
|
|
ivec3 |
q |
|
) |
| |
◆ UpdateBdpoint()
| void VoxelSurface::UpdateBdpoint |
( |
void |
| ) |
|
◆ bsphere
◆ m_bdpoint
| list<int> VoxelSurface::m_bdpoint |
boundary point index list
◆ m_color
| vector<vec3> VoxelSurface::m_color |
surface voxel color vector
◆ m_direction
| vector<point> VoxelSurface::m_direction |
◆ m_distance
| int* VoxelSurface::m_distance |
◆ m_dx
delta_x; variables for grid structure
◆ m_ivoxel
| vector<int> VoxelSurface::m_ivoxel |
surface voxel index vector
◆ m_max
| float VoxelSurface::m_max[3] |
max array; variables for grid structure
◆ m_min
| float VoxelSurface::m_min[3] |
min array; variables for grid structure
◆ m_N
resolution array; variables for grid structure
◆ m_normal
| vector<vec3> VoxelSurface::m_normal |
surface voxel normal vector
◆ m_occupancy
| unsigned char* VoxelSurface::m_occupancy |
◆ m_Prewitt
| vector<Filter> VoxelSurface::m_Prewitt |
◆ m_voxel
| vector<point> VoxelSurface::m_voxel |
surface voxel point vector
The documentation for this class was generated from the following files:
- M:/drive/Etri_Code/DOXYGEN/ETRI CODE/ETRI_3rd_Year_SurfelCut/Src/VoxelSurface.h
- M:/drive/Etri_Code/DOXYGEN/ETRI CODE/ETRI_3rd_Year_SurfelCut/Src/VoxelSurface.cpp