Public Member Functions | Public Attributes | List of all members
tesseract_collision::VHACDParameters Struct Reference

#include <convex_decomposition_vhacd.h>

Public Member Functions

void print () const
 

Public Attributes

bool async_ACD { true }
 Whether or not to run asynchronously, taking advantage of additional cores. More...
 
VHACD::FillMode fill_mode { VHACD::FillMode::FLOOD_FILL }
 How to fill the interior of the voxelized mesh. More...
 
bool find_best_plane { false }
 Whether or not to attempt to split planes along the best location. Experimental feature. False by default. More...
 
uint32_t max_convex_hulls { 64 }
 The maximum number of convex hulls to produce. More...
 
uint32_t max_num_vertices_per_ch { 64 }
 The maximum number of vertices allowed in any output convex hull. More...
 
uint32_t max_recursion_depth { 10 }
 The maximum recursion depth. More...
 
uint32_t min_edge_length { 2 }
 Once a voxel patch has an edge length of less than 4 on all 3 sides, we don't keep recursing. More...
 
double minimum_volume_percent_error_allowed { 1 }
 if the voxels are within 1% of the volume of the hull, we consider this a close enough approximation More...
 
uint32_t resolution { 400000 }
 The voxel resolution to use. More...
 
bool shrinkwrap { true }
 Whether or not to shrinkwrap the voxel positions to the source mesh on output. More...
 

Detailed Description

Definition at line 40 of file convex_decomposition_vhacd.h.

Member Function Documentation

◆ print()

void tesseract_collision::VHACDParameters::print ( ) const

Definition at line 120 of file convex_decomposition_vhacd.cpp.

Member Data Documentation

◆ async_ACD

bool tesseract_collision::VHACDParameters::async_ACD { true }

Whether or not to run asynchronously, taking advantage of additional cores.

Definition at line 57 of file convex_decomposition_vhacd.h.

◆ fill_mode

VHACD::FillMode tesseract_collision::VHACDParameters::fill_mode { VHACD::FillMode::FLOOD_FILL }

How to fill the interior of the voxelized mesh.

Definition at line 53 of file convex_decomposition_vhacd.h.

◆ find_best_plane

bool tesseract_collision::VHACDParameters::find_best_plane { false }

Whether or not to attempt to split planes along the best location. Experimental feature. False by default.

Definition at line 61 of file convex_decomposition_vhacd.h.

◆ max_convex_hulls

uint32_t tesseract_collision::VHACDParameters::max_convex_hulls { 64 }

The maximum number of convex hulls to produce.

Definition at line 43 of file convex_decomposition_vhacd.h.

◆ max_num_vertices_per_ch

uint32_t tesseract_collision::VHACDParameters::max_num_vertices_per_ch { 64 }

The maximum number of vertices allowed in any output convex hull.

Definition at line 55 of file convex_decomposition_vhacd.h.

◆ max_recursion_depth

uint32_t tesseract_collision::VHACDParameters::max_recursion_depth { 10 }

The maximum recursion depth.

Definition at line 49 of file convex_decomposition_vhacd.h.

◆ min_edge_length

uint32_t tesseract_collision::VHACDParameters::min_edge_length { 2 }

Once a voxel patch has an edge length of less than 4 on all 3 sides, we don't keep recursing.

Definition at line 59 of file convex_decomposition_vhacd.h.

◆ minimum_volume_percent_error_allowed

double tesseract_collision::VHACDParameters::minimum_volume_percent_error_allowed { 1 }

if the voxels are within 1% of the volume of the hull, we consider this a close enough approximation

Definition at line 47 of file convex_decomposition_vhacd.h.

◆ resolution

uint32_t tesseract_collision::VHACDParameters::resolution { 400000 }

The voxel resolution to use.

Definition at line 45 of file convex_decomposition_vhacd.h.

◆ shrinkwrap

bool tesseract_collision::VHACDParameters::shrinkwrap { true }

Whether or not to shrinkwrap the voxel positions to the source mesh on output.

Definition at line 51 of file convex_decomposition_vhacd.h.


The documentation for this struct was generated from the following files:


tesseract_collision
Author(s): Levi Armstrong
autogenerated on Sun May 18 2025 03:01:53