|
MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
|
| MayaFlux::Buffers::VolumeSurfaceProcessor::VolumeSurfaceProcessor | ( | std::shared_ptr< VolumeGridBuffer > | volume, |
| std::string | field_name, | ||
| Kinesis::Lattice3D | lattice, | ||
| float | threshold, | ||
| const std::string & | shader_path = "volume_to_sdf_grid.comp.spv" |
||
| ) |
Construct a surface extraction bridge.
| volume | Volume whose field is resampled. |
| field_name | Name of the scalar field resampled. Must have stride sizeof(float). |
| lattice | Extraction lattice, normally the volume's own lattice resampled to a different resolution over the same bounds. |
| threshold | Field value the surface is placed at. |
| shader_path | Path to the compute shader. |
Definition at line 13 of file VolumeSurfaceProcessor.cpp.
References MayaFlux::Buffers::ShaderConfig::bindings, corner_count(), MayaFlux::Buffers::ShaderProcessor::m_config, MayaFlux::Buffers::ShaderDispatchConfig::MANUAL, MayaFlux::Buffers::ShaderConfig::push_constant_size, rebuild_grid_buffer(), MayaFlux::Buffers::ComputeProcessor::set_dispatch_mode(), and MayaFlux::Buffers::ComputeProcessor::set_manual_dispatch().
Here is the call graph for this function: