scimesh 0.3.4
Headless CPU-only 3D software renderer for scientific mesh visualization
Loading...
Searching...
No Matches
scimesh::LineNodeRef Struct Reference

A non-owning reference to one line layer in a scene, together with its placement transform (and optional name). More...

#include <lines.h>

Collaboration diagram for scimesh::LineNodeRef:

Public Attributes

const LineLayer * layer = nullptr
 Pointer to the owned layer (never null for a valid node).
 
Mat4 transform = Mat4(1.0f)
 Model matrix placing the lines in world space.
 
std::string name
 Optional node name (used by exporters / debugging).
 

Detailed Description

A non-owning reference to one line layer in a scene, together with its placement transform (and optional name).

The line layer counterpart of SceneNodeRef.

See also
Scene::line_nodes(), Scene::add_lines()

Definition at line 153 of file lines.h.

Member Data Documentation

◆ layer

const LineLayer* scimesh::LineNodeRef::layer = nullptr

Pointer to the owned layer (never null for a valid node).

Definition at line 154 of file lines.h.

◆ name

std::string scimesh::LineNodeRef::name

Optional node name (used by exporters / debugging).

Definition at line 156 of file lines.h.

◆ transform

Mat4 scimesh::LineNodeRef::transform = Mat4(1.0f)

Model matrix placing the lines in world space.

Definition at line 155 of file lines.h.


The documentation for this struct was generated from the following file: