Tesseract
Motion Planning Environment
Loading...
Searching...
No Matches
Namespaces | Macros | Functions | Variables
VHACD.cpp File Reference
#include <tesseract_common/macros.h>
#include <algorithm>
#include <fstream>
#include <iomanip>
#include <limits>
#include <sstream>
#include <tesseract_collision/vhacd/VHACD.h>
#include <tesseract_collision/vhacd/inc/vhacdICHull.h>
#include <tesseract_collision/vhacd/inc/vhacdMesh.h>
#include <tesseract_collision/vhacd/inc/vhacdSArray.h>
#include <tesseract_collision/vhacd/inc/vhacdTimer.h>
#include <tesseract_collision/vhacd/inc/vhacdVHACD.h>
#include <tesseract_collision/vhacd/inc/vhacdVector.h>
#include <tesseract_collision/vhacd/inc/vhacdVolume.h>
#include <tesseract_collision/vhacd/inc/FloatMath.h>
#include <bullet/LinearMath/btConvexHullComputer.h>
Include dependency graph for VHACD.cpp:

Namespaces

namespace  tesseract_collision
 
namespace  tesseract_collision::VHACD
 

Macros

#define _CRT_SECURE_NO_WARNINGS
 
#define MAX(a, b)   (((a) > (b)) ? (a) : (b))
 
#define MIN(a, b)   (((a) < (b)) ? (a) : (b))
 
#define ABS(a)   (((a) < 0) ? -(a) : (a))
 
#define ZSGN(a)   (((a) < 0) ? -1 : (a) > 0 ? 1 : 0)
 
#define MAX_DOUBLE   (1.79769e+308)
 
#define UNUSED(x)   (void)(x)
 

Functions

int32_t FindMinimumElement (const float *const d, float *const m, const int32_t begin, const int32_t end)
 
IVHACD * tesseract_collision::VHACD::CreateVHACD ()
 
double tesseract_collision::VHACD::ComputePreferredCuttingDirection (const PrimitiveSet *const tset, Vec3< double > &dir)
 
void tesseract_collision::VHACD::ComputeAxesAlignedClippingPlanes (const VoxelSet &vset, const short downsampling, SArray< Plane > &planes)
 
void tesseract_collision::VHACD::ComputeAxesAlignedClippingPlanes (const TetrahedronSet &tset, const short downsampling, SArray< Plane > &planes)
 
void tesseract_collision::VHACD::RefineAxesAlignedClippingPlanes (const VoxelSet &vset, const Plane &bestPlane, const short downsampling, SArray< Plane > &planes)
 
void tesseract_collision::VHACD::RefineAxesAlignedClippingPlanes (const TetrahedronSet &tset, const Plane &bestPlane, const short downsampling, SArray< Plane > &planes)
 
double tesseract_collision::VHACD::ComputeLocalConcavity (const double volume, const double volumeCH)
 
double tesseract_collision::VHACD::ComputeConcavity (const double volume, const double volumeCH, const double volume0)
 
void tesseract_collision::VHACD::AddPoints (const Mesh *const mesh, SArray< Vec3< double > > &pts)
 
void tesseract_collision::VHACD::ComputeConvexHull (const Mesh *const ch1, const Mesh *const ch2, SArray< Vec3< double > > &pts, Mesh *const combinedCH)
 

Variables

const char * oclProgramSource
 

Macro Definition Documentation

◆ _CRT_SECURE_NO_WARNINGS

#define _CRT_SECURE_NO_WARNINGS

◆ ABS

#define ABS (   a)    (((a) < 0) ? -(a) : (a))

◆ MAX

#define MAX (   a,
 
)    (((a) > (b)) ? (a) : (b))

◆ MAX_DOUBLE

#define MAX_DOUBLE   (1.79769e+308)

◆ MIN

#define MIN (   a,
 
)    (((a) < (b)) ? (a) : (b))

◆ UNUSED

#define UNUSED (   x)    (void)(x)

◆ ZSGN

#define ZSGN (   a)    (((a) < 0) ? -1 : (a) > 0 ? 1 : 0)

Function Documentation

◆ FindMinimumElement()

int32_t FindMinimumElement ( const float *const  d,
float *const  m,
const int32_t  begin,
const int32_t  end 
)
inline

Variable Documentation

◆ oclProgramSource

const char* oclProgramSource