plastimatch
Loading...
Searching...
No Matches
volume_boundary_behavior.h File Reference
#include "plmbase_config.h"

Go to the source code of this file.

Enumerations

enum  Volume_boundary_behavior { ZERO_PADDING , EDGE_PADDING , ADAPTIVE_PADDING }
 This enum is used to control the algorithm behavior for voxels at the edge of the volume. If ZERO_PADDING is specified, all non-zero voxels at the edge of the volume will be treated as boundary voxels. If EDGE_PADDING is specified, non-zero voxels at the edge of the volume are only treated as boundary voxels if they neighbor a zero voxel. If ADAPTIVE_PADDING, it will use EDGE_PADDING for dimensions of a single voxel, and ZERO_PADDING for dimensions of multiple voxels. More...
 

Functions

Volume_boundary_behavior volume_boundary_behavior_parse (const std::string &string)
 
Volume_boundary_behavior volume_boundary_behavior_parse (const char *string)
 

Enumeration Type Documentation

◆ Volume_boundary_behavior

This enum is used to control the algorithm behavior for voxels at the edge of the volume. If ZERO_PADDING is specified, all non-zero voxels at the edge of the volume will be treated as boundary voxels. If EDGE_PADDING is specified, non-zero voxels at the edge of the volume are only treated as boundary voxels if they neighbor a zero voxel. If ADAPTIVE_PADDING, it will use EDGE_PADDING for dimensions of a single voxel, and ZERO_PADDING for dimensions of multiple voxels.

Enumerator
ZERO_PADDING 
EDGE_PADDING 
ADAPTIVE_PADDING 

Function Documentation

◆ volume_boundary_behavior_parse() [1/2]

Volume_boundary_behavior volume_boundary_behavior_parse ( const char * string)

◆ volume_boundary_behavior_parse() [2/2]

Volume_boundary_behavior volume_boundary_behavior_parse ( const std::string & string)