#include <opennurbs_mesh.h>
Public Member Functions | |
| ON_MeshParameters ()=default | |
| ON_MeshParameters (const ON_MeshParameters &)=default | |
| ON_MeshParameters (double density, double min_edge_length=ON_UNSET_VALUE) | |
| Tool for provding a simple slider interface. More... | |
| ~ON_MeshParameters ()=default | |
| const bool | ClosedObjectPostProcess () const |
| const bool | ComputeCurvature () const |
| ON_SHA1_Hash | ContentHash () const |
| const bool | CustomSettings () const |
| const bool | CustomSettingsEnabled () const |
| ON__UINT32 | DataCRC (ON__UINT32) const |
| const bool | DoublePrecision () const |
| void | Dump (ON_TextLog &test_log) const |
| const unsigned int | FaceType () const |
| const int | GeometrySettingsDensityPercentage (int no_match_found_result) const |
| ON_SHA1_Hash | GeometrySettingsHash () const |
| const ON_MeshParameters::MESH_STYLE | GeometrySettingsRenderMeshStyle (const ON_MeshParameters *custom_mp, ON_MeshParameters::MESH_STYLE no_match_found_result) const |
| const double | GridAmplification () const |
| const double | GridAngleDegrees () const |
| const double | GridAngleRadians () const |
| const double | GridAspectRatio () const |
| const int | GridMaxCount () const |
| desired masimum number of quads in initial grid More... | |
| const int | GridMinCount () const |
| minimum number of quads in initial grid More... | |
| const bool | JaggedSeams () const |
| const double | MaximumEdgeLength () const |
| const unsigned int | Mesher () const |
| 0 = slow mesher, 1 = fast mesher More... | |
| ON_UUID | MesherId () const |
| const double | MinimumEdgeLength () const |
| const double | MinimumTolerance () const |
| ON_MeshParameters & | operator= (const ON_MeshParameters &)=default |
| bool | Read (ON_BinaryArchive &) |
| const bool | Refine () const |
| const double | RefineAngleDegrees () const |
| const double | RefineAngleRadians () const |
| const double | RelativeTolerance () const |
| void | SetClosedObjectPostProcess (bool bClosedObjectPostProcess) |
| void | SetComputeCurvature (bool bComputeCurvature) |
| void | SetCustomSettings (bool bCustomSettings) |
| void | SetCustomSettingsEnabled (bool bCustomSettingsEnabled) |
| void | SetDoublePrecision (bool bDoublePrecision) |
| void | SetFaceType (unsigned int face_type) |
| void | SetGridAmplification (double grid_amplification) |
| void | SetGridAngleDegrees (double grid_angle_degrees) |
| void | SetGridAngleRadians (double grid_angle_radians) |
| void | SetGridAspectRatio (double grid_aspect_ratio) |
| void | SetGridMaxCount (int grid_max_count) |
| void | SetGridMinCount (int grid_min_count) |
| void | SetJaggedSeams (bool bJaggedSeams) |
| void | SetMaximumEdgeLength (double maximum_edge_length) |
| void | SetMesher (unsigned int mesher) |
| void | SetMesherId (ON_UUID) |
| void | SetMinimumEdgeLength (double minimum_edge_length) |
| void | SetMinimumTolerance (double minimum_tolerance) |
| void | SetRefine (bool bRefine) |
| void | SetRefineAngleDegrees (double refine_angle_degrees) |
| void | SetRefineAngleRadians (double refine_angle_radians) |
| void | SetRelativeTolerance (double relative_tolerance) |
| void | SetSimplePlanes (bool bSimplePlanes) |
| void | SetTextureRange (unsigned int texture_range) |
| void | SetTextureRangePictureFrameHack () |
| void | SetTolerance (double tolerance) |
| const bool | SimplePlanes () const |
| unsigned int | SubDDisplayMeshDensity () const |
| const unsigned int | TextureRange () const |
| const bool | TextureRangeIsValid () const |
| const double | Tolerance () const |
| These controls are used in both stages. More... | |
| bool | Write (ON_BinaryArchive &) const |
Static Public Member Functions | |
| static int | Compare (const ON_MeshParameters &a, const ON_MeshParameters &b) |
| static int | CompareGeometrySettings (const ON_MeshParameters &a, const ON_MeshParameters &b) |
| Compares all meshing parameters that control mesh geometry. Does not compare m_bCustomSettings, CustomSettingsEnabled(), m_bComputeCurvature, m_bDoublePrecision, MinimumTolerance(), m_texture_range, m_srf_domain0 and m_srf_domain1. More... | |
| static ON_MeshParameters::MESH_PARAMETER_ID | MeshParameterIdFromUnsigned (unsigned int mesh_parameter_id_as_unsigned) |
| static ON_MeshParameters::MESH_STYLE | MeshStyleFromUnsigned (unsigned int mesh_style_as_unsigned) |
| static double | MinimumEdgeLengthFromTolerance (double max_edge_length, double tolerance) |
| Get a value to use for minimum edge length base on max_edge_length and tolerance settings. More... | |
| static double | ToleranceFromObjectSize (double relative_tolerance, double actual_size) |
| Get a value to use for tolerance based on the relative_tolerance and actual size. More... | |
Static Public Attributes | |
| static const ON_MeshParameters | DefaultAnalysisMesh |
| Mesh creationg parameters to create the default analysis mesh. More... | |
| static const ON_MeshParameters | DefaultMesh |
| Mesh creationg parameters to create the default render mesh. More... | |
| static const ON_MeshParameters | FastRenderMesh |
| Mesh creationg parameters to create the a render mesh when meshing speed is prefered over mesh quality. More... | |
| static const ON_UUID | PangolinMesherId |
| {EB6F6F3F-F975-4546-9D1C-64E9423BEB7F} More... | |
| static const ON_MeshParameters | QualityRenderMesh |
| Mesh creationg parameters to create the a render mesh when mesh quality is prefered over meshing speed. More... | |
| static const ON_UUID | RhinoLegacyMesherId |
| surface meshing perameters More... | |
|
strong |
|
strong |
|
default |
|
default |
|
default |
| ON_MeshParameters::ON_MeshParameters | ( | double | density, |
| double | min_edge_length = ON_UNSET_VALUE |
||
| ) |
Tool for provding a simple slider interface.
| density | [in] 0.0 <= density <= 1.0 0 quickly creates coarse meshes. 1 slowly creates dense meshes. |
| min_edge_length | [in] > 0.0 custom value ON_UNSET_VALUE: for default (0.0001) |
| const bool ON_MeshParameters::ClosedObjectPostProcess | ( | ) | const |
|
static |
|
static |
Compares all meshing parameters that control mesh geometry. Does not compare m_bCustomSettings, CustomSettingsEnabled(), m_bComputeCurvature, m_bDoublePrecision, MinimumTolerance(), m_texture_range, m_srf_domain0 and m_srf_domain1.
| const bool ON_MeshParameters::ComputeCurvature | ( | ) | const |
| ON_SHA1_Hash ON_MeshParameters::ContentHash | ( | ) | const |
| const bool ON_MeshParameters::CustomSettings | ( | ) | const |
| const bool ON_MeshParameters::CustomSettingsEnabled | ( | ) | const |
| ON__UINT32 ON_MeshParameters::DataCRC | ( | ON__UINT32 | ) | const |
| const bool ON_MeshParameters::DoublePrecision | ( | ) | const |
| void ON_MeshParameters::Dump | ( | ON_TextLog & | test_log | ) | const |
| const unsigned int ON_MeshParameters::FaceType | ( | ) | const |
| const int ON_MeshParameters::GeometrySettingsDensityPercentage | ( | int | no_match_found_result | ) | const |
| ON_SHA1_Hash ON_MeshParameters::GeometrySettingsHash | ( | ) | const |
| const ON_MeshParameters::MESH_STYLE ON_MeshParameters::GeometrySettingsRenderMeshStyle | ( | const ON_MeshParameters * | custom_mp, |
| ON_MeshParameters::MESH_STYLE | no_match_found_result | ||
| ) | const |
| const double ON_MeshParameters::GridAmplification | ( | ) | const |
| const double ON_MeshParameters::GridAngleDegrees | ( | ) | const |
| const double ON_MeshParameters::GridAngleRadians | ( | ) | const |
| const double ON_MeshParameters::GridAspectRatio | ( | ) | const |
| const int ON_MeshParameters::GridMaxCount | ( | ) | const |
desired masimum number of quads in initial grid
| const int ON_MeshParameters::GridMinCount | ( | ) | const |
minimum number of quads in initial grid
| const bool ON_MeshParameters::JaggedSeams | ( | ) | const |
| const double ON_MeshParameters::MaximumEdgeLength | ( | ) | const |
| const unsigned int ON_MeshParameters::Mesher | ( | ) | const |
0 = slow mesher, 1 = fast mesher
| ON_UUID ON_MeshParameters::MesherId | ( | ) | const |
|
static |
|
static |
| const double ON_MeshParameters::MinimumEdgeLength | ( | ) | const |
|
static |
Get a value to use for minimum edge length base on max_edge_length and tolerance settings.
| max_edge_length | [in] 3d maximum edge length used to create mesh. |
| tolerance | [in] 3d distance tolerance used to create mesh. |
| const double ON_MeshParameters::MinimumTolerance | ( | ) | const |
|
default |
| bool ON_MeshParameters::Read | ( | ON_BinaryArchive & | ) |
| const bool ON_MeshParameters::Refine | ( | ) | const |
| const double ON_MeshParameters::RefineAngleDegrees | ( | ) | const |
| const double ON_MeshParameters::RefineAngleRadians | ( | ) | const |
| const double ON_MeshParameters::RelativeTolerance | ( | ) | const |
| void ON_MeshParameters::SetClosedObjectPostProcess | ( | bool | bClosedObjectPostProcess | ) |
| void ON_MeshParameters::SetComputeCurvature | ( | bool | bComputeCurvature | ) |
| void ON_MeshParameters::SetCustomSettings | ( | bool | bCustomSettings | ) |
| void ON_MeshParameters::SetCustomSettingsEnabled | ( | bool | bCustomSettingsEnabled | ) |
| void ON_MeshParameters::SetDoublePrecision | ( | bool | bDoublePrecision | ) |
| void ON_MeshParameters::SetFaceType | ( | unsigned int | face_type | ) |
| void ON_MeshParameters::SetGridAmplification | ( | double | grid_amplification | ) |
| void ON_MeshParameters::SetGridAngleDegrees | ( | double | grid_angle_degrees | ) |
| void ON_MeshParameters::SetGridAngleRadians | ( | double | grid_angle_radians | ) |
| void ON_MeshParameters::SetGridAspectRatio | ( | double | grid_aspect_ratio | ) |
| void ON_MeshParameters::SetGridMaxCount | ( | int | grid_max_count | ) |
| void ON_MeshParameters::SetGridMinCount | ( | int | grid_min_count | ) |
| void ON_MeshParameters::SetJaggedSeams | ( | bool | bJaggedSeams | ) |
| void ON_MeshParameters::SetMaximumEdgeLength | ( | double | maximum_edge_length | ) |
| void ON_MeshParameters::SetMesher | ( | unsigned int | mesher | ) |
| void ON_MeshParameters::SetMesherId | ( | ON_UUID | ) |
| void ON_MeshParameters::SetMinimumEdgeLength | ( | double | minimum_edge_length | ) |
| void ON_MeshParameters::SetMinimumTolerance | ( | double | minimum_tolerance | ) |
| void ON_MeshParameters::SetRefine | ( | bool | bRefine | ) |
| void ON_MeshParameters::SetRefineAngleDegrees | ( | double | refine_angle_degrees | ) |
| void ON_MeshParameters::SetRefineAngleRadians | ( | double | refine_angle_radians | ) |
| void ON_MeshParameters::SetRelativeTolerance | ( | double | relative_tolerance | ) |
| void ON_MeshParameters::SetSimplePlanes | ( | bool | bSimplePlanes | ) |
| void ON_MeshParameters::SetTextureRange | ( | unsigned int | texture_range | ) |
| void ON_MeshParameters::SetTextureRangePictureFrameHack | ( | ) |
| void ON_MeshParameters::SetTolerance | ( | double | tolerance | ) |
| const bool ON_MeshParameters::SimplePlanes | ( | ) | const |
| unsigned int ON_MeshParameters::SubDDisplayMeshDensity | ( | ) | const |
| const unsigned int ON_MeshParameters::TextureRange | ( | ) | const |
| const bool ON_MeshParameters::TextureRangeIsValid | ( | ) | const |
| const double ON_MeshParameters::Tolerance | ( | ) | const |
These controls are used in both stages.
approximate maximum distance from center of edge to surface
|
static |
Get a value to use for tolerance based on the relative_tolerance and actual size.
| relative_tolerance | [in] See m_relative_tolerance field |
| actual_size | [in] Length of object's bounding box diagonal or some similar measure of the object's 3d size. |
| bool ON_MeshParameters::Write | ( | ON_BinaryArchive & | ) | const |
|
static |
Mesh creationg parameters to create the default analysis mesh.
|
static |
Mesh creationg parameters to create the default render mesh.
|
static |
Mesh creationg parameters to create the a render mesh when meshing speed is prefered over mesh quality.
|
static |
{EB6F6F3F-F975-4546-9D1C-64E9423BEB7F}
|
static |
Mesh creationg parameters to create the a render mesh when mesh quality is prefered over meshing speed.
|
static |
surface meshing perameters