Skip to main content

Module mesh_hidden_lines

Module mesh_hidden_lines 

Source
Expand description

Hidden-line drawings (orthographic and perspective) and visible face regions (orthographic) of triangle meshes.

The contracts and their types (ADR 0090, ADR 0094). The exact scalar providers arrive with the hidden-lines-provider feature, or a caller supplies its own. The contract is part of discrete; application adds the providers and Application::hidden_lines (ADR 0105).

Modules§

conformance
Shared conformance checks for portable hidden-line providers.

Structs§

EdgeSelection
Which edges to draw.
FaceGroup
Caller-chosen id of a set of triangles that share one surface pattern.
HiddenLineError
A refused hidden-line request: the GeomError and, when one input mesh is at fault, which.
HiddenLineEvidence
Auditable counts for one hidden-line operation.
HiddenLineLimits
Hard bounds for one hidden-line request.
HiddenLineMesh
One input mesh with its identity and role.
HiddenLineOutcome
Image-space segments plus evidence.
HiddenLineRequest
One hidden-line request.
HiddenLineSegment
A maximal positive-length piece of one source edge with one visibility.
MeshId
Caller-chosen identity of one input mesh, echoed in every segment and refusal that concerns it. Ids must be unique within a request.
RefusedMesh
One input mesh that the per-mesh audit refuses, with the reason.
ScalarHiddenLines
Reference provider: visibility decided exactly in the view’s frame. Portable exact hidden-line provider for orthographic and perspective views.
ScalarVisibleFaces
Reference provider: visible face regions decided exactly in the view’s frame. Portable exact orthographic visible-face provider.
SourceEdge
A source mesh edge.
View
A view: orthographic by default, or perspective (see ViewProjection).
VisibleFaceEvidence
Auditable counts for one visible-face operation.
VisibleFaceLimits
Hard bounds for one visible-face request.
VisibleFaceOutcome
Visible regions plus evidence.
VisibleFaceRequest
One visible-face request.
VisibleRegion
A maximal region of the image where one source is frontmost.

Enums§

EdgeKind
Why an edge is drawn.
FaceGroups
The face groups of one mesh.
FaceSource
What a visible region is a region of.
HiddenLineSource
Provenance of a hidden-line drawing.
MeshRole
How an input mesh occludes and whether it is capped by a near plane.
ViewProjection
How a view maps model points to the image.
Visibility
Whether a piece of an edge can be seen.

Constants§

CAPABILITY_ID
FACES_CAPABILITY_ID
Capability proven by implementing MeshVisibleFaces (ADR 0094).

Traits§

MeshHiddenLines
Provider for deterministic hidden-line drawings of triangle meshes.
MeshVisibleFaces
Provider for deterministic visible-face regions of triangle meshes.

Type Aliases§

OrthographicViewDeprecated
The former name of View, from when every view was orthographic (ADR 0107).