63 lines
2.2 KiB
XML
63 lines
2.2 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="VoxelMesherDMC" inherits="VoxelMesher" version="3.4">
|
|
<brief_description>
|
|
Implements isosurface generation (smooth voxels) using [url=https://www.volume-gfx.com/volume-rendering/dual-marching-cubes/]Dual Marching Cubes[/url].
|
|
</brief_description>
|
|
<description>
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<methods>
|
|
<method name="get_geometric_error" qualifiers="const">
|
|
<return type="float">
|
|
</return>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="get_statistics" qualifiers="const">
|
|
<return type="Dictionary">
|
|
</return>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="set_geometric_error">
|
|
<return type="void">
|
|
</return>
|
|
<argument index="0" name="error" type="float">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
</methods>
|
|
<members>
|
|
<member name="geometric_error" type="int" setter="set_simplify_mode" getter="get_simplify_mode" enum="VoxelMesherDMC.SimplifyMode" default="0">
|
|
</member>
|
|
<member name="mesh_mode" type="int" setter="set_mesh_mode" getter="get_mesh_mode" enum="VoxelMesherDMC.MeshMode" default="0">
|
|
</member>
|
|
<member name="seam_mode" type="int" setter="set_seam_mode" getter="get_seam_mode" enum="VoxelMesherDMC.SeamMode" default="0">
|
|
</member>
|
|
<member name="simplify_mode" type="int" setter="set_simplify_mode" getter="get_simplify_mode" enum="VoxelMesherDMC.SimplifyMode" default="0">
|
|
</member>
|
|
</members>
|
|
<constants>
|
|
<constant name="MESH_NORMAL" value="0" enum="MeshMode">
|
|
</constant>
|
|
<constant name="MESH_WIREFRAME" value="1" enum="MeshMode">
|
|
</constant>
|
|
<constant name="MESH_DEBUG_OCTREE" value="2" enum="MeshMode">
|
|
</constant>
|
|
<constant name="MESH_DEBUG_DUAL_GRID" value="3" enum="MeshMode">
|
|
</constant>
|
|
<constant name="SIMPLIFY_OCTREE_BOTTOM_UP" value="0" enum="SimplifyMode">
|
|
</constant>
|
|
<constant name="SIMPLIFY_OCTREE_TOP_DOWN" value="1" enum="SimplifyMode">
|
|
</constant>
|
|
<constant name="SIMPLIFY_NONE" value="2" enum="SimplifyMode">
|
|
</constant>
|
|
<constant name="SEAM_NONE" value="0" enum="SeamMode">
|
|
</constant>
|
|
<constant name="SEAM_MARCHING_SQUARE_SKIRTS" value="1" enum="SeamMode">
|
|
</constant>
|
|
</constants>
|
|
</class>
|