19 std::map<PrimitiveType, attribute::MeshAttributeHandle> label_handles = options.
label_handles;
21 assert(&pos_handle.
mesh() == &mesh);
PrimitiveType top_simplex_type() const
This component implements a marching triangle/tetrahedra.
void add_filter(const attribute::MeshAttributeHandle &label, const int64_t value)
Add an edge filter to marching.
void process()
Perform the actual marching.
void add_pass_through(const attribute::MeshAttributeHandle &pass_through)
Add pass through attributes.
void marching(Mesh &mesh, const MarchingOptions &options)
Perform maching tetrahedra/triangles.
std::vector< std::pair< attribute::MeshAttributeHandle, int64_t > > edge_filter_handles
Filters (int64_t) on edge labels.
attribute::MeshAttributeHandle position_handle
vertex positions (double)
std::vector< int64_t > input_values
The label values (int64_t) in between the marching surface should be placed.
std::vector< attribute::MeshAttributeHandle > pass_through_attributes
Any other attribute goes here.
int64_t output_value
The output label value (int 64_t) is assigned to the marching surface in all primitive types for whic...
std::map< PrimitiveType, attribute::MeshAttributeHandle > label_handles
Labels for inside, outside, and marching surface (int64_t).