Wildmeshing Toolkit
wmtk::components::MarchingOptions Struct Reference

#include <MarchingOptions.hpp>

Collaboration diagram for wmtk::components::MarchingOptions:
[legend]

Public Attributes

attribute::MeshAttributeHandle position_handle
 vertex positions (double) More...
 
std::map< PrimitiveType, attribute::MeshAttributeHandlelabel_handles
 Labels for inside, outside, and marching surface (int64_t). More...
 
std::vector< std::pair< attribute::MeshAttributeHandle, int64_t > > edge_filter_handles
 Filters (int64_t) on edge labels. More...
 
std::vector< attribute::MeshAttributeHandlepass_through_attributes
 Any other attribute goes here. More...
 
std::vector< int64_t > input_values
 The label values (int64_t) in between the marching surface should be placed. More...
 
int64_t output_value
 The output label value (int 64_t) is assigned to the marching surface in all primitive types for which label handles were specified. More...
 

Detailed Description

Definition at line 8 of file MarchingOptions.hpp.

Member Data Documentation

◆ edge_filter_handles

std::vector<std::pair<attribute::MeshAttributeHandle, int64_t> > wmtk::components::MarchingOptions::edge_filter_handles

Filters (int64_t) on edge labels.

If filter exist, only edges that are INSIDE that filter are considered. Thus, multiple filteres can be combined to get a more strict selection.

Definition at line 25 of file MarchingOptions.hpp.

Referenced by wmtk::components::marching(), and TEST_CASE().

◆ input_values

std::vector<int64_t> wmtk::components::MarchingOptions::input_values

The label values (int64_t) in between the marching surface should be placed.

If only one value is specified, marching is performed in between this value and any other. There must not be more than two values specified.

Definition at line 36 of file MarchingOptions.hpp.

Referenced by wmtk::components::marching(), and TEST_CASE().

◆ label_handles

std::map<PrimitiveType, attribute::MeshAttributeHandle> wmtk::components::MarchingOptions::label_handles

Labels for inside, outside, and marching surface (int64_t).

Must at least contain vertex labels. Edge and face labels are optional. The top simplex type must not be labeled. If there is a label on the top simplex type (e.g. tetrahedra) add it as "pass through attribute".

Definition at line 20 of file MarchingOptions.hpp.

Referenced by wmtk::components::marching(), and TEST_CASE().

◆ output_value

int64_t wmtk::components::MarchingOptions::output_value

The output label value (int 64_t) is assigned to the marching surface in all primitive types for which label handles were specified.

Definition at line 41 of file MarchingOptions.hpp.

Referenced by wmtk::components::marching(), and TEST_CASE().

◆ pass_through_attributes

std::vector<attribute::MeshAttributeHandle> wmtk::components::MarchingOptions::pass_through_attributes

Any other attribute goes here.

They are handled with the default attribute behavior.

Definition at line 29 of file MarchingOptions.hpp.

Referenced by wmtk::components::marching().

◆ position_handle

attribute::MeshAttributeHandle wmtk::components::MarchingOptions::position_handle

vertex positions (double)

Definition at line 13 of file MarchingOptions.hpp.

Referenced by wmtk::components::marching(), and TEST_CASE().


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