Classes | |
| class | _InOptConst_MeshParams |
This is used for optional parameters of class MeshParams with default arguments. This is only used const parameters. For non-const ones we have _InOptMut_MeshParams. Usage: | |
| class | _InOptConst_VolumeParams |
This is used for optional parameters of class VolumeParams with default arguments. This is only used const parameters. For non-const ones we have _InOptMut_VolumeParams. Usage: | |
| class | _InOptMut_MeshParams |
This is used for optional parameters of class MeshParams with default arguments. This is only used mutable parameters. For const ones we have _InOptConst_MeshParams. Usage: | |
| class | _InOptMut_VolumeParams |
This is used for optional parameters of class VolumeParams with default arguments. This is only used mutable parameters. For const ones we have _InOptConst_VolumeParams. Usage: | |
| class | Const_MeshParams |
Generated from class MR.FillingSurface.TPMS.MeshParams. Base classes: Direct: (non-virtual) MR.FillingSurface.TPMS.VolumeParams This is the const half of the class. | |
| class | Const_VolumeParams |
Generated from class MR.FillingSurface.TPMS.VolumeParams. Derived classes: Direct: (non-virtual) MR.FillingSurface.TPMS.MeshParams This is the const half of the class. | |
| class | MeshParams |
Generated from class MR.FillingSurface.TPMS.MeshParams. Base classes: Direct: (non-virtual) MR.FillingSurface.TPMS.VolumeParams This is the non-const half of the class. More... | |
| class | VolumeParams |
Generated from class MR.FillingSurface.TPMS.VolumeParams. Derived classes: Direct: (non-virtual) MR.FillingSurface.TPMS.MeshParams This is the non-const half of the class. More... | |
Public Types | |
| enum | Type : int { SchwartzP = 0 , ThickSchwartzP = 1 , DoubleGyroid = 2 , ThickGyroid = 3 , Count = 4 } |
| Supported types of TPMS (Triply Periodic Minimal Surfaces) More... | |
Static Public Member Functions | |
| static unsafe MR.Std.Vector_StdString | getTypeNames () |
Returns the names for each type of filling Generated from function MR.FillingSurface.TPMS.getTypeNames. | |
| static unsafe MR.Std.Vector_StdString | getTypeTooltips () |
Returns the tooltips for each type of filling Generated from function MR.FillingSurface.TPMS.getTypeTooltips. | |
| static bool | isThick (MR.FillingSurface.TPMS.Type type) |
Returns true if the type is thick Generated from function MR.FillingSurface.TPMS.isThick. | |
| static unsafe MR.FunctionVolume | buildVolume (in MR.Vector3f size, MR.FillingSurface.TPMS.Const_VolumeParams params_) |
| Construct TPMS using implicit function (https://www.researchgate.net/publication/350658078_Computational_method_and_program_for_generating_a_porous_scaffold_based_on_implicit_surfaces) | |
| static unsafe MR.Mesh | build (in MR.Vector3f size, MR.FillingSurface.TPMS.Const_MeshParams params_, MR.Std._ByValue_Function_BoolFuncFromFloat? cb=null) |
Constructs TPMS level-set and then convert it to mesh Generated from function MR.FillingSurface.TPMS.build. Parameter cb defaults to {}. | |
| static unsafe MR.Mesh | fill (MR.Const_Mesh mesh, MR.FillingSurface.TPMS.Const_MeshParams params_, MR.Std._ByValue_Function_BoolFuncFromFloat? cb=null) |
Constructs TPMS-filling for the given mesh Generated from function MR.FillingSurface.TPMS.fill. Parameter cb defaults to {}. | |
| static unsafe ulong | getNumberOfVoxels (MR.Const_Mesh mesh, float frequency, float resolution) |
Returns number of voxels that would be used to perform fillWithTPMS Generated from function MR.FillingSurface.TPMS.getNumberOfVoxels. | |
| static unsafe ulong | getNumberOfVoxels (in MR.Vector3f size, float frequency, float resolution) |
Returns number of voxels that would be used to perform buildTPMS or buildTPMSVolume Generated from function MR.FillingSurface.TPMS.getNumberOfVoxels. | |
| static float | estimateIso (MR.FillingSurface.TPMS.Type type, float targetDensity) |
| Returns approximated ISO value corresponding to the given density. | |
| static float | estimateDensity (MR.FillingSurface.TPMS.Type type, float targetIso) |
| Returns approximate density corresponding to the given ISO value. | |
| static float | getMinimalResolution (MR.FillingSurface.TPMS.Type type, float iso) |
Returns minimal reasonable resolution for given parameters Generated from function MR.FillingSurface.TPMS.getMinimalResolution. | |
| enum MR.FillingSurface.TPMS.Type : int |
Supported types of TPMS (Triply Periodic Minimal Surfaces)
| Enumerator | |
|---|---|
| SchwartzP | |
| ThickSchwartzP | |
| DoubleGyroid | |
| ThickGyroid | |
| Count | |
|
inlinestatic |
Constructs TPMS level-set and then convert it to mesh Generated from function MR.FillingSurface.TPMS.build. Parameter cb defaults to {}.
|
inlinestatic |
Construct TPMS using implicit function (https://www.researchgate.net/publication/350658078_Computational_method_and_program_for_generating_a_porous_scaffold_based_on_implicit_surfaces)
| size | Size of the cube with the surface |
size Generated from function MR.FillingSurface.TPMS.buildVolume.
|
inlinestatic |
Returns approximate density corresponding to the given ISO value.
| targetIso | value in [-1; 1] |
MR.FillingSurface.TPMS.estimateDensity.
|
inlinestatic |
Returns approximated ISO value corresponding to the given density.
| targetDensity | value in [0; 1] |
MR.FillingSurface.TPMS.estimateIso.
|
inlinestatic |
Constructs TPMS-filling for the given mesh Generated from function MR.FillingSurface.TPMS.fill. Parameter cb defaults to {}.
|
inlinestatic |
Returns minimal reasonable resolution for given parameters Generated from function MR.FillingSurface.TPMS.getMinimalResolution.
|
inlinestatic |
Returns number of voxels that would be used to perform buildTPMS or buildTPMSVolume Generated from function MR.FillingSurface.TPMS.getNumberOfVoxels.
|
inlinestatic |
Returns number of voxels that would be used to perform fillWithTPMS Generated from function MR.FillingSurface.TPMS.getNumberOfVoxels.
|
inlinestatic |
Returns the names for each type of filling Generated from function MR.FillingSurface.TPMS.getTypeNames.
|
inlinestatic |
Returns the tooltips for each type of filling Generated from function MR.FillingSurface.TPMS.getTypeTooltips.
|
inlinestatic |
Returns true if the type is thick Generated from function MR.FillingSurface.TPMS.isThick.