HOG2
Classes | Namespaces | Enumerations | Functions
VoxelTriangleExtraction.cpp File Reference
#include "SharedQueue.h"
#include "VoxelTriangleExtraction.h"
#include <thread>
Include dependency graph for VoxelTriangleExtraction.cpp:

Go to the source code of this file.

Classes

struct  VoxelUtils::Point3D
 
struct  VoxelUtils::work
 

Namespaces

 VoxelUtils
 

Enumerations

enum  VoxelUtils::plane {
  VoxelUtils::xPositive, VoxelUtils::xNegative, VoxelUtils::yPositive, VoxelUtils::yNegative,
  VoxelUtils::zPositive, VoxelUtils::zNegative
}
 

Functions

bool VoxelUtils::operator== (const triangle &a, const triangle &b)
 
bool VoxelUtils::operator== (const vn &a, const vn &b)
 
void VoxelUtils::ThreadedWorker (VoxelGrid *s, std::vector< triangle > &data, SharedQueue< work > &queue, std::mutex &lock)
 
void VoxelUtils::PXHelper (VoxelGrid *s, int x, int y, int ymax, int z, int zmax, std::vector< triangle > &data)
 
void VoxelUtils::AddPXFace (VoxelGrid *s, int x, std::vector< triangle > &data)
 
void VoxelUtils::NXHelper (VoxelGrid *s, int x, int y, int ymax, int z, int zmax, std::vector< triangle > &data)
 
void VoxelUtils::AddNXFace (VoxelGrid *s, int x, std::vector< triangle > &data)
 
void VoxelUtils::PYHelper (VoxelGrid *s, int x, int xmax, int y, int z, int zmax, std::vector< triangle > &data)
 
void VoxelUtils::AddPYFace (VoxelGrid *s, int y, std::vector< triangle > &data)
 
void VoxelUtils::NYHelper (VoxelGrid *s, int x, int xmax, int y, int z, int zmax, std::vector< triangle > &data)
 
void VoxelUtils::AddNYFace (VoxelGrid *s, int y, std::vector< triangle > &data)
 
void VoxelUtils::PZHelper (VoxelGrid *s, int x, int xmax, int y, int ymax, int z, std::vector< triangle > &data)
 
void VoxelUtils::AddPZFace (VoxelGrid *s, int z, std::vector< triangle > &data)
 
void VoxelUtils::NZHelper (VoxelGrid *s, int x, int xmax, int y, int ymax, int z, std::vector< triangle > &data)
 
void VoxelUtils::AddNZFace (VoxelGrid *s, int z, std::vector< triangle > &data)
 
void VoxelUtils::GetTriangles (VoxelGrid *s, std::vector< triangle > &data)
 
triangle VoxelUtils::MakeTriangle (Point3D normal, Point3D v1, Point3D v2, Point3D v3)
 
int VoxelUtils::XMaxSquare (VoxelGrid *s, int x, int y, int ymax, int z, int zmax, int xOffset)
 
std::pair< int, int > VoxelUtils::XMaxRect (VoxelGrid *s, int x, int y, int ymax, int z, int zmax, int xOffset)
 
int VoxelUtils::YMaxSquare (VoxelGrid *s, int x, int xmax, int y, int z, int zmax, int yOffset)
 
std::pair< int, int > VoxelUtils::YMaxRect (VoxelGrid *s, int x, int xmax, int y, int z, int zmax, int yOffset)
 
int VoxelUtils::ZMaxSquare (VoxelGrid *s, int x, int xmax, int y, int ymax, int z, int zOffset)
 
std::pair< int, int > VoxelUtils::ZMaxRect (VoxelGrid *s, int x, int xmax, int y, int ymax, int z, int zOffset)