Loading...
Searching...
No Matches
qtnative.h File Reference
Include dependency graph for qtnative.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  mesh
 The Qt-facing MeshKit API (meshkit::core_qt, meshkit::model_qt, meshkit::io_qt): mesh value types and cell attributes, the mesh generator, quad regions, matching and cleanup, mesh statistics, and the INP and 2DM mesh codecs.
 
namespace  mesh::native_adapter
 Conversions between the Qt value types of namespace mesh and the standard types of meshkit::plan, used by the Qt facades.
 

Functions

meshkit::Point2 mesh::native_adapter::native (QPointF p)
 Copy the x and y of a QPointF into a meshkit::Point2.
 
QPointF mesh::native_adapter::qt (meshkit::Point2 p)
 Copy the x and y of a meshkit::Point2 into a QPointF.
 
meshkit::Box2 mesh::native_adapter::native (QRectF b)
 Convert a QRectF to a meshkit::Box2 spanning the same two corners.
 
QRectF mesh::native_adapter::qt (meshkit::Box2 b)
 Convert a meshkit::Box2 to a QRectF spanning the same two corners.
 
n::Text mesh::native_adapter::native (const QString &s)
 Convert a QString to meshkit::plan::Text holding its UTF-8 encoding.
 
QString mesh::native_adapter::qt (const n::Text &s)
 Convert meshkit::plan::Text to a QString by decoding its bytes as UTF-8.
 
template<class T>
T mesh::native_adapter::native (T v)
 Fallback that returns a value unchanged, for members whose type needs no conversion.
 
template<class T>
T mesh::native_adapter::qt (T v)
 Fallback that returns a value unchanged, for members whose type needs no conversion.
 
n::QuadRegion mesh::native_adapter::native (const QuadRegion &v)
 Copy every field of a QuadRegion into a meshkit::plan::QuadRegion.
 
QuadRegion mesh::native_adapter::qt (const n::QuadRegion &v)
 Copy a meshkit::plan::QuadRegion into a QuadRegion; the native-only attribute is dropped.
 
n::StructuredPatch mesh::native_adapter::native (const StructuredPatch &v)
 Copy every field of a StructuredPatch into a meshkit::plan::StructuredPatch.
 
StructuredPatch mesh::native_adapter::qt (const n::StructuredPatch &v)
 Copy every field of a meshkit::plan::StructuredPatch into a StructuredPatch.
 
n::SweptPatch mesh::native_adapter::native (const SweptPatch &v)
 Copy every field of a SweptPatch into a meshkit::plan::SweptPatch.
 
SweptPatch mesh::native_adapter::qt (const n::SweptPatch &v)
 Copy every field of a meshkit::plan::SweptPatch into a SweptPatch.
 
n::BankPairPatch mesh::native_adapter::native (const BankPairPatch &v)
 Copy every field of a BankPairPatch into a meshkit::plan::BankPairPatch.
 
BankPairPatch mesh::native_adapter::qt (const n::BankPairPatch &v)
 Copy every field of a meshkit::plan::BankPairPatch into a BankPairPatch.
 
n::PatchLine mesh::native_adapter::native (const PatchLine &v)
 Copy every field of a PatchLine into a meshkit::plan::PatchLine.
 
PatchLine mesh::native_adapter::qt (const n::PatchLine &v)
 Copy every field of a meshkit::plan::PatchLine into a PatchLine.
 
n::PatchMesh mesh::native_adapter::native (const PatchMesh &v)
 Copy every field of a PatchMesh into a meshkit::plan::PatchMesh.
 
PatchMesh mesh::native_adapter::qt (const n::PatchMesh &v)
 Copy every field of a meshkit::plan::PatchMesh into a PatchMesh.
 
n::ConstraintSegment mesh::native_adapter::native (const ConstraintSegment &v)
 Copy every field of a ConstraintSegment into a meshkit::plan::ConstraintSegment.
 
ConstraintSegment mesh::native_adapter::qt (const n::ConstraintSegment &v)
 Copy every field of a meshkit::plan::ConstraintSegment into a ConstraintSegment.
 
n::SteinerPoint mesh::native_adapter::native (const SteinerPoint &v)
 Copy every field of a SteinerPoint into a meshkit::plan::SteinerPoint.
 
SteinerPoint mesh::native_adapter::qt (const n::SteinerPoint &v)
 Copy every field of a meshkit::plan::SteinerPoint into a SteinerPoint.
 
n::ConstraintSimplificationPolicy mesh::native_adapter::native (const ConstraintSimplificationPolicy &v)
 Copy every field of a ConstraintSimplificationPolicy into a meshkit::plan::ConstraintSimplificationPolicy.
 
ConstraintSimplificationPolicy mesh::native_adapter::qt (const n::ConstraintSimplificationPolicy &v)
 Copy every field of a meshkit::plan::ConstraintSimplificationPolicy into a ConstraintSimplificationPolicy.
 
n::ConstraintPolicyOverride mesh::native_adapter::native (const ConstraintPolicyOverride &v)
 Copy every field of a ConstraintPolicyOverride into a meshkit::plan::ConstraintPolicyOverride.
 
ConstraintPolicyOverride mesh::native_adapter::qt (const n::ConstraintPolicyOverride &v)
 Copy every field of a meshkit::plan::ConstraintPolicyOverride into a ConstraintPolicyOverride.
 
n::SimplificationFeature mesh::native_adapter::native (const SimplificationFeature &v)
 Copy every field of a SimplificationFeature into a meshkit::plan::SimplificationFeature.
 
SimplificationFeature mesh::native_adapter::qt (const n::SimplificationFeature &v)
 Copy every field of a meshkit::plan::SimplificationFeature into a SimplificationFeature.
 
n::SimplificationChange mesh::native_adapter::native (const SimplificationChange &v)
 Copy every field of a SimplificationChange into a meshkit::plan::SimplificationChange.
 
SimplificationChange mesh::native_adapter::qt (const n::SimplificationChange &v)
 Copy every field of a meshkit::plan::SimplificationChange into a SimplificationChange.
 
n::ConstraintSimplificationOptions mesh::native_adapter::native (const ConstraintSimplificationOptions &v)
 Copy every field of a ConstraintSimplificationOptions into a meshkit::plan::ConstraintSimplificationOptions.
 
ConstraintSimplificationOptions mesh::native_adapter::qt (const n::ConstraintSimplificationOptions &v)
 Copy every field of a meshkit::plan::ConstraintSimplificationOptions into a ConstraintSimplificationOptions.
 
n::ConstraintSimplificationResult mesh::native_adapter::native (const ConstraintSimplificationResult &v)
 Copy every field of a ConstraintSimplificationResult into a meshkit::plan::ConstraintSimplificationResult.
 
ConstraintSimplificationResult mesh::native_adapter::qt (const n::ConstraintSimplificationResult &v)
 Copy every field of a meshkit::plan::ConstraintSimplificationResult into a ConstraintSimplificationResult.
 
n::ConstraintAuditOptions mesh::native_adapter::native (const ConstraintAuditOptions &v)
 Copy every field of a ConstraintAuditOptions into a meshkit::plan::ConstraintAuditOptions.
 
ConstraintAuditOptions mesh::native_adapter::qt (const n::ConstraintAuditOptions &v)
 Copy every field of a meshkit::plan::ConstraintAuditOptions into a ConstraintAuditOptions.
 
n::ConstraintAuditExample mesh::native_adapter::native (const ConstraintAuditExample &v)
 Copy every field of a ConstraintAuditExample into a meshkit::plan::ConstraintAuditExample.
 
ConstraintAuditExample mesh::native_adapter::qt (const n::ConstraintAuditExample &v)
 Copy every field of a meshkit::plan::ConstraintAuditExample into a ConstraintAuditExample.
 
n::ConstraintAuditReport mesh::native_adapter::native (const ConstraintAuditReport &v)
 Copy every field of a ConstraintAuditReport into a meshkit::plan::ConstraintAuditReport.
 
ConstraintAuditReport mesh::native_adapter::qt (const n::ConstraintAuditReport &v)
 Copy every field of a meshkit::plan::ConstraintAuditReport into a ConstraintAuditReport.
 
n::PatchDecision mesh::native_adapter::native (const PatchDecision &v)
 Copy every field of a PatchDecision into a meshkit::plan::PatchDecision.
 
PatchDecision mesh::native_adapter::qt (const n::PatchDecision &v)
 Copy every field of a meshkit::plan::PatchDecision into a PatchDecision.
 
n::PatchAssessment mesh::native_adapter::native (const PatchAssessment &v)
 Copy every field of a PatchAssessment into a meshkit::plan::PatchAssessment.
 
PatchAssessment mesh::native_adapter::qt (const n::PatchAssessment &v)
 Copy every field of a meshkit::plan::PatchAssessment into a PatchAssessment.
 
n::PatchInterfaceConflict mesh::native_adapter::native (const PatchInterfaceConflict &v)
 Copy every field of a PatchInterfaceConflict into a meshkit::plan::PatchInterfaceConflict.
 
PatchInterfaceConflict mesh::native_adapter::qt (const n::PatchInterfaceConflict &v)
 Copy every field of a meshkit::plan::PatchInterfaceConflict into a PatchInterfaceConflict.
 
n::PatchInterfaceReport mesh::native_adapter::native (const PatchInterfaceReport &v)
 Copy every field of a PatchInterfaceReport into a meshkit::plan::PatchInterfaceReport.
 
PatchInterfaceReport mesh::native_adapter::qt (const n::PatchInterfaceReport &v)
 Copy every field of a meshkit::plan::PatchInterfaceReport into a PatchInterfaceReport.
 
n::QuadPlanningGeometry mesh::native_adapter::native (const QuadPlanningGeometry &v)
 Copy every field of a QuadPlanningGeometry into a meshkit::plan::QuadPlanningGeometry.
 
QuadPlanningGeometry mesh::native_adapter::qt (const n::QuadPlanningGeometry &v)
 Copy every field of a meshkit::plan::QuadPlanningGeometry into a QuadPlanningGeometry.
 
n::QuadPlan mesh::native_adapter::native (const QuadPlan &v)
 Copy every field of a QuadPlan into a meshkit::plan::QuadPlan.
 
QuadPlan mesh::native_adapter::qt (const n::QuadPlan &v)
 Copy every field of a meshkit::plan::QuadPlan into a QuadPlan.
 
n::QuadBlockGrid mesh::native_adapter::native (const QuadBlockGrid &v)
 Copy every field of a QuadBlockGrid into a meshkit::plan::QuadBlockGrid.
 
QuadBlockGrid mesh::native_adapter::qt (const n::QuadBlockGrid &v)
 Copy every field of a meshkit::plan::QuadBlockGrid into a QuadBlockGrid.
 
n::QuadBlockOptions mesh::native_adapter::native (const QuadBlockOptions &v)
 Copy every field of a QuadBlockOptions into a meshkit::plan::QuadBlockOptions.
 
QuadBlockOptions mesh::native_adapter::qt (const n::QuadBlockOptions &v)
 Copy every field of a meshkit::plan::QuadBlockOptions into a QuadBlockOptions.
 
n::MeshTriangle mesh::native_adapter::native (const MeshTriangle &v)
 Convert a MeshTriangle to the native cell, keeping its corners and tag.
 
MeshTriangle mesh::native_adapter::qt (const n::MeshTriangle &v)
 Convert a native cell to a MeshTriangle, copying its corners and tag.
 
n::Polygon mesh::native_adapter::native (const QPolygonF &v)
 Copy the points of a QPolygonF, in order, into a meshkit::plan::Polygon.
 
QPolygonF mesh::native_adapter::qt (const n::Polygon &v)
 Copy the points of a meshkit::plan::Polygon, in order, into a QPolygonF.
 
template<class T>
auto mesh::native_adapter::native (const QVector< T > &v)
 Convert a QVector element by element with the native() overload for its element type.
 
template<class T>
auto mesh::native_adapter::qt (const n::Vector< T > &v)
 Convert a meshkit::plan::Vector element by element with the qt() overload for its element type.
 
n::QuadRegionMode mesh::native_adapter::native (QuadRegionMode v)
 Cast to meshkit::plan::QuadRegionMode, whose enumerators match in name and order.
 
QuadRegionMode mesh::native_adapter::qt (n::QuadRegionMode v)
 Cast to QuadRegionMode, whose enumerators match the native enum in name and order.
 
n::PatchDisposition mesh::native_adapter::native (PatchDisposition v)
 Cast to meshkit::plan::PatchDisposition, whose enumerators match in name and order.
 
PatchDisposition mesh::native_adapter::qt (n::PatchDisposition v)
 Cast to PatchDisposition, whose enumerators match the native enum in name and order.
 
n::ConstraintSimplificationPolicy::Mode mesh::native_adapter::native (ConstraintSimplificationPolicy::Mode v)
 Cast to meshkit::plan::ConstraintSimplificationPolicy::Mode, whose enumerators match in name and order.
 
ConstraintSimplificationPolicy::Mode mesh::native_adapter::qt (n::ConstraintSimplificationPolicy::Mode v)
 Cast to ConstraintSimplificationPolicy::Mode, whose enumerators match the native enum in name and order.
 
n::SimplificationFeature::Role mesh::native_adapter::native (SimplificationFeature::Role v)
 Cast to meshkit::plan::SimplificationFeature::Role, whose enumerators match in name and order.
 
SimplificationFeature::Role mesh::native_adapter::qt (n::SimplificationFeature::Role v)
 Cast to SimplificationFeature::Role, whose enumerators match the native enum in name and order.
 
n::MeshResult mesh::native_adapter::native (const MeshResult &m)
 View a MeshResult as a meshkit::plan::MeshResult without copying its arrays.
 
n::SizeFieldOptions mesh::native_adapter::native (const SizeFieldOptions &o)
 Copy SizeFieldOptions into meshkit::plan::SizeFieldOptions; one-way, with no qt() counterpart.
 
n::PatchLimits mesh::native_adapter::native (const PatchLimits &o)
 Convert PatchLimits to meshkit::plan::PatchLimits; one-way, with no qt() counterpart.
 
n::QuadPlanningOptions mesh::native_adapter::native (const QuadPlanningOptions &o)
 Convert QuadPlanningOptions to meshkit::plan::QuadPlanningOptions; one-way, with no qt() counterpart.